Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 5713537b5ab301076c51706d77f3eef5e5713970..f6f8b7c1e23123ffea8533c0c49bbb2ab32f1807 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())); |
} |