OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 6942 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6953 } | 6953 } |
6954 } | 6954 } |
6955 return false; | 6955 return false; |
6956 } | 6956 } |
6957 | 6957 |
6958 | 6958 |
6959 void StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime( | 6959 void StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime( |
6960 Isolate* isolate) { | 6960 Isolate* isolate) { |
6961 StoreBufferOverflowStub stub1(kDontSaveFPRegs); | 6961 StoreBufferOverflowStub stub1(kDontSaveFPRegs); |
6962 stub1.GetCode(isolate)->set_is_pregenerated(true); | 6962 stub1.GetCode(isolate)->set_is_pregenerated(true); |
| 6963 // Hydrogen code stubs need stub2 at snapshot time. |
| 6964 StoreBufferOverflowStub stub2(kSaveFPRegs); |
| 6965 stub2.GetCode(isolate)->set_is_pregenerated(true); |
6963 } | 6966 } |
6964 | 6967 |
6965 | 6968 |
6966 void RecordWriteStub::GenerateFixedRegStubsAheadOfTime(Isolate* isolate) { | 6969 void RecordWriteStub::GenerateFixedRegStubsAheadOfTime(Isolate* isolate) { |
6967 for (const AheadOfTimeWriteBarrierStubList* entry = kAheadOfTime; | 6970 for (const AheadOfTimeWriteBarrierStubList* entry = kAheadOfTime; |
6968 !entry->object.is(no_reg); | 6971 !entry->object.is(no_reg); |
6969 entry++) { | 6972 entry++) { |
6970 RecordWriteStub stub(entry->object, | 6973 RecordWriteStub stub(entry->object, |
6971 entry->value, | 6974 entry->value, |
6972 entry->address, | 6975 entry->address, |
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7608 __ bind(&fast_elements_case); | 7611 __ bind(&fast_elements_case); |
7609 GenerateCase(masm, FAST_ELEMENTS); | 7612 GenerateCase(masm, FAST_ELEMENTS); |
7610 } | 7613 } |
7611 | 7614 |
7612 | 7615 |
7613 #undef __ | 7616 #undef __ |
7614 | 7617 |
7615 } } // namespace v8::internal | 7618 } } // namespace v8::internal |
7616 | 7619 |
7617 #endif // V8_TARGET_ARCH_MIPS | 7620 #endif // V8_TARGET_ARCH_MIPS |
OLD | NEW |