| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index 9028989b8768440f1d36eaf479cc3cafe394d5f1..b6ef3f58dcadb70b735ac2914cd54464c77820ab 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -2689,13 +2689,13 @@ bool Heap::CreateApiObjects() {
|
|
|
| void Heap::CreateJSEntryStub() {
|
| JSEntryStub stub;
|
| - set_js_entry_code(*stub.GetCode());
|
| + set_js_entry_code(*stub.GetCode(isolate()));
|
| }
|
|
|
|
|
| void Heap::CreateJSConstructEntryStub() {
|
| JSConstructEntryStub stub;
|
| - set_js_construct_entry_code(*stub.GetCode());
|
| + set_js_construct_entry_code(*stub.GetCode(isolate()));
|
| }
|
|
|
|
|
| @@ -2720,7 +2720,7 @@ void Heap::CreateFixedStubs() {
|
| // create them if we need them during the creation of another stub.
|
| // Stub creation mixes raw pointers and handles in an unsafe manner so
|
| // we cannot create stubs while we are creating stubs.
|
| - CodeStub::GenerateStubsAheadOfTime();
|
| + CodeStub::GenerateStubsAheadOfTime(isolate());
|
| }
|
|
|
|
|
|
|