Index: src/arm/code-stubs-arm.cc |
=================================================================== |
--- src/arm/code-stubs-arm.cc (revision 9462) |
+++ src/arm/code-stubs-arm.cc (working copy) |
@@ -3405,6 +3405,7 @@ |
void CodeStub::GenerateStubsAheadOfTime() { |
+ CEntryStub::GenerateFixedRegStubsAheadOfTime(); |
WriteInt32ToHeapNumberStub::GenerateFixedRegStubsAheadOfTime(); |
StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(); |
RecordWriteStub::GenerateFixedRegStubsAheadOfTime(); |
@@ -3419,6 +3420,13 @@ |
} |
+void CEntryStub::GenerateFixedRegStubsAheadOfTime() { |
Vyacheslav Egorov (Chromium)
2011/09/28 12:11:27
method name is missleading. there is nothing about
|
+ CEntryStub stub(1, kDontSaveFPRegs); |
+ Handle<Code> code = stub.GetCode(); |
+ code->set_is_pregenerated(true); |
+} |
+ |
+ |
void CEntryStub::GenerateThrowTOS(MacroAssembler* masm) { |
__ Throw(r0); |
} |