| 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_IA32 | 7 #if V8_TARGET_ARCH_IA32 |
| 8 | 8 |
| 9 #include "src/code-stubs.h" | 9 #include "src/code-stubs.h" |
| 10 #include "src/codegen.h" | 10 #include "src/codegen.h" |
| 11 #include "src/deoptimizer.h" | 11 #include "src/deoptimizer.h" |
| 12 #include "src/hydrogen-osr.h" | 12 #include "src/hydrogen-osr.h" |
| 13 #include "src/ia32/lithium-codegen-ia32.h" | 13 #include "src/ia32/lithium-codegen-ia32.h" |
| 14 #include "src/ic.h" | |
| 15 #include "src/stub-cache.h" | |
| 16 | 14 |
| 17 namespace v8 { | 15 namespace v8 { |
| 18 namespace internal { | 16 namespace internal { |
| 19 | 17 |
| 20 // When invoking builtins, we need to record the safepoint in the middle of | 18 // When invoking builtins, we need to record the safepoint in the middle of |
| 21 // the invoke instruction sequence generated by the macro assembler. | 19 // the invoke instruction sequence generated by the macro assembler. |
| 22 class SafepointGenerator V8_FINAL : public CallWrapper { | 20 class SafepointGenerator V8_FINAL : public CallWrapper { |
| 23 public: | 21 public: |
| 24 SafepointGenerator(LCodeGen* codegen, | 22 SafepointGenerator(LCodeGen* codegen, |
| 25 LPointerMap* pointers, | 23 LPointerMap* pointers, |
| (...skipping 5649 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5675 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 5673 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
| 5676 RecordSafepoint(Safepoint::kNoLazyDeopt); | 5674 RecordSafepoint(Safepoint::kNoLazyDeopt); |
| 5677 } | 5675 } |
| 5678 | 5676 |
| 5679 | 5677 |
| 5680 #undef __ | 5678 #undef __ |
| 5681 | 5679 |
| 5682 } } // namespace v8::internal | 5680 } } // namespace v8::internal |
| 5683 | 5681 |
| 5684 #endif // V8_TARGET_ARCH_IA32 | 5682 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |