about summary refs log tree commit diff stats
path: root/044space.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-08-28 23:21:48 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-08-28 23:25:21 -0700
commit6c1376f8307a3c7b98dfd5ef09670bd15c05f399 (patch)
tree7baa415602234e3619a710f4c23907666ef4b716 /044space.cc
parentc769b878f65247fff2f4dabaf7948709ff1dcadb (diff)
downloadmu-6c1376f8307a3c7b98dfd5ef09670bd15c05f399.tar.gz
2095
Finally terminate the experiment of keeping debug prints around. I'm
also going to give up on maintaining counts.

What we really need is two kinds of tracing:
  a) For tests, just the domain-specific facts, organized by labels.
  b) For debugging, just transient dumps to stdout.
b) only works if stdout is clean by default.

Hmm, I think this means 'stash' should be the transient kind of trace.
Diffstat (limited to '044space.cc')
-rw-r--r--044space.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/044space.cc b/044space.cc
index 8331dabe..71cd4196 100644
--- a/044space.cc
+++ b/044space.cc
@@ -49,7 +49,6 @@ default_space = 0;
 reagent r = absolutize(x);
 :(code)
 reagent absolutize(reagent x) {
-//?   cout << "absolutize " << x.to_string() << '\n'; //? 4
   if (is_raw(x) || is_dummy(x)) return x;
   if (x.name == "default-space") return x;
   if (!x.initialized) {
@@ -203,7 +202,6 @@ long long int space_base(const reagent& x) {
 
 long long int address(long long int offset, long long int base) {
   if (base == 0) return offset;  // raw
-//?   cout << base << '\n'; //? 2
   if (offset >= static_cast<long long int>(Memory[base])) {
     // todo: test
     raise << "location " << offset << " is out of bounds " << Memory[base] << " at " << base << '\n' << end();