about summary refs log tree commit diff stats
path: root/cpp/013run
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-03 12:53:33 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-03 12:53:33 -0700
commita8007cc4839609a293908423ea37e6fc3a52d1c8 (patch)
treebe77e1e36582500d163bd491aa2d2a5741644a94 /cpp/013run
parent07d35c4af3275b32f4b2e5d870faea67c1ea6285 (diff)
downloadmu-a8007cc4839609a293908423ea37e6fc3a52d1c8.tar.gz
1011 - string-equal now working
Diffstat (limited to 'cpp/013run')
-rw-r--r--cpp/013run6
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/013run b/cpp/013run
index 180c862e..48de68d0 100644
--- a/cpp/013run
+++ b/cpp/013run
@@ -41,8 +41,9 @@ void run(routine rr) {
     size_t& pc = running_at(rr);
     // Running one instruction.
     if (instructions[pc].is_label) { ++pc; continue; }
+//?     cout << "AAA " << Trace_stream << " ^" << Trace_stream->dump_layer << "$\n"; //? 1
     trace("run") << "instruction " << recipe_name(rr) << '/' << pc;
-//?     cout << instructions[pc].operation << '\n'; //? 1
+//?     cout << "operation " << instructions[pc].operation << '\n'; //? 3
     switch (instructions[pc].operation) {
       // Primitive Recipe Implementations.
       case COPY: {
@@ -88,6 +89,9 @@ if (argc > 1) {
     fin.close();
   }
 
+  Trace_stream = new trace_stream;
+//?   Trace_stream->dump_layer = "all"; //? 1
+  transform_all();
   recipe_number r = Recipe_number[string("main")];
   if (r) run(r);
   dump_memory();