aboutsummaryrefslogtreecommitdiffstats
path: root/sem_stmts.adb
diff options
context:
space:
mode:
authorgingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2005-11-01 03:04:50 +0000
committergingold <gingold@b72b5c32-5f01-0410-b925-b5c7b92870f7>2005-11-01 03:04:50 +0000
commitefb30b021679ac1334e1d4fdffa073eaaa082a51 (patch)
tree662fd4ed6a0ef3fb8e0f2e214d676f5720416c04 /sem_stmts.adb
parent1f7fba5473ed7e609d46ee9b75b738be92a28b86 (diff)
downloadghdl-efb30b021679ac1334e1d4fdffa073eaaa082a51.tar.gz
ghdl-efb30b021679ac1334e1d4fdffa073eaaa082a51.tar.bz2
ghdl-efb30b021679ac1334e1d4fdffa073eaaa082a51.zip
update: support of amd64 + more optimizations
Diffstat (limited to 'sem_stmts.adb')
-rw-r--r--sem_stmts.adb8
1 files changed, 5 insertions, 3 deletions
diff --git a/sem_stmts.adb b/sem_stmts.adb
index b0e5b3c86..4357065d1 100644
--- a/sem_stmts.adb
+++ b/sem_stmts.adb
@@ -19,12 +19,13 @@ with Errorout; use Errorout;
with Types; use Types;
with Flags;
with Sem_Specs; use Sem_Specs;
+with Std_Package; use Std_Package;
with Sem; use Sem;
with Sem_Decls; use Sem_Decls;
with Sem_Expr; use Sem_Expr;
-with Std_Package; use Std_Package;
with Sem_Names; use Sem_Names;
with Sem_Scopes; use Sem_Scopes;
+with Sem_Types;
with Std_Names;
with Evaluation; use Evaluation;
with Iirs_Utils; use Iirs_Utils;
@@ -465,6 +466,7 @@ package body Sem_Stmts is
if Target /= Null_Iir then
Set_Target (Stmt, Target);
Check_Target (Stmt, Target);
+ Sem_Types.Set_Type_Has_Signal (Get_Type (Target));
else
Ok := False;
end if;
@@ -1214,7 +1216,7 @@ package body Sem_Stmts is
-- Sem declarations
Sem_Sequential_Labels (Get_Sequential_Statement_Chain (Body_Parent));
- Sem_Declaration_Chain (Body_Parent);
+ Sem_Declaration_Chain (Body_Parent, False);
Sem_Specification_Chain (Body_Parent, Null_Iir);
-- Sem statements.
@@ -1807,7 +1809,7 @@ package body Sem_Stmts is
if Sem_Decls then
Sem_Labels_Chain (Blk);
- Sem_Declaration_Chain (Blk);
+ Sem_Declaration_Chain (Blk, False);
end if;
Sem_Concurrent_Statement_Chain (Blk, False);