diff options
Diffstat (limited to 'vm.d')
| -rw-r--r-- | vm.d | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -66,7 +66,7 @@ class VM { Value peekA(int offset) { if (offset >= this.aTop) { - writefln("offset of %d greater than stack size %d", offset, this.aTop); + writefln("peekA() offset of %d greater than stack size %d", offset, this.aTop); } return this.aStack[this.aTop - offset - 1]; } @@ -91,7 +91,7 @@ class VM { Value peekB(int offset) { if (offset >= this.bTop) { - writefln("offset of %d greater than stack size %d", offset, this.bTop); + writefln("peekB() offset of %d greater than stack size %d", offset, this.bTop); } return this.bStack[this.bTop - offset]; //return this.bStack[this.bTop - offset - 1]; |
