| 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 #ifndef V8_PPC_LITHIUM_PPC_H_ | 5 #ifndef V8_PPC_LITHIUM_PPC_H_ |
| 6 #define V8_PPC_LITHIUM_PPC_H_ | 6 #define V8_PPC_LITHIUM_PPC_H_ |
| 7 | 7 |
| 8 #include "src/hydrogen.h" | 8 #include "src/hydrogen.h" |
| 9 #include "src/lithium.h" | 9 #include "src/lithium.h" |
| 10 #include "src/lithium-allocator.h" | 10 #include "src/lithium-allocator.h" |
| (...skipping 2301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2312 public: | 2312 public: |
| 2313 explicit LCheckInstanceType(LOperand* value) { inputs_[0] = value; } | 2313 explicit LCheckInstanceType(LOperand* value) { inputs_[0] = value; } |
| 2314 | 2314 |
| 2315 LOperand* value() { return inputs_[0]; } | 2315 LOperand* value() { return inputs_[0]; } |
| 2316 | 2316 |
| 2317 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") | 2317 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") |
| 2318 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) | 2318 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) |
| 2319 }; | 2319 }; |
| 2320 | 2320 |
| 2321 | 2321 |
| 2322 class LCheckMaps FINAL : public LTemplateInstruction<0, 1, 0> { | 2322 class LCheckMaps FINAL : public LTemplateInstruction<0, 1, 1> { |
| 2323 public: | 2323 public: |
| 2324 explicit LCheckMaps(LOperand* value = NULL) { inputs_[0] = value; } | 2324 explicit LCheckMaps(LOperand* value = NULL, LOperand* temp = NULL) { |
| 2325 inputs_[0] = value; |
| 2326 temps_[0] = temp; |
| 2327 } |
| 2325 | 2328 |
| 2326 LOperand* value() { return inputs_[0]; } | 2329 LOperand* value() { return inputs_[0]; } |
| 2330 LOperand* temp() { return temps_[0]; } |
| 2327 | 2331 |
| 2328 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") | 2332 DECLARE_CONCRETE_INSTRUCTION(CheckMaps, "check-maps") |
| 2329 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) | 2333 DECLARE_HYDROGEN_ACCESSOR(CheckMaps) |
| 2330 }; | 2334 }; |
| 2331 | 2335 |
| 2332 | 2336 |
| 2333 class LCheckSmi FINAL : public LTemplateInstruction<1, 1, 0> { | 2337 class LCheckSmi FINAL : public LTemplateInstruction<1, 1, 0> { |
| 2334 public: | 2338 public: |
| 2335 explicit LCheckSmi(LOperand* value) { inputs_[0] = value; } | 2339 explicit LCheckSmi(LOperand* value) { inputs_[0] = value; } |
| 2336 | 2340 |
| (...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2750 | 2754 |
| 2751 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2755 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2752 }; | 2756 }; |
| 2753 | 2757 |
| 2754 #undef DECLARE_HYDROGEN_ACCESSOR | 2758 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2755 #undef DECLARE_CONCRETE_INSTRUCTION | 2759 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2756 } | 2760 } |
| 2757 } // namespace v8::internal | 2761 } // namespace v8::internal |
| 2758 | 2762 |
| 2759 #endif // V8_PPC_LITHIUM_PPC_H_ | 2763 #endif // V8_PPC_LITHIUM_PPC_H_ |
| OLD | NEW |