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 2126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2137 CEntryStub::GenerateAheadOfTime(isolate); | 2137 CEntryStub::GenerateAheadOfTime(isolate); |
2138 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); | 2138 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); |
2139 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); | 2139 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); |
2140 // It is important that the store buffer overflow stubs are generated first. | 2140 // It is important that the store buffer overflow stubs are generated first. |
2141 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 2141 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
2142 CreateAllocationSiteStub::GenerateAheadOfTime(isolate); | 2142 CreateAllocationSiteStub::GenerateAheadOfTime(isolate); |
2143 CreateWeakCellStub::GenerateAheadOfTime(isolate); | 2143 CreateWeakCellStub::GenerateAheadOfTime(isolate); |
2144 BinaryOpICStub::GenerateAheadOfTime(isolate); | 2144 BinaryOpICStub::GenerateAheadOfTime(isolate); |
2145 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate); | 2145 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate); |
2146 StoreFastElementStub::GenerateAheadOfTime(isolate); | 2146 StoreFastElementStub::GenerateAheadOfTime(isolate); |
| 2147 TypeofStub::GenerateAheadOfTime(isolate); |
2147 } | 2148 } |
2148 | 2149 |
2149 | 2150 |
2150 void CodeStub::GenerateFPStubs(Isolate* isolate) { | 2151 void CodeStub::GenerateFPStubs(Isolate* isolate) { |
2151 CEntryStub save_doubles(isolate, 1, kSaveFPRegs); | 2152 CEntryStub save_doubles(isolate, 1, kSaveFPRegs); |
2152 // Stubs might already be in the snapshot, detect that and don't regenerate, | 2153 // Stubs might already be in the snapshot, detect that and don't regenerate, |
2153 // which would lead to code stub initialization state being messed up. | 2154 // which would lead to code stub initialization state being messed up. |
2154 Code* save_doubles_code; | 2155 Code* save_doubles_code; |
2155 if (!save_doubles.FindCodeInCache(&save_doubles_code)) { | 2156 if (!save_doubles.FindCodeInCache(&save_doubles_code)) { |
2156 save_doubles_code = *(save_doubles.GetCode()); | 2157 save_doubles_code = *(save_doubles.GetCode()); |
(...skipping 2921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5078 ApiParameterOperand(2), kStackSpace, nullptr, | 5079 ApiParameterOperand(2), kStackSpace, nullptr, |
5079 Operand(ebp, 7 * kPointerSize), NULL); | 5080 Operand(ebp, 7 * kPointerSize), NULL); |
5080 } | 5081 } |
5081 | 5082 |
5082 | 5083 |
5083 #undef __ | 5084 #undef __ |
5084 | 5085 |
5085 } } // namespace v8::internal | 5086 } } // namespace v8::internal |
5086 | 5087 |
5087 #endif // V8_TARGET_ARCH_X87 | 5088 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |