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/arm/lithium-codegen-arm.h" | 7 #include "src/arm/lithium-codegen-arm.h" |
8 #include "src/arm/lithium-gap-resolver-arm.h" | 8 #include "src/arm/lithium-gap-resolver-arm.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 5862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5884 __ Push(scope_info); | 5883 __ Push(scope_info); |
5885 __ push(ToRegister(instr->function())); | 5884 __ push(ToRegister(instr->function())); |
5886 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 5885 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
5887 RecordSafepoint(Safepoint::kNoLazyDeopt); | 5886 RecordSafepoint(Safepoint::kNoLazyDeopt); |
5888 } | 5887 } |
5889 | 5888 |
5890 | 5889 |
5891 #undef __ | 5890 #undef __ |
5892 | 5891 |
5893 } } // namespace v8::internal | 5892 } } // namespace v8::internal |
OLD | NEW |