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/base/bits.h" | 9 #include "src/base/bits.h" |
10 #include "src/code-factory.h" | 10 #include "src/code-factory.h" |
11 #include "src/code-stubs.h" | 11 #include "src/code-stubs.h" |
12 #include "src/codegen.h" | 12 #include "src/codegen.h" |
13 #include "src/deoptimizer.h" | 13 #include "src/deoptimizer.h" |
14 #include "src/hydrogen-osr.h" | 14 #include "src/hydrogen-osr.h" |
15 #include "src/ia32/lithium-codegen-ia32.h" | 15 #include "src/ia32/lithium-codegen-ia32.h" |
| 16 #include "src/ic/ic.h" |
16 #include "src/ic/stub-cache.h" | 17 #include "src/ic/stub-cache.h" |
17 | 18 |
18 namespace v8 { | 19 namespace v8 { |
19 namespace internal { | 20 namespace internal { |
20 | 21 |
21 // When invoking builtins, we need to record the safepoint in the middle of | 22 // When invoking builtins, we need to record the safepoint in the middle of |
22 // the invoke instruction sequence generated by the macro assembler. | 23 // the invoke instruction sequence generated by the macro assembler. |
23 class SafepointGenerator FINAL : public CallWrapper { | 24 class SafepointGenerator FINAL : public CallWrapper { |
24 public: | 25 public: |
25 SafepointGenerator(LCodeGen* codegen, | 26 SafepointGenerator(LCodeGen* codegen, |
(...skipping 5671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5697 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 5698 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
5698 RecordSafepoint(Safepoint::kNoLazyDeopt); | 5699 RecordSafepoint(Safepoint::kNoLazyDeopt); |
5699 } | 5700 } |
5700 | 5701 |
5701 | 5702 |
5702 #undef __ | 5703 #undef __ |
5703 | 5704 |
5704 } } // namespace v8::internal | 5705 } } // namespace v8::internal |
5705 | 5706 |
5706 #endif // V8_TARGET_ARCH_IA32 | 5707 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |