Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 3398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3409 WriteInt32ToHeapNumberStub::GenerateFixedRegStubsAheadOfTime(); | 3409 WriteInt32ToHeapNumberStub::GenerateFixedRegStubsAheadOfTime(); |
| 3410 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(); | 3410 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(); |
| 3411 RecordWriteStub::GenerateFixedRegStubsAheadOfTime(); | 3411 RecordWriteStub::GenerateFixedRegStubsAheadOfTime(); |
| 3412 } | 3412 } |
| 3413 | 3413 |
| 3414 | 3414 |
| 3415 void CodeStub::GenerateFPStubs() { | 3415 void CodeStub::GenerateFPStubs() { |
| 3416 CEntryStub save_doubles(1, kSaveFPRegs); | 3416 CEntryStub save_doubles(1, kSaveFPRegs); |
| 3417 Handle<Code> code = save_doubles.GetCode(); | 3417 Handle<Code> code = save_doubles.GetCode(); |
| 3418 code->set_is_pregenerated(true); | 3418 code->set_is_pregenerated(true); |
| 3419 StoreBufferOverflowStub stub2(kSaveFPRegs); | |
|
Michael Starzinger
2011/09/28 13:05:45
Nit of the day: Since there is no stub1 in this sc
| |
| 3420 stub2.GetCode()->set_is_pregenerated(true); | |
| 3419 code->GetIsolate()->set_fp_stubs_generated(true); | 3421 code->GetIsolate()->set_fp_stubs_generated(true); |
| 3420 } | 3422 } |
| 3421 | 3423 |
| 3422 | 3424 |
| 3423 void CEntryStub::GenerateAheadOfTime() { | 3425 void CEntryStub::GenerateAheadOfTime() { |
| 3424 CEntryStub stub(1, kDontSaveFPRegs); | 3426 CEntryStub stub(1, kDontSaveFPRegs); |
| 3425 Handle<Code> code = stub.GetCode(); | 3427 Handle<Code> code = stub.GetCode(); |
| 3426 code->set_is_pregenerated(true); | 3428 code->set_is_pregenerated(true); |
| 3427 } | 3429 } |
| 3428 | 3430 |
| (...skipping 3451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 6880 return true; | 6882 return true; |
| 6881 } | 6883 } |
| 6882 } | 6884 } |
| 6883 return false; | 6885 return false; |
| 6884 } | 6886 } |
| 6885 | 6887 |
| 6886 | 6888 |
| 6887 void StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime() { | 6889 void StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime() { |
| 6888 StoreBufferOverflowStub stub1(kDontSaveFPRegs); | 6890 StoreBufferOverflowStub stub1(kDontSaveFPRegs); |
| 6889 stub1.GetCode()->set_is_pregenerated(true); | 6891 stub1.GetCode()->set_is_pregenerated(true); |
| 6890 StoreBufferOverflowStub stub2(kSaveFPRegs); | |
| 6891 stub2.GetCode()->set_is_pregenerated(true); | |
| 6892 } | 6892 } |
| 6893 | 6893 |
| 6894 | 6894 |
| 6895 void RecordWriteStub::GenerateFixedRegStubsAheadOfTime() { | 6895 void RecordWriteStub::GenerateFixedRegStubsAheadOfTime() { |
| 6896 for (AheadOfTimeWriteBarrierStubList* entry = kAheadOfTime; | 6896 for (AheadOfTimeWriteBarrierStubList* entry = kAheadOfTime; |
| 6897 !entry->object.is(no_reg); | 6897 !entry->object.is(no_reg); |
| 6898 entry++) { | 6898 entry++) { |
| 6899 RecordWriteStub stub(entry->object, | 6899 RecordWriteStub stub(entry->object, |
| 6900 entry->value, | 6900 entry->value, |
| 6901 entry->address, | 6901 entry->address, |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 7095 | 7095 |
| 7096 // Fall through when we need to inform the incremental marker. | 7096 // Fall through when we need to inform the incremental marker. |
| 7097 } | 7097 } |
| 7098 | 7098 |
| 7099 | 7099 |
| 7100 #undef __ | 7100 #undef __ |
| 7101 | 7101 |
| 7102 } } // namespace v8::internal | 7102 } } // namespace v8::internal |
| 7103 | 7103 |
| 7104 #endif // V8_TARGET_ARCH_ARM | 7104 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |