From 6700f9f2044b51e76868764f451ede7b1cb24b2d Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 12 Mar 2016 19:52:10 -0800 Subject: 2765 Get rid of a local variable that was only serving to render unreadable the code for reclaiming allocated memory. --- 031address.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '031address.cc') diff --git a/031address.cc b/031address.cc index c4228fdc..bdce2fe8 100644 --- a/031address.cc +++ b/031address.cc @@ -10,7 +10,7 @@ def main [ ] +mem: storing 34 in location 3 -:(before "long long int base = x.value" following "vector read_memory(reagent x)") +:(before "End Preprocess read_memory(x)") canonize(x); //: similarly, write to addresses pointing at other locations using the @@ -22,7 +22,7 @@ def main [ ] +mem: storing 34 in location 2 -:(before "long long int base = x.value" following "void write_memory(reagent x, const vector& data)") +:(before "End Preprocess write_memory(x)") canonize(x); if (x.value == 0) { raise << "can't write to location 0 in '" << to_string(current_instruction()) << "'\n" << end(); -- cgit 1.4.1-2-gfad0