]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/Type.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of github.com:mquinson/simgrid
[simgrid.git] / src / mc / Type.hpp
index 287a6794b97b51fa9bbb64b5972f698cd6f9650b..7e68c5432fe05649798001740ae5eed00d5fb61e 100644 (file)
@@ -59,13 +59,26 @@ public:
 
   void offset(int new_offset)
   {
-    Dwarf_Op op;
+    DwarfInstruction op;
     op.atom = DW_OP_plus_uconst;
     op.number = new_offset;
     this->location_expression = { op };
   }
 };
 
+inline
+Type::Type()
+{
+  this->type = 0;
+  this->id = 0;
+  this->byte_size = 0;
+  this->element_count = 0;
+  this->is_pointer_type = 0;
+  this->type_id = 0;
+  this->subtype = nullptr;
+  this->full_type = nullptr;
+}
+
 }
 }