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 #include "src/arm64/lithium-codegen-arm64.h" | 7 #include "src/arm64/lithium-codegen-arm64.h" |
8 #include "src/arm64/lithium-gap-resolver-arm64.h" | 8 #include "src/arm64/lithium-gap-resolver-arm64.h" |
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 | 11 |
13 namespace v8 { | 12 namespace v8 { |
14 namespace internal { | 13 namespace internal { |
15 | 14 |
16 | 15 |
17 class SafepointGenerator V8_FINAL : public CallWrapper { | 16 class SafepointGenerator V8_FINAL : public CallWrapper { |
18 public: | 17 public: |
19 SafepointGenerator(LCodeGen* codegen, | 18 SafepointGenerator(LCodeGen* codegen, |
20 LPointerMap* pointers, | 19 LPointerMap* pointers, |
21 Safepoint::DeoptMode mode) | 20 Safepoint::DeoptMode mode) |
(...skipping 6004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6026 Handle<ScopeInfo> scope_info = instr->scope_info(); | 6025 Handle<ScopeInfo> scope_info = instr->scope_info(); |
6027 __ Push(scope_info); | 6026 __ Push(scope_info); |
6028 __ Push(ToRegister(instr->function())); | 6027 __ Push(ToRegister(instr->function())); |
6029 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 6028 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
6030 RecordSafepoint(Safepoint::kNoLazyDeopt); | 6029 RecordSafepoint(Safepoint::kNoLazyDeopt); |
6031 } | 6030 } |
6032 | 6031 |
6033 | 6032 |
6034 | 6033 |
6035 } } // namespace v8::internal | 6034 } } // namespace v8::internal |
OLD | NEW |