| 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/arm64/frames-arm64.h" | 5 #include "src/arm64/frames-arm64.h" |
| 6 #include "src/arm64/lithium-codegen-arm64.h" | 6 #include "src/arm64/lithium-codegen-arm64.h" |
| 7 #include "src/arm64/lithium-gap-resolver-arm64.h" | 7 #include "src/arm64/lithium-gap-resolver-arm64.h" |
| 8 #include "src/base/bits.h" | 8 #include "src/base/bits.h" |
| 9 #include "src/code-factory.h" | 9 #include "src/code-factory.h" |
| 10 #include "src/code-stubs.h" | 10 #include "src/code-stubs.h" |
| 11 #include "src/cpu-profiler.h" | |
| 12 #include "src/hydrogen-osr.h" | 11 #include "src/hydrogen-osr.h" |
| 13 #include "src/ic/ic.h" | 12 #include "src/ic/ic.h" |
| 14 #include "src/ic/stub-cache.h" | 13 #include "src/ic/stub-cache.h" |
| 14 #include "src/profiler/cpu-profiler.h" |
| 15 | 15 |
| 16 namespace v8 { | 16 namespace v8 { |
| 17 namespace internal { | 17 namespace internal { |
| 18 | 18 |
| 19 | 19 |
| 20 class SafepointGenerator final : public CallWrapper { | 20 class SafepointGenerator final : public CallWrapper { |
| 21 public: | 21 public: |
| 22 SafepointGenerator(LCodeGen* codegen, | 22 SafepointGenerator(LCodeGen* codegen, |
| 23 LPointerMap* pointers, | 23 LPointerMap* pointers, |
| 24 Safepoint::DeoptMode mode) | 24 Safepoint::DeoptMode mode) |
| (...skipping 5987 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6012 Handle<ScopeInfo> scope_info = instr->scope_info(); | 6012 Handle<ScopeInfo> scope_info = instr->scope_info(); |
| 6013 __ Push(scope_info); | 6013 __ Push(scope_info); |
| 6014 __ Push(ToRegister(instr->function())); | 6014 __ Push(ToRegister(instr->function())); |
| 6015 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 6015 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
| 6016 RecordSafepoint(Safepoint::kNoLazyDeopt); | 6016 RecordSafepoint(Safepoint::kNoLazyDeopt); |
| 6017 } | 6017 } |
| 6018 | 6018 |
| 6019 | 6019 |
| 6020 } // namespace internal | 6020 } // namespace internal |
| 6021 } // namespace v8 | 6021 } // namespace v8 |
| OLD | NEW |