diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-06-24 09:16:17 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-06-24 09:18:20 -0700 |
commit | 23d3a02226973f80188e84fa5dcedb14413c5b7f (patch) | |
tree | 3c73284cb795e74d78e53b72df470cafca4c70cf /022arithmetic.cc | |
parent | 377b00b045289a3fa8e88d4b2f129d797c687e2f (diff) | |
download | mu-23d3a02226973f80188e84fa5dcedb14413c5b7f.tar.gz |
4266 - space for alloc-id in heap allocations
This has taken me almost 6 weeks :(
Diffstat (limited to '022arithmetic.cc')
-rw-r--r-- | 022arithmetic.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/022arithmetic.cc b/022arithmetic.cc index 79a314bb..ce8cf1b9 100644 --- a/022arithmetic.cc +++ b/022arithmetic.cc @@ -79,7 +79,6 @@ case SUBTRACT: { break; } for (int i = 0; i < SIZE(inst.ingredients); ++i) { - if (is_raw(inst.ingredients.at(i))) continue; // permit address offset computations in tests if (!is_mu_number(inst.ingredients.at(i))) { raise << maybe(get(Recipe, r).name) << "'subtract' requires number ingredients, but got '" << inst.ingredients.at(i).original_string << "'\n" << end(); goto finish_checking_instruction; @@ -104,10 +103,6 @@ case SUBTRACT: { products.at(0).push_back(result); break; } -:(code) -bool is_raw(const reagent& r) { - return has_property(r, "raw"); -} :(scenario subtract_literal) def main [ |