OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_X64 | 7 #if V8_TARGET_ARCH_X64 |
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/hydrogen-osr.h" | 12 #include "src/hydrogen-osr.h" |
| 13 #include "src/ic/ic.h" |
13 #include "src/ic/stub-cache.h" | 14 #include "src/ic/stub-cache.h" |
14 #include "src/x64/lithium-codegen-x64.h" | 15 #include "src/x64/lithium-codegen-x64.h" |
15 | 16 |
16 namespace v8 { | 17 namespace v8 { |
17 namespace internal { | 18 namespace internal { |
18 | 19 |
19 | 20 |
20 // When invoking builtins, we need to record the safepoint in the middle of | 21 // When invoking builtins, we need to record the safepoint in the middle of |
21 // the invoke instruction sequence generated by the macro assembler. | 22 // the invoke instruction sequence generated by the macro assembler. |
22 class SafepointGenerator FINAL : public CallWrapper { | 23 class SafepointGenerator FINAL : public CallWrapper { |
(...skipping 5852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5875 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 5876 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
5876 RecordSafepoint(Safepoint::kNoLazyDeopt); | 5877 RecordSafepoint(Safepoint::kNoLazyDeopt); |
5877 } | 5878 } |
5878 | 5879 |
5879 | 5880 |
5880 #undef __ | 5881 #undef __ |
5881 | 5882 |
5882 } } // namespace v8::internal | 5883 } } // namespace v8::internal |
5883 | 5884 |
5884 #endif // V8_TARGET_ARCH_X64 | 5885 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |