| 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/base/bits.h" | 9 #include "src/base/bits.h" |
| 10 #include "src/code-factory.h" | 10 #include "src/code-factory.h" |
| 11 #include "src/code-stubs.h" | 11 #include "src/code-stubs.h" |
| 12 #include "src/hydrogen-osr.h" | 12 #include "src/hydrogen-osr.h" |
| 13 #include "src/ic/ic.h" |
| 13 #include "src/ic/stub-cache.h" | 14 #include "src/ic/stub-cache.h" |
| 14 | 15 |
| 15 namespace v8 { | 16 namespace v8 { |
| 16 namespace internal { | 17 namespace internal { |
| 17 | 18 |
| 18 | 19 |
| 19 class SafepointGenerator FINAL : public CallWrapper { | 20 class SafepointGenerator FINAL : public CallWrapper { |
| 20 public: | 21 public: |
| 21 SafepointGenerator(LCodeGen* codegen, | 22 SafepointGenerator(LCodeGen* codegen, |
| 22 LPointerMap* pointers, | 23 LPointerMap* pointers, |
| (...skipping 6031 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6054 Handle<ScopeInfo> scope_info = instr->scope_info(); | 6055 Handle<ScopeInfo> scope_info = instr->scope_info(); |
| 6055 __ Push(scope_info); | 6056 __ Push(scope_info); |
| 6056 __ Push(ToRegister(instr->function())); | 6057 __ Push(ToRegister(instr->function())); |
| 6057 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 6058 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
| 6058 RecordSafepoint(Safepoint::kNoLazyDeopt); | 6059 RecordSafepoint(Safepoint::kNoLazyDeopt); |
| 6059 } | 6060 } |
| 6060 | 6061 |
| 6061 | 6062 |
| 6062 | 6063 |
| 6063 } } // namespace v8::internal | 6064 } } // namespace v8::internal |
| OLD | NEW |