about summary refs log tree commit diff stats
path: root/003trace.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-05-15 18:06:28 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-05-15 18:13:25 -0700
commit8e1c4783692824238b2d55f8e00bd996261d521c (patch)
tree40306ed08322ebd81b21a09ee7bcdef93679fe54 /003trace.cc
parent52522c1affe8d9dd3af96b8ed806ff5c55c5d0e9 (diff)
downloadmu-8e1c4783692824238b2d55f8e00bd996261d521c.tar.gz
2965 - update refcounts when copying containers
This is hopefully quite thorough. I handle nested containers, as well as
exclusive containers that might contain addresses only when the tag has
a specific value.
Diffstat (limited to '003trace.cc')
-rw-r--r--003trace.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/003trace.cc b/003trace.cc
index 8859ae96..65f38eca 100644
--- a/003trace.cc
+++ b/003trace.cc
@@ -166,6 +166,9 @@ if (Passed && !Hide_errors && trace_count("error") > 0) {
   ++Num_failures;
 }
 
+// Just for debugging.
+#define dbg trace(0, "a")
+
 :(before "End Types")
 struct end {};
 :(before "End Tracing")