| 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 "hydrogen.h" | 5 #include "hydrogen.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "v8.h" | 9 #include "v8.h" |
| 10 #include "allocation-site-scopes.h" | 10 #include "allocation-site-scopes.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 #if V8_TARGET_ARCH_IA32 | 44 #if V8_TARGET_ARCH_IA32 |
| 45 #include "ia32/lithium-codegen-ia32.h" | 45 #include "ia32/lithium-codegen-ia32.h" |
| 46 #elif V8_TARGET_ARCH_X64 | 46 #elif V8_TARGET_ARCH_X64 |
| 47 #include "x64/lithium-codegen-x64.h" | 47 #include "x64/lithium-codegen-x64.h" |
| 48 #elif V8_TARGET_ARCH_ARM64 | 48 #elif V8_TARGET_ARCH_ARM64 |
| 49 #include "arm64/lithium-codegen-arm64.h" | 49 #include "arm64/lithium-codegen-arm64.h" |
| 50 #elif V8_TARGET_ARCH_ARM | 50 #elif V8_TARGET_ARCH_ARM |
| 51 #include "arm/lithium-codegen-arm.h" | 51 #include "arm/lithium-codegen-arm.h" |
| 52 #elif V8_TARGET_ARCH_MIPS | 52 #elif V8_TARGET_ARCH_MIPS |
| 53 #include "mips/lithium-codegen-mips.h" | 53 #include "mips/lithium-codegen-mips.h" |
| 54 #elif V8_TARGET_ARCH_X87 |
| 55 #include "x87/lithium-codegen-x87.h" |
| 54 #else | 56 #else |
| 55 #error Unsupported target architecture. | 57 #error Unsupported target architecture. |
| 56 #endif | 58 #endif |
| 57 | 59 |
| 58 namespace v8 { | 60 namespace v8 { |
| 59 namespace internal { | 61 namespace internal { |
| 60 | 62 |
| 61 HBasicBlock::HBasicBlock(HGraph* graph) | 63 HBasicBlock::HBasicBlock(HGraph* graph) |
| 62 : block_id_(graph->GetNextBlockID()), | 64 : block_id_(graph->GetNextBlockID()), |
| 63 graph_(graph), | 65 graph_(graph), |
| (...skipping 11747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11811 if (ShouldProduceTraceOutput()) { | 11813 if (ShouldProduceTraceOutput()) { |
| 11812 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); | 11814 isolate()->GetHTracer()->TraceHydrogen(name(), graph_); |
| 11813 } | 11815 } |
| 11814 | 11816 |
| 11815 #ifdef DEBUG | 11817 #ifdef DEBUG |
| 11816 graph_->Verify(false); // No full verify. | 11818 graph_->Verify(false); // No full verify. |
| 11817 #endif | 11819 #endif |
| 11818 } | 11820 } |
| 11819 | 11821 |
| 11820 } } // namespace v8::internal | 11822 } } // namespace v8::internal |
| OLD | NEW |