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/code-stubs.h" | 9 #include "src/code-stubs.h" |
10 #include "src/hydrogen-osr.h" | 10 #include "src/hydrogen-osr.h" |
11 #include "src/stub-cache.h" | |
12 #include "src/x64/lithium-codegen-x64.h" | 11 #include "src/x64/lithium-codegen-x64.h" |
13 | 12 |
14 namespace v8 { | 13 namespace v8 { |
15 namespace internal { | 14 namespace internal { |
16 | 15 |
17 | 16 |
18 // When invoking builtins, we need to record the safepoint in the middle of | 17 // When invoking builtins, we need to record the safepoint in the middle of |
19 // the invoke instruction sequence generated by the macro assembler. | 18 // the invoke instruction sequence generated by the macro assembler. |
20 class SafepointGenerator V8_FINAL : public CallWrapper { | 19 class SafepointGenerator V8_FINAL : public CallWrapper { |
21 public: | 20 public: |
(...skipping 5830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5852 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 5851 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
5853 RecordSafepoint(Safepoint::kNoLazyDeopt); | 5852 RecordSafepoint(Safepoint::kNoLazyDeopt); |
5854 } | 5853 } |
5855 | 5854 |
5856 | 5855 |
5857 #undef __ | 5856 #undef __ |
5858 | 5857 |
5859 } } // namespace v8::internal | 5858 } } // namespace v8::internal |
5860 | 5859 |
5861 #endif // V8_TARGET_ARCH_X64 | 5860 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |