Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 65ad7bc98a719347b981a8f7bd72131069b4f210..715ad09e8dcf0c0d5da061011c2bea51332a70d1 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -2691,13 +2691,13 @@ void Heap::CreateApiObjects() { |
void Heap::CreateJSEntryStub() { |
- JSEntryStub stub(isolate()); |
+ JSEntryStub stub(isolate(), StackFrame::ENTRY); |
set_js_entry_code(*stub.GetCode()); |
} |
void Heap::CreateJSConstructEntryStub() { |
- JSConstructEntryStub stub(isolate()); |
+ JSEntryStub stub(isolate(), StackFrame::ENTRY_CONSTRUCT); |
set_js_construct_entry_code(*stub.GetCode()); |
} |