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/lithium-codegen.h" | 5 #include "src/lithium-codegen.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #include "src/v8.h" | |
10 | |
11 #if V8_TARGET_ARCH_IA32 | 9 #if V8_TARGET_ARCH_IA32 |
12 #include "src/ia32/lithium-ia32.h" // NOLINT | 10 #include "src/ia32/lithium-ia32.h" // NOLINT |
13 #include "src/ia32/lithium-codegen-ia32.h" // NOLINT | 11 #include "src/ia32/lithium-codegen-ia32.h" // NOLINT |
14 #elif V8_TARGET_ARCH_X64 | 12 #elif V8_TARGET_ARCH_X64 |
15 #include "src/x64/lithium-x64.h" // NOLINT | 13 #include "src/x64/lithium-x64.h" // NOLINT |
16 #include "src/x64/lithium-codegen-x64.h" // NOLINT | 14 #include "src/x64/lithium-codegen-x64.h" // NOLINT |
17 #elif V8_TARGET_ARCH_ARM | 15 #elif V8_TARGET_ARCH_ARM |
18 #include "src/arm/lithium-arm.h" // NOLINT | 16 #include "src/arm/lithium-arm.h" // NOLINT |
19 #include "src/arm/lithium-codegen-arm.h" // NOLINT | 17 #include "src/arm/lithium-codegen-arm.h" // NOLINT |
20 #elif V8_TARGET_ARCH_ARM64 | 18 #elif V8_TARGET_ARCH_ARM64 |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 Deoptimizer::DeoptInfo LCodeGenBase::MakeDeoptInfo( | 283 Deoptimizer::DeoptInfo LCodeGenBase::MakeDeoptInfo( |
286 LInstruction* instr, Deoptimizer::DeoptReason deopt_reason) { | 284 LInstruction* instr, Deoptimizer::DeoptReason deopt_reason) { |
287 Deoptimizer::DeoptInfo deopt_info(instr->hydrogen_value()->position(), | 285 Deoptimizer::DeoptInfo deopt_info(instr->hydrogen_value()->position(), |
288 instr->Mnemonic(), deopt_reason); | 286 instr->Mnemonic(), deopt_reason); |
289 HEnterInlined* enter_inlined = instr->environment()->entry(); | 287 HEnterInlined* enter_inlined = instr->environment()->entry(); |
290 deopt_info.inlining_id = enter_inlined ? enter_inlined->inlining_id() : 0; | 288 deopt_info.inlining_id = enter_inlined ? enter_inlined->inlining_id() : 0; |
291 return deopt_info; | 289 return deopt_info; |
292 } | 290 } |
293 } // namespace internal | 291 } // namespace internal |
294 } // namespace v8 | 292 } // namespace v8 |
OLD | NEW |