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/stub-cache.h" | 11 #include "src/stub-cache.h" |
11 #include "src/hydrogen-osr.h" | |
12 | 12 |
13 namespace v8 { | 13 namespace v8 { |
14 namespace internal { | 14 namespace internal { |
15 | 15 |
16 | 16 |
17 class SafepointGenerator V8_FINAL : public CallWrapper { | 17 class SafepointGenerator V8_FINAL : public CallWrapper { |
18 public: | 18 public: |
19 SafepointGenerator(LCodeGen* codegen, | 19 SafepointGenerator(LCodeGen* codegen, |
20 LPointerMap* pointers, | 20 LPointerMap* pointers, |
21 Safepoint::DeoptMode mode) | 21 Safepoint::DeoptMode mode) |
(...skipping 6030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6052 Handle<ScopeInfo> scope_info = instr->scope_info(); | 6052 Handle<ScopeInfo> scope_info = instr->scope_info(); |
6053 __ Push(scope_info); | 6053 __ Push(scope_info); |
6054 __ Push(ToRegister(instr->function())); | 6054 __ Push(ToRegister(instr->function())); |
6055 CallRuntime(Runtime::kHiddenPushBlockContext, 2, instr); | 6055 CallRuntime(Runtime::kHiddenPushBlockContext, 2, instr); |
6056 RecordSafepoint(Safepoint::kNoLazyDeopt); | 6056 RecordSafepoint(Safepoint::kNoLazyDeopt); |
6057 } | 6057 } |
6058 | 6058 |
6059 | 6059 |
6060 | 6060 |
6061 } } // namespace v8::internal | 6061 } } // namespace v8::internal |
OLD | NEW |