Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index 188528b6e0cb0e1eda448271c5a0213f9e1f0354..e404b5107c78b1860ef7cdea308443ea61206dee 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -150,7 +150,7 @@ static inline bool CalledAsConstructor(Isolate* isolate) { |
// Calculate the result using a full stack frame iterator and check |
// that the state of the stack is as we assume it to be in the |
// code below. |
- StackFrameIterator it; |
+ StackFrameIterator it(isolate); |
ASSERT(it.frame()->is_exit()); |
it.Advance(); |
StackFrame* frame = it.frame(); |
@@ -1206,7 +1206,7 @@ BUILTIN(ArrayConcat) { |
BUILTIN(StrictModePoisonPill) { |
- HandleScope scope; |
+ HandleScope scope(isolate); |
return isolate->Throw(*isolate->factory()->NewTypeError( |
"strict_poison_pill", HandleVector<Object>(NULL, 0))); |
} |