| Index: src/mips/code-stubs-mips.cc
|
| diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc
|
| index ff157389b04aab286965791132e4091202a157a2..b536209c1952fcaf02594f4269bb7105de5f27c9 100644
|
| --- a/src/mips/code-stubs-mips.cc
|
| +++ b/src/mips/code-stubs-mips.cc
|
| @@ -649,7 +649,7 @@ void DoubleToIStub::Generate(MacroAssembler* masm) {
|
| }
|
|
|
|
|
| -bool WriteInt32ToHeapNumberStub::IsPregenerated() {
|
| +bool WriteInt32ToHeapNumberStub::IsPregenerated(Isolate* isolate) {
|
| // These variants are compiled ahead of time. See next method.
|
| if (the_int_.is(a1) &&
|
| the_heap_number_.is(v0) &&
|
| @@ -2723,8 +2723,8 @@ bool CEntryStub::NeedsImmovableCode() {
|
| }
|
|
|
|
|
| -bool CEntryStub::IsPregenerated() {
|
| - return (!save_doubles_ || ISOLATE->fp_stubs_generated()) &&
|
| +bool CEntryStub::IsPregenerated(Isolate* isolate) {
|
| + return (!save_doubles_ || isolate->fp_stubs_generated()) &&
|
| result_size_ == 1;
|
| }
|
|
|
| @@ -6554,8 +6554,6 @@ static const AheadOfTimeWriteBarrierStubList kAheadOfTime[] = {
|
| // Also used in StoreIC::GenerateNormal via GenerateDictionaryStore.
|
| // Also used in KeyedStoreIC::GenerateGeneric.
|
| { REG(a3), REG(t0), REG(t1), EMIT_REMEMBERED_SET },
|
| - // Used in CompileStoreGlobal.
|
| - { REG(t0), REG(a1), REG(a2), OMIT_REMEMBERED_SET },
|
| // Used in StoreStubCompiler::CompileStoreField via GenerateStoreField.
|
| { REG(a1), REG(a2), REG(a3), EMIT_REMEMBERED_SET },
|
| { REG(a3), REG(a2), REG(a1), EMIT_REMEMBERED_SET },
|
| @@ -6587,7 +6585,7 @@ static const AheadOfTimeWriteBarrierStubList kAheadOfTime[] = {
|
| #undef REG
|
|
|
|
|
| -bool RecordWriteStub::IsPregenerated() {
|
| +bool RecordWriteStub::IsPregenerated(Isolate* isolate) {
|
| for (const AheadOfTimeWriteBarrierStubList* entry = kAheadOfTime;
|
| !entry->object.is(no_reg);
|
| entry++) {
|
| @@ -6963,6 +6961,9 @@ void ProfileEntryHookStub::Generate(MacroAssembler* masm) {
|
| #else
|
| // Under the simulator we need to indirect the entry hook through a
|
| // trampoline function at a known address.
|
| + // It additionally takes an isolate as a third parameter.
|
| + __ li(a2, Operand(ExternalReference::isolate_address(masm->isolate())));
|
| +
|
| ApiFunction dispatcher(FUNCTION_ADDR(EntryHookTrampoline));
|
| __ li(at, Operand(ExternalReference(&dispatcher,
|
| ExternalReference::BUILTIN_CALL,
|
|
|