OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #if V8_TARGET_ARCH_X87 | 7 #if V8_TARGET_ARCH_X87 |
8 | 8 |
9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
(...skipping 2108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2119 void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) { | 2119 void CodeStub::GenerateStubsAheadOfTime(Isolate* isolate) { |
2120 CEntryStub::GenerateAheadOfTime(isolate); | 2120 CEntryStub::GenerateAheadOfTime(isolate); |
2121 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); | 2121 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); |
2122 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); | 2122 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); |
2123 // It is important that the store buffer overflow stubs are generated first. | 2123 // It is important that the store buffer overflow stubs are generated first. |
2124 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 2124 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
2125 CreateAllocationSiteStub::GenerateAheadOfTime(isolate); | 2125 CreateAllocationSiteStub::GenerateAheadOfTime(isolate); |
2126 CreateWeakCellStub::GenerateAheadOfTime(isolate); | 2126 CreateWeakCellStub::GenerateAheadOfTime(isolate); |
2127 BinaryOpICStub::GenerateAheadOfTime(isolate); | 2127 BinaryOpICStub::GenerateAheadOfTime(isolate); |
2128 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate); | 2128 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate); |
| 2129 StoreFastElementStub::GenerateAheadOfTime(isolate); |
2129 } | 2130 } |
2130 | 2131 |
2131 | 2132 |
2132 void CodeStub::GenerateFPStubs(Isolate* isolate) { | 2133 void CodeStub::GenerateFPStubs(Isolate* isolate) { |
2133 CEntryStub save_doubles(isolate, 1, kSaveFPRegs); | 2134 CEntryStub save_doubles(isolate, 1, kSaveFPRegs); |
2134 // Stubs might already be in the snapshot, detect that and don't regenerate, | 2135 // Stubs might already be in the snapshot, detect that and don't regenerate, |
2135 // which would lead to code stub initialization state being messed up. | 2136 // which would lead to code stub initialization state being messed up. |
2136 Code* save_doubles_code; | 2137 Code* save_doubles_code; |
2137 if (!save_doubles.FindCodeInCache(&save_doubles_code)) { | 2138 if (!save_doubles.FindCodeInCache(&save_doubles_code)) { |
2138 save_doubles_code = *(save_doubles.GetCode()); | 2139 save_doubles_code = *(save_doubles.GetCode()); |
(...skipping 2924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5063 ApiParameterOperand(2), kStackSpace, nullptr, | 5064 ApiParameterOperand(2), kStackSpace, nullptr, |
5064 Operand(ebp, 7 * kPointerSize), NULL); | 5065 Operand(ebp, 7 * kPointerSize), NULL); |
5065 } | 5066 } |
5066 | 5067 |
5067 | 5068 |
5068 #undef __ | 5069 #undef __ |
5069 | 5070 |
5070 } } // namespace v8::internal | 5071 } } // namespace v8::internal |
5071 | 5072 |
5072 #endif // V8_TARGET_ARCH_X87 | 5073 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |