Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines.
[simgrid.git] / src / mc / inspect / Frame.hpp
index 0d653ed..4b552f1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2019. The SimGrid Team.
+/* Copyright (c) 2007-2021. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -23,8 +23,6 @@ namespace mc {
 /** Debug information about a given function or scope within a function */
 class Frame {
 public:
-  Frame();
-
   /** Kind of scope (DW_TAG_subprogram, DW_TAG_inlined_subroutine, etc.) */
   int tag = DW_TAG_invalid;
 
@@ -32,7 +30,7 @@ public:
   std::string name;
 
   /** Range of instruction addresses for which this scope is valid */
-  simgrid::xbt::Range<std::uint64_t> range;
+  simgrid::xbt::Range<std::uint64_t> range{0, 0};
 
   simgrid::dwarf::LocationList frame_base_location;
 
@@ -58,16 +56,6 @@ public:
   void* frame_base(unw_cursor_t& unw_cursor) const;
   void remove_variable(char* name);
 };
-
-inline Frame::Frame()
-{
-  this->tag                = 0;
-  this->range              = {0, 0};
-  this->id                 = 0;
-  this->abstract_origin_id = 0;
-  this->object_info        = nullptr;
-}
-
 } // namespace mc
 } // namespace simgrid