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