Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 858dbf4343ef64b74cd2324c310cfe04e7392928..7f23886ec52b889ed205ffa3d79d9588b701954b 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -2779,13 +2779,13 @@ bool Heap::CreateApiObjects() { |
void Heap::CreateJSEntryStub() { |
- JSEntryStub stub; |
+ JSEntryStub stub(isolate()); |
set_js_entry_code(*stub.GetCode(isolate())); |
} |
void Heap::CreateJSConstructEntryStub() { |
- JSConstructEntryStub stub; |
+ JSConstructEntryStub stub(isolate()); |
set_js_construct_entry_code(*stub.GetCode(isolate())); |
} |