Index: src/ia32/code-stubs-ia32.cc |
=================================================================== |
--- src/ia32/code-stubs-ia32.cc (revision 9457) |
+++ src/ia32/code-stubs-ia32.cc (working copy) |
@@ -4424,6 +4424,7 @@ |
void CodeStub::GenerateFPStubs() { |
CEntryStub save_doubles(1, kSaveFPRegs); |
Handle<Code> code = save_doubles.GetCode(); |
+ code->set_is_pregenerated(true); |
code->GetIsolate()->set_fp_stubs_generated(true); |
} |
@@ -6667,7 +6668,7 @@ |
{ ebx, eax, edi, EMIT_REMEMBERED_SET }, |
// Used in CompileArrayPushCall. |
{ ebx, ecx, edx, EMIT_REMEMBERED_SET }, |
- // Used in CompileStoreGlobal. |
+ // Used in CompileStoreGlobal and CallFunctionStub. |
{ ebx, ecx, edx, OMIT_REMEMBERED_SET }, |
// Used in StoreStubCompiler::CompileStoreField and |
// KeyedStoreStubCompiler::CompileStoreField via GenerateStoreField. |
@@ -6704,12 +6705,12 @@ |
void StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime() { |
StoreBufferOverflowStub stub1(kDontSaveFPRegs); |
- stub1.GetCode(); |
+ stub1.GetCode()->set_is_pregenerated(true); |
CpuFeatures::TryForceFeatureScope scope(SSE2); |
if (CpuFeatures::IsSupported(SSE2)) { |
StoreBufferOverflowStub stub2(kSaveFPRegs); |
- stub2.GetCode(); |
+ stub2.GetCode()->set_is_pregenerated(true); |
} |
} |
@@ -6723,7 +6724,7 @@ |
entry->address, |
entry->action, |
kDontSaveFPRegs); |
- stub.GetCode(); |
+ stub.GetCode()->set_is_pregenerated(true); |
} |
} |