about summary refs log tree commit diff stats
path: root/030container.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-21 18:57:25 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-21 18:57:25 -0700
commit7feea75b13522c28d168a5200cfb7a89c06ad161 (patch)
tree66163d75c978eb4a13b59962470d3f26e7a7cf29 /030container.cc
parent5feb36ff8f189f5aeedd9ec3c436a3c5d90972ca (diff)
downloadmu-7feea75b13522c28d168a5200cfb7a89c06ad161.tar.gz
1417 - draft zoom levels in traces
Diffstat (limited to '030container.cc')
-rw-r--r--030container.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/030container.cc b/030container.cc
index 5eeee367..fbb0f87c 100644
--- a/030container.cc
+++ b/030container.cc
@@ -112,11 +112,11 @@ case GET: {
   for (long long int i = 0; i < offset; ++i) {
     src += size_of(Type[base_type].elements.at(i));
   }
-  trace("run") << "address to copy is " << src;
+  trace(Primitive_recipe_depth, "run") << "address to copy is " << src;
   assert(Type[base_type].kind == container);
   assert(SIZE(Type[base_type].elements) > offset);
   type_number src_type = Type[base_type].elements.at(offset).at(0);
-  trace("run") << "its type is " << src_type;
+  trace(Primitive_recipe_depth, "run") << "its type is " << src_type;
   reagent tmp;
   tmp.set_value(src);
   tmp.types.push_back(src_type);
@@ -160,7 +160,7 @@ case GET_ADDRESS: {
   for (long long int i = 0; i < offset; ++i) {
     result += size_of(Type[base_type].elements.at(i));
   }
-  trace("run") << "address to copy is " << result;
+  trace(Primitive_recipe_depth, "run") << "address to copy is " << result;
   products.resize(1);
   products.at(0).push_back(result);
   break;