Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] C++ location lists and expressions
[simgrid.git] / src / mc / mc_object_info.cpp
index e88aee0..5222260 100644 (file)
@@ -47,18 +47,11 @@ Variable::Variable()
   this->dwarf_offset = 0;
   this->global = 0;
   this->type = nullptr;
-  this->location_list = {0, nullptr};
   this->address = nullptr;
   this->start_scope = 0;
   this->object_info = nullptr;
 }
 
-Variable::~Variable()
-{
-  if (this->location_list.locations)
-    mc_dwarf_location_list_clear(&this->location_list);
-}
-
 // Frame
 
 Frame::Frame()
@@ -66,7 +59,6 @@ Frame::Frame()
   this->tag = 0;
   this->low_pc = nullptr;
   this->high_pc = nullptr;
-  this->frame_base = {0, nullptr};
   this->variables = xbt_dynar_new(
     sizeof(mc_variable_t), mc_variable_free_voidp);
   this->id = 0;
@@ -78,7 +70,6 @@ Frame::Frame()
 
 Frame::~Frame()
 {
-  mc_dwarf_location_list_clear(&(this->frame_base));
   xbt_dynar_free(&(this->variables));
   xbt_dynar_free(&(this->scopes));
 }