| 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" | 9 #include "src/v8.h" |
| 10 | 10 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "src/arm64/lithium-codegen-arm64.h" // NOLINT | 22 #include "src/arm64/lithium-codegen-arm64.h" // NOLINT |
| 23 #elif V8_TARGET_ARCH_MIPS | 23 #elif V8_TARGET_ARCH_MIPS |
| 24 #include "src/mips/lithium-mips.h" // NOLINT | 24 #include "src/mips/lithium-mips.h" // NOLINT |
| 25 #include "src/mips/lithium-codegen-mips.h" // NOLINT | 25 #include "src/mips/lithium-codegen-mips.h" // NOLINT |
| 26 #elif V8_TARGET_ARCH_MIPS64 | 26 #elif V8_TARGET_ARCH_MIPS64 |
| 27 #include "src/mips64/lithium-mips64.h" // NOLINT | 27 #include "src/mips64/lithium-mips64.h" // NOLINT |
| 28 #include "src/mips64/lithium-codegen-mips64.h" // NOLINT | 28 #include "src/mips64/lithium-codegen-mips64.h" // NOLINT |
| 29 #elif V8_TARGET_ARCH_X87 | 29 #elif V8_TARGET_ARCH_X87 |
| 30 #include "src/x87/lithium-x87.h" // NOLINT | 30 #include "src/x87/lithium-x87.h" // NOLINT |
| 31 #include "src/x87/lithium-codegen-x87.h" // NOLINT | 31 #include "src/x87/lithium-codegen-x87.h" // NOLINT |
| 32 #elif V8_TARGET_ARCH_PPC |
| 33 #include "src/ppc/lithium-ppc.h" // NOLINT |
| 34 #include "src/ppc/lithium-codegen-ppc.h" // NOLINT |
| 32 #else | 35 #else |
| 33 #error Unsupported target architecture. | 36 #error Unsupported target architecture. |
| 34 #endif | 37 #endif |
| 35 | 38 |
| 36 namespace v8 { | 39 namespace v8 { |
| 37 namespace internal { | 40 namespace internal { |
| 38 | 41 |
| 39 | 42 |
| 40 HGraph* LCodeGenBase::graph() const { | 43 HGraph* LCodeGenBase::graph() const { |
| 41 return chunk()->graph(); | 44 return chunk()->graph(); |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 chunk_->AddDeprecationDependency(map); | 247 chunk_->AddDeprecationDependency(map); |
| 245 } | 248 } |
| 246 | 249 |
| 247 | 250 |
| 248 void LCodeGenBase::AddStabilityDependency(Handle<Map> map) { | 251 void LCodeGenBase::AddStabilityDependency(Handle<Map> map) { |
| 249 if (!map->is_stable()) return Retry(kMapBecameUnstable); | 252 if (!map->is_stable()) return Retry(kMapBecameUnstable); |
| 250 chunk_->AddStabilityDependency(map); | 253 chunk_->AddStabilityDependency(map); |
| 251 } | 254 } |
| 252 | 255 |
| 253 } } // namespace v8::internal | 256 } } // namespace v8::internal |
| OLD | NEW |