OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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/code-stubs.h" | 7 #include "src/code-stubs.h" |
8 #include "src/hydrogen-osr.h" | 8 #include "src/hydrogen-osr.h" |
9 #include "src/mips64/lithium-codegen-mips64.h" | 9 #include "src/mips64/lithium-codegen-mips64.h" |
10 #include "src/mips64/lithium-gap-resolver-mips64.h" | 10 #include "src/mips64/lithium-gap-resolver-mips64.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 5919 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5941 __ li(at, scope_info); | 5940 __ li(at, scope_info); |
5942 __ Push(at, ToRegister(instr->function())); | 5941 __ Push(at, ToRegister(instr->function())); |
5943 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 5942 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
5944 RecordSafepoint(Safepoint::kNoLazyDeopt); | 5943 RecordSafepoint(Safepoint::kNoLazyDeopt); |
5945 } | 5944 } |
5946 | 5945 |
5947 | 5946 |
5948 #undef __ | 5947 #undef __ |
5949 | 5948 |
5950 } } // namespace v8::internal | 5949 } } // namespace v8::internal |
OLD | NEW |