diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-05-06 13:12:38 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-05-06 13:12:38 -0700 |
commit | 5937f1af0ccf8be12ca4a02fde26734ad8380906 (patch) | |
tree | 5e1e4df68d0e62ab3087725de8a784250896bdfe | |
parent | 43b866d1997e82bfebd6c40881e33a0edd2bf340 (diff) | |
download | mu-5937f1af0ccf8be12ca4a02fde26734ad8380906.tar.gz |
2933
Can't believe I didn't run tests after 2932.
-rw-r--r-- | 035lookup.cc | 4 | ||||
-rw-r--r-- | 036refcount.cc | 2 | ||||
-rw-r--r-- | 046global.cc | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/035lookup.cc b/035lookup.cc index 62802b00..505b4ab7 100644 --- a/035lookup.cc +++ b/035lookup.cc @@ -42,7 +42,7 @@ def main [ # 1 contains 10. Skip refcount and lookup location 11. +mem: storing 34 in location 2 -:(before "End Preprocess read_memory(reagent x)") +:(before "End Preprocess read_memory(x)") canonize(x); //: similarly, write to addresses pointing at other locations using the @@ -54,7 +54,7 @@ def main [ ] +mem: storing 34 in location 11 -:(before "End Preprocess write_memory(reagent x, vector<double> data)") +:(before "End Preprocess write_memory(x, data)") canonize(x); if (x.value == 0) { raise << "can't write to location 0 in '" << to_original_string(current_instruction()) << "'\n" << end(); diff --git a/036refcount.cc b/036refcount.cc index a20e7c0e..a0088dfc 100644 --- a/036refcount.cc +++ b/036refcount.cc @@ -17,7 +17,7 @@ def main [ +run: {2: ("address" "number")} <- copy {0: "literal"} +mem: decrementing refcount of 1000: 1 -> 0 -:(before "End write_memory(reagent x) Special-cases") +:(before "End write_memory(x) Special-cases") if (is_mu_address(x)) { // compute old address of x, as well as new address we want to write in assert(scalar(data)); diff --git a/046global.cc b/046global.cc index 47706803..caab3d38 100644 --- a/046global.cc +++ b/046global.cc @@ -40,7 +40,7 @@ if (s == "global-space") return true; int global_space; :(before "End routine Constructor") global_space = 0; -:(after "Begin Preprocess write_memory(reagent x, vector<double> data)") +:(after "Begin Preprocess write_memory(x, data)") if (x.name == "global-space") { if (!scalar(data) || !x.type |