Index: src/messages.js |
diff --git a/src/messages.js b/src/messages.js |
index ca2da30472effb406677e912e6e6225dd5a175e7..ae48458433d64b2df4e30190841f13cdc329af28 100644 |
--- a/src/messages.js |
+++ b/src/messages.js |
@@ -1074,15 +1074,15 @@ function FormatErrorString(error) { |
function GetStackFrames(raw_stack) { |
var frames = new InternalArray(); |
- var non_strict_frames = raw_stack[0]; |
+ var sloppy_frames = raw_stack[0]; |
for (var i = 1; i < raw_stack.length; i += 4) { |
var recv = raw_stack[i]; |
var fun = raw_stack[i + 1]; |
var code = raw_stack[i + 2]; |
var pc = raw_stack[i + 3]; |
var pos = %FunctionGetPositionForOffset(code, pc); |
- non_strict_frames--; |
- frames.push(new CallSite(recv, fun, pos, (non_strict_frames < 0))); |
+ sloppy_frames--; |
+ frames.push(new CallSite(recv, fun, pos, (sloppy_frames < 0))); |
} |
return frames; |
} |