aboutsummaryrefslogtreecommitdiff
path: root/vm.d
diff options
context:
space:
mode:
Diffstat (limited to 'vm.d')
-rw-r--r--vm.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm.d b/vm.d
index db2d4a0..cb5dc49 100644
--- a/vm.d
+++ b/vm.d
@@ -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];