| 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 19 matching lines...) Expand all Loading... |
| 30 V(BitI) \ | 30 V(BitI) \ |
| 31 V(BoundsCheck) \ | 31 V(BoundsCheck) \ |
| 32 V(Branch) \ | 32 V(Branch) \ |
| 33 V(CallJSFunction) \ | 33 V(CallJSFunction) \ |
| 34 V(CallWithDescriptor) \ | 34 V(CallWithDescriptor) \ |
| 35 V(CallFunction) \ | 35 V(CallFunction) \ |
| 36 V(CallNew) \ | 36 V(CallNew) \ |
| 37 V(CallNewArray) \ | 37 V(CallNewArray) \ |
| 38 V(CallRuntime) \ | 38 V(CallRuntime) \ |
| 39 V(CallStub) \ | 39 V(CallStub) \ |
| 40 V(CheckArrayBufferNotNeutered) \ |
| 40 V(CheckInstanceType) \ | 41 V(CheckInstanceType) \ |
| 41 V(CheckNonSmi) \ | 42 V(CheckNonSmi) \ |
| 42 V(CheckMaps) \ | 43 V(CheckMaps) \ |
| 43 V(CheckMapValue) \ | 44 V(CheckMapValue) \ |
| 44 V(CheckSmi) \ | 45 V(CheckSmi) \ |
| 45 V(CheckValue) \ | 46 V(CheckValue) \ |
| 46 V(ClampDToUint8) \ | 47 V(ClampDToUint8) \ |
| 47 V(ClampIToUint8) \ | 48 V(ClampIToUint8) \ |
| 48 V(ClampTToUint8) \ | 49 V(ClampTToUint8) \ |
| 49 V(ClassOfTestAndBranch) \ | 50 V(ClassOfTestAndBranch) \ |
| (...skipping 2222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2272 public: | 2273 public: |
| 2273 explicit LCheckValue(LOperand* value) { inputs_[0] = value; } | 2274 explicit LCheckValue(LOperand* value) { inputs_[0] = value; } |
| 2274 | 2275 |
| 2275 LOperand* value() { return inputs_[0]; } | 2276 LOperand* value() { return inputs_[0]; } |
| 2276 | 2277 |
| 2277 DECLARE_CONCRETE_INSTRUCTION(CheckValue, "check-value") | 2278 DECLARE_CONCRETE_INSTRUCTION(CheckValue, "check-value") |
| 2278 DECLARE_HYDROGEN_ACCESSOR(CheckValue) | 2279 DECLARE_HYDROGEN_ACCESSOR(CheckValue) |
| 2279 }; | 2280 }; |
| 2280 | 2281 |
| 2281 | 2282 |
| 2283 class LCheckArrayBufferNotNeutered final |
| 2284 : public LTemplateInstruction<0, 1, 0> { |
| 2285 public: |
| 2286 explicit LCheckArrayBufferNotNeutered(LOperand* view) { inputs_[0] = view; } |
| 2287 |
| 2288 LOperand* view() { return inputs_[0]; } |
| 2289 |
| 2290 DECLARE_CONCRETE_INSTRUCTION(CheckArrayBufferNotNeutered, |
| 2291 "check-array-buffer-not-neutered") |
| 2292 DECLARE_HYDROGEN_ACCESSOR(CheckArrayBufferNotNeutered) |
| 2293 }; |
| 2294 |
| 2295 |
| 2282 class LCheckInstanceType final : public LTemplateInstruction<0, 1, 0> { | 2296 class LCheckInstanceType final : public LTemplateInstruction<0, 1, 0> { |
| 2283 public: | 2297 public: |
| 2284 explicit LCheckInstanceType(LOperand* value) { inputs_[0] = value; } | 2298 explicit LCheckInstanceType(LOperand* value) { inputs_[0] = value; } |
| 2285 | 2299 |
| 2286 LOperand* value() { return inputs_[0]; } | 2300 LOperand* value() { return inputs_[0]; } |
| 2287 | 2301 |
| 2288 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") | 2302 DECLARE_CONCRETE_INSTRUCTION(CheckInstanceType, "check-instance-type") |
| 2289 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) | 2303 DECLARE_HYDROGEN_ACCESSOR(CheckInstanceType) |
| 2290 }; | 2304 }; |
| 2291 | 2305 |
| (...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2725 | 2739 |
| 2726 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2740 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2727 }; | 2741 }; |
| 2728 | 2742 |
| 2729 #undef DECLARE_HYDROGEN_ACCESSOR | 2743 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2730 #undef DECLARE_CONCRETE_INSTRUCTION | 2744 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2731 } | 2745 } |
| 2732 } // namespace v8::internal | 2746 } // namespace v8::internal |
| 2733 | 2747 |
| 2734 #endif // V8_PPC_LITHIUM_PPC_H_ | 2748 #endif // V8_PPC_LITHIUM_PPC_H_ |
| OLD | NEW |