| 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 #if V8_TARGET_ARCH_X87 | 5 #if V8_TARGET_ARCH_X87 |
| 6 | 6 |
| 7 #include "src/code-stubs.h" | 7 #include "src/code-stubs.h" |
| 8 #include "src/api-arguments.h" | 8 #include "src/api-arguments.h" |
| 9 #include "src/base/bits.h" | 9 #include "src/base/bits.h" |
| 10 #include "src/bootstrapper.h" | 10 #include "src/bootstrapper.h" |
| (...skipping 1440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1451 CEntryStub::GenerateAheadOfTime(isolate); | 1451 CEntryStub::GenerateAheadOfTime(isolate); |
| 1452 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); | 1452 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(isolate); |
| 1453 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); | 1453 StubFailureTrampolineStub::GenerateAheadOfTime(isolate); |
| 1454 // It is important that the store buffer overflow stubs are generated first. | 1454 // It is important that the store buffer overflow stubs are generated first. |
| 1455 CommonArrayConstructorStub::GenerateStubsAheadOfTime(isolate); | 1455 CommonArrayConstructorStub::GenerateStubsAheadOfTime(isolate); |
| 1456 CreateAllocationSiteStub::GenerateAheadOfTime(isolate); | 1456 CreateAllocationSiteStub::GenerateAheadOfTime(isolate); |
| 1457 CreateWeakCellStub::GenerateAheadOfTime(isolate); | 1457 CreateWeakCellStub::GenerateAheadOfTime(isolate); |
| 1458 BinaryOpICStub::GenerateAheadOfTime(isolate); | 1458 BinaryOpICStub::GenerateAheadOfTime(isolate); |
| 1459 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate); | 1459 BinaryOpICWithAllocationSiteStub::GenerateAheadOfTime(isolate); |
| 1460 StoreFastElementStub::GenerateAheadOfTime(isolate); | 1460 StoreFastElementStub::GenerateAheadOfTime(isolate); |
| 1461 TypeofStub::GenerateAheadOfTime(isolate); | |
| 1462 } | 1461 } |
| 1463 | 1462 |
| 1464 | 1463 |
| 1465 void CodeStub::GenerateFPStubs(Isolate* isolate) { | 1464 void CodeStub::GenerateFPStubs(Isolate* isolate) { |
| 1466 CEntryStub save_doubles(isolate, 1, kSaveFPRegs); | 1465 CEntryStub save_doubles(isolate, 1, kSaveFPRegs); |
| 1467 // Stubs might already be in the snapshot, detect that and don't regenerate, | 1466 // Stubs might already be in the snapshot, detect that and don't regenerate, |
| 1468 // which would lead to code stub initialization state being messed up. | 1467 // which would lead to code stub initialization state being messed up. |
| 1469 Code* save_doubles_code; | 1468 Code* save_doubles_code; |
| 1470 if (!save_doubles.FindCodeInCache(&save_doubles_code)) { | 1469 if (!save_doubles.FindCodeInCache(&save_doubles_code)) { |
| 1471 save_doubles_code = *(save_doubles.GetCode()); | 1470 save_doubles_code = *(save_doubles.GetCode()); |
| (...skipping 3810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5282 kStackUnwindSpace, nullptr, return_value_operand, | 5281 kStackUnwindSpace, nullptr, return_value_operand, |
| 5283 NULL); | 5282 NULL); |
| 5284 } | 5283 } |
| 5285 | 5284 |
| 5286 #undef __ | 5285 #undef __ |
| 5287 | 5286 |
| 5288 } // namespace internal | 5287 } // namespace internal |
| 5289 } // namespace v8 | 5288 } // namespace v8 |
| 5290 | 5289 |
| 5291 #endif // V8_TARGET_ARCH_X87 | 5290 #endif // V8_TARGET_ARCH_X87 |
| OLD | NEW |