about summary refs log tree commit diff stats
path: root/035call.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-06 12:13:04 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-06 12:15:25 -0700
commit768bdb4dbf4e8943fe1c3fcf7f8840372ba79ec6 (patch)
treedbe277341a84707b927c322ba6ba95d9f40cf037 /035call.cc
parent4680525f84ab44e6df1b032ee4eeb7ef6ca3e466 (diff)
downloadmu-768bdb4dbf4e8943fe1c3fcf7f8840372ba79ec6.tar.gz
1293 - start porting the chessboard app over
Just to put all our new test primitives through their paces, and iron
out any kinks.

Just the one chessboard scenario is taking 1.5-2.5x all the tests we've
written so far. But we're starting from a faster baseline, that was the
point of the C++ port. I also have -O3 optimizations in my back-pocket.
Diffstat (limited to '035call.cc')
-rw-r--r--035call.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/035call.cc b/035call.cc
index 2cb40af8..c88a16db 100644
--- a/035call.cc
+++ b/035call.cc
@@ -72,7 +72,7 @@ inline const instruction& current_instruction() {
 default: {
   // not a primitive; try to look up the book of recipes
   if (Recipe.find(current_instruction().operation) == Recipe.end()) {
-    raise << "undefined operation " << current_instruction().operation << ": " << current_instruction().name << '\n';
+    raise << "undefined operation " << current_instruction().operation << ": " << current_instruction().to_string() << '\n';
     break;
   }
   Current_routine->calls.push(call(current_instruction().operation));