diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/AST.v | 3 | ||||
-rw-r--r-- | common/Mem.v | 4 |
2 files changed, 1 insertions, 6 deletions
diff --git a/common/AST.v b/common/AST.v index 13e84dd..2d20276 100644 --- a/common/AST.v +++ b/common/AST.v @@ -91,8 +91,7 @@ Inductive init_data: Type := | Init_float32: float -> init_data | Init_float64: float -> init_data | Init_space: Z -> init_data - | Init_addrof: ident -> int -> init_data (**r address of symbol + offset *) - | Init_pointer: list init_data -> init_data. + | Init_addrof: ident -> int -> init_data. (**r address of symbol + offset *) (** Whole programs consist of: - a collection of function definitions (name and description); diff --git a/common/Mem.v b/common/Mem.v index 6510828..252ee29 100644 --- a/common/Mem.v +++ b/common/Mem.v @@ -571,9 +571,6 @@ Fixpoint contents_init_data (pos: Z) (id: list init_data) {struct id}: contentma | Init_addrof s n :: id' => (* Not handled properly yet *) contents_init_data (pos + 4) id' - | Init_pointer x :: id' => - (* Not handled properly yet *) - contents_init_data (pos + 4) id' end. Definition size_init_data (id: init_data) : Z := @@ -585,7 +582,6 @@ Definition size_init_data (id: init_data) : Z := | Init_float64 _ => 8 | Init_space n => Zmax n 0 | Init_addrof _ _ => 4 - | Init_pointer _ => 4 end. Definition size_init_data_list (id: list init_data): Z := |