| 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" |
| 10 #include "src/hydrogen-osr.h" |
| 11 #include "src/stub-cache.h" |
| 9 #include "src/x64/lithium-codegen-x64.h" | 12 #include "src/x64/lithium-codegen-x64.h" |
| 10 #include "src/code-stubs.h" | |
| 11 #include "src/stub-cache.h" | |
| 12 #include "src/hydrogen-osr.h" | |
| 13 | 13 |
| 14 namespace v8 { | 14 namespace v8 { |
| 15 namespace internal { | 15 namespace internal { |
| 16 | 16 |
| 17 | 17 |
| 18 // 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 |
| 19 // the invoke instruction sequence generated by the macro assembler. | 19 // the invoke instruction sequence generated by the macro assembler. |
| 20 class SafepointGenerator V8_FINAL : public CallWrapper { | 20 class SafepointGenerator V8_FINAL : public CallWrapper { |
| 21 public: | 21 public: |
| 22 SafepointGenerator(LCodeGen* codegen, | 22 SafepointGenerator(LCodeGen* codegen, |
| (...skipping 5820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5843 CallRuntime(Runtime::kHiddenPushBlockContext, 2, instr); | 5843 CallRuntime(Runtime::kHiddenPushBlockContext, 2, instr); |
| 5844 RecordSafepoint(Safepoint::kNoLazyDeopt); | 5844 RecordSafepoint(Safepoint::kNoLazyDeopt); |
| 5845 } | 5845 } |
| 5846 | 5846 |
| 5847 | 5847 |
| 5848 #undef __ | 5848 #undef __ |
| 5849 | 5849 |
| 5850 } } // namespace v8::internal | 5850 } } // namespace v8::internal |
| 5851 | 5851 |
| 5852 #endif // V8_TARGET_ARCH_X64 | 5852 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |