| 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/crankshaft/lithium-codegen.h" | 5 #include "src/crankshaft/lithium-codegen.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #if V8_TARGET_ARCH_IA32 | 9 #if V8_TARGET_ARCH_IA32 |
| 10 #include "src/crankshaft/ia32/lithium-ia32.h" // NOLINT | 10 #include "src/crankshaft/ia32/lithium-ia32.h" // NOLINT |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 #include "src/crankshaft/mips/lithium-codegen-mips.h" // NOLINT | 23 #include "src/crankshaft/mips/lithium-codegen-mips.h" // NOLINT |
| 24 #elif V8_TARGET_ARCH_MIPS64 | 24 #elif V8_TARGET_ARCH_MIPS64 |
| 25 #include "src/crankshaft/mips64/lithium-mips64.h" // NOLINT | 25 #include "src/crankshaft/mips64/lithium-mips64.h" // NOLINT |
| 26 #include "src/crankshaft/mips64/lithium-codegen-mips64.h" // NOLINT | 26 #include "src/crankshaft/mips64/lithium-codegen-mips64.h" // NOLINT |
| 27 #elif V8_TARGET_ARCH_X87 | 27 #elif V8_TARGET_ARCH_X87 |
| 28 #include "src/crankshaft/x87/lithium-x87.h" // NOLINT | 28 #include "src/crankshaft/x87/lithium-x87.h" // NOLINT |
| 29 #include "src/crankshaft/x87/lithium-codegen-x87.h" // NOLINT | 29 #include "src/crankshaft/x87/lithium-codegen-x87.h" // NOLINT |
| 30 #elif V8_TARGET_ARCH_PPC | 30 #elif V8_TARGET_ARCH_PPC |
| 31 #include "src/crankshaft/ppc/lithium-ppc.h" // NOLINT | 31 #include "src/crankshaft/ppc/lithium-ppc.h" // NOLINT |
| 32 #include "src/crankshaft/ppc/lithium-codegen-ppc.h" // NOLINT | 32 #include "src/crankshaft/ppc/lithium-codegen-ppc.h" // NOLINT |
| 33 #elif V8_TARGET_ARCH_S390 |
| 34 #include "src/crankshaft/s390/lithium-s390.h" // NOLINT |
| 35 #include "src/crankshaft/s390/lithium-codegen-s390.h" // NOLINT |
| 33 #else | 36 #else |
| 34 #error Unsupported target architecture. | 37 #error Unsupported target architecture. |
| 35 #endif | 38 #endif |
| 36 | 39 |
| 37 namespace v8 { | 40 namespace v8 { |
| 38 namespace internal { | 41 namespace internal { |
| 39 | 42 |
| 40 | 43 |
| 41 HGraph* LCodeGenBase::graph() const { | 44 HGraph* LCodeGenBase::graph() const { |
| 42 return chunk()->graph(); | 45 return chunk()->graph(); |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 Deoptimizer::DeoptInfo LCodeGenBase::MakeDeoptInfo( | 354 Deoptimizer::DeoptInfo LCodeGenBase::MakeDeoptInfo( |
| 352 LInstruction* instr, Deoptimizer::DeoptReason deopt_reason) { | 355 LInstruction* instr, Deoptimizer::DeoptReason deopt_reason) { |
| 353 Deoptimizer::DeoptInfo deopt_info(instr->hydrogen_value()->position(), | 356 Deoptimizer::DeoptInfo deopt_info(instr->hydrogen_value()->position(), |
| 354 instr->Mnemonic(), deopt_reason); | 357 instr->Mnemonic(), deopt_reason); |
| 355 HEnterInlined* enter_inlined = instr->environment()->entry(); | 358 HEnterInlined* enter_inlined = instr->environment()->entry(); |
| 356 deopt_info.inlining_id = enter_inlined ? enter_inlined->inlining_id() : 0; | 359 deopt_info.inlining_id = enter_inlined ? enter_inlined->inlining_id() : 0; |
| 357 return deopt_info; | 360 return deopt_info; |
| 358 } | 361 } |
| 359 } // namespace internal | 362 } // namespace internal |
| 360 } // namespace v8 | 363 } // namespace v8 |
| OLD | NEW |