From 8c8199218f27704ae26be7ad2ad4e34f95f5221c Mon Sep 17 00:00:00 2001 From: dsmith Date: Wed, 29 Nov 2006 19:19:36 +0000 Subject: 2006-11-29 David Smith * tapsets.cxx (struct dwarf_var_expanding_copy_visitor): Added 'add_block' member variable. Constructor sets it to NULL. (dwarf_var_expanding_copy_visitor::visit_target_symbol): Fixes the problem of accessing a cached target variable in a loop. Cached target variable is assigned to a temporary variable, which can be safely access multiple times. In addition, the cached value is deleted after being read. (dwarf_derived_probe::dwarf_derived_probe): Adds in the new block of code created in visit_target_symbol() to the beginning of the derived probe. --- ChangeLog | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index a9fcf4c4..9de30f63 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,16 @@ +2006-11-29 David Smith + + * tapsets.cxx (struct dwarf_var_expanding_copy_visitor): Added + 'add_block' member variable. Constructor sets it to NULL. + (dwarf_var_expanding_copy_visitor::visit_target_symbol): Fixes the + problem of accessing a cached target variable in a loop. Cached + target variable is assigned to a temporary variable, which can be + safely access multiple times. In addition, the cached value is + deleted after being read. + (dwarf_derived_probe::dwarf_derived_probe): Adds in the new block + of code created in visit_target_symbol() to the beginning of the + derived probe. + 2006-11-28 David Smith * tapsets.cxx -- cgit