diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-02-21 23:44:06 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-02-21 23:44:06 -0800 |
commit | 94a833c7b3e7c7b206cd3deead8e16f7992526dc (patch) | |
tree | 3815c2948a859c6376fbfb13aa6737b11d732775 | |
parent | d160a8e170ed5488b91c6a9d5e46546d8132233b (diff) | |
download | mu-94a833c7b3e7c7b206cd3deead8e16f7992526dc.tar.gz |
812
-rw-r--r-- | cpp/.traces/get | 2 | ||||
-rw-r--r-- | cpp/017record | 3 |
2 files changed, 0 insertions, 5 deletions
diff --git a/cpp/.traces/get b/cpp/.traces/get index 38ec2a4c..e0a7b242 100644 --- a/cpp/.traces/get +++ b/cpp/.traces/get @@ -16,8 +16,6 @@ run/0: ingredient 0 is 0 mem/0: storing in location 13 run/0: instruction 2 run/0: ingredient 0 is 12 -run/0: base address 12 -run/0: base type is 4 run/0: ingredient 1 is 1 run/0: address to copy is 13 run/0: its type is 3 diff --git a/cpp/017record b/cpp/017record index 0626b7ad..5254e807 100644 --- a/cpp/017record +++ b/cpp/017record @@ -36,9 +36,7 @@ Next_recipe_number++; case GET: { trace("run") << "ingredient 0 is " << instructions[pc].ingredients[0].name; int base_address = to_int(instructions[pc].ingredients[0].name); - trace("run") << "base address " << base_address; int base_type = instructions[pc].ingredients[0].types[0]; - trace("run") << "base type is " << base_type; trace("run") << "ingredient 1 is " << instructions[pc].ingredients[1].name; assert(instructions[pc].ingredients[1].types.size() == 1); assert(instructions[pc].ingredients[1].types[0] == 0); // must be literal @@ -67,7 +65,6 @@ recipe main [ ] +run: instruction 2 +run: ingredient 0 is 12 -+run: base address 12 +run: ingredient 1 is 1 +run: address to copy is 13 +run: its type is 3 |