Index: src/builtins.cc |
diff --git a/src/builtins.cc b/src/builtins.cc |
index 4e5fbd3f18a596bd6b2b6901458c104f162fd834..a906ac62308a57e03be98ea7649b7fb5ba39833e 100644 |
--- a/src/builtins.cc |
+++ b/src/builtins.cc |
@@ -1647,7 +1647,7 @@ void Builtins::SetUp(Isolate* isolate, bool create_heap_objects) { |
{ |
// During startup it's OK to always allocate and defer GC to later. |
// This simplifies things because we don't need to retry. |
- AlwaysAllocateScope __scope__; |
+ AlwaysAllocateScope __scope__(isolate); |
{ MaybeObject* maybe_code = |
heap->CreateCode(desc, flags, masm.CodeObject()); |
if (!maybe_code->ToObject(&code)) { |