Index: test/mjsunit/tools/profile.js |
diff --git a/test/mjsunit/tools/profile.js b/test/mjsunit/tools/profile.js |
index 0f79aeaa83c9ffc588153329e3588838ffd5d5d8..fcd3034f4eb8cdb8c0069e37108754074a07e597 100644 |
--- a/test/mjsunit/tools/profile.js |
+++ b/test/mjsunit/tools/profile.js |
@@ -88,12 +88,12 @@ ProfileTestDriver.prototype.enter = function(funcName) { |
// Stack looks like this: [pc, caller, ..., main]. |
// Therefore, we are adding entries at the beginning. |
this.stack_.unshift(this.funcAddrs_[funcName]); |
- this.profile.recordTick(this.stack_); |
+ this.profile.recordTick(0, 0, this.stack_); |
}; |
ProfileTestDriver.prototype.stay = function() { |
- this.profile.recordTick(this.stack_); |
+ this.profile.recordTick(0, 0, this.stack_); |
}; |