OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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/base/bits.h" | 5 #include "src/base/bits.h" |
6 #include "src/code-factory.h" | 6 #include "src/code-factory.h" |
7 #include "src/code-stubs.h" | 7 #include "src/code-stubs.h" |
8 #include "src/cpu-profiler.h" | |
9 #include "src/hydrogen-osr.h" | 8 #include "src/hydrogen-osr.h" |
10 #include "src/ic/ic.h" | 9 #include "src/ic/ic.h" |
11 #include "src/ic/stub-cache.h" | 10 #include "src/ic/stub-cache.h" |
12 #include "src/ppc/lithium-codegen-ppc.h" | 11 #include "src/ppc/lithium-codegen-ppc.h" |
13 #include "src/ppc/lithium-gap-resolver-ppc.h" | 12 #include "src/ppc/lithium-gap-resolver-ppc.h" |
| 13 #include "src/profiler/cpu-profiler.h" |
14 | 14 |
15 namespace v8 { | 15 namespace v8 { |
16 namespace internal { | 16 namespace internal { |
17 | 17 |
18 | 18 |
19 class SafepointGenerator final : public CallWrapper { | 19 class SafepointGenerator final : public CallWrapper { |
20 public: | 20 public: |
21 SafepointGenerator(LCodeGen* codegen, LPointerMap* pointers, | 21 SafepointGenerator(LCodeGen* codegen, LPointerMap* pointers, |
22 Safepoint::DeoptMode mode) | 22 Safepoint::DeoptMode mode) |
23 : codegen_(codegen), pointers_(pointers), deopt_mode_(mode) {} | 23 : codegen_(codegen), pointers_(pointers), deopt_mode_(mode) {} |
(...skipping 6105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6129 __ Push(scope_info); | 6129 __ Push(scope_info); |
6130 __ push(ToRegister(instr->function())); | 6130 __ push(ToRegister(instr->function())); |
6131 CallRuntime(Runtime::kPushBlockContext, 2, instr); | 6131 CallRuntime(Runtime::kPushBlockContext, 2, instr); |
6132 RecordSafepoint(Safepoint::kNoLazyDeopt); | 6132 RecordSafepoint(Safepoint::kNoLazyDeopt); |
6133 } | 6133 } |
6134 | 6134 |
6135 | 6135 |
6136 #undef __ | 6136 #undef __ |
6137 } // namespace internal | 6137 } // namespace internal |
6138 } // namespace v8 | 6138 } // namespace v8 |
OLD | NEW |