| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_ARM_LITHIUM_ARM_H_ | 5 #ifndef V8_ARM_LITHIUM_ARM_H_ |
| 6 #define V8_ARM_LITHIUM_ARM_H_ | 6 #define V8_ARM_LITHIUM_ARM_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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 V(StoreKeyedGeneric) \ | 147 V(StoreKeyedGeneric) \ |
| 148 V(StoreNamedField) \ | 148 V(StoreNamedField) \ |
| 149 V(StoreNamedGeneric) \ | 149 V(StoreNamedGeneric) \ |
| 150 V(StringAdd) \ | 150 V(StringAdd) \ |
| 151 V(StringCharCodeAt) \ | 151 V(StringCharCodeAt) \ |
| 152 V(StringCharFromCode) \ | 152 V(StringCharFromCode) \ |
| 153 V(StringCompareAndBranch) \ | 153 V(StringCompareAndBranch) \ |
| 154 V(SubI) \ | 154 V(SubI) \ |
| 155 V(RSubI) \ | 155 V(RSubI) \ |
| 156 V(TaggedToI) \ | 156 V(TaggedToI) \ |
| 157 V(TailCallThroughMegamorphicCache) \ |
| 157 V(ThisFunction) \ | 158 V(ThisFunction) \ |
| 158 V(ToFastProperties) \ | 159 V(ToFastProperties) \ |
| 159 V(TransitionElementsKind) \ | 160 V(TransitionElementsKind) \ |
| 160 V(TrapAllocationMemento) \ | 161 V(TrapAllocationMemento) \ |
| 161 V(Typeof) \ | 162 V(Typeof) \ |
| 162 V(TypeofIsAndBranch) \ | 163 V(TypeofIsAndBranch) \ |
| 163 V(Uint32ToDouble) \ | 164 V(Uint32ToDouble) \ |
| 164 V(UnknownOSRValue) \ | 165 V(UnknownOSRValue) \ |
| 165 V(WrapReceiver) | 166 V(WrapReceiver) |
| 166 | 167 |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 475 inputs_[0] = context; | 476 inputs_[0] = context; |
| 476 } | 477 } |
| 477 | 478 |
| 478 LOperand* context() { return inputs_[0]; } | 479 LOperand* context() { return inputs_[0]; } |
| 479 | 480 |
| 480 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") | 481 DECLARE_CONCRETE_INSTRUCTION(CallStub, "call-stub") |
| 481 DECLARE_HYDROGEN_ACCESSOR(CallStub) | 482 DECLARE_HYDROGEN_ACCESSOR(CallStub) |
| 482 }; | 483 }; |
| 483 | 484 |
| 484 | 485 |
| 486 class LTailCallThroughMegamorphicCache FINAL |
| 487 : public LTemplateInstruction<0, 3, 0> { |
| 488 public: |
| 489 explicit LTailCallThroughMegamorphicCache(LOperand* context, |
| 490 LOperand* receiver, |
| 491 LOperand* name) { |
| 492 inputs_[0] = context; |
| 493 inputs_[1] = receiver; |
| 494 inputs_[2] = name; |
| 495 } |
| 496 |
| 497 LOperand* context() { return inputs_[0]; } |
| 498 LOperand* receiver() { return inputs_[1]; } |
| 499 LOperand* name() { return inputs_[2]; } |
| 500 |
| 501 DECLARE_CONCRETE_INSTRUCTION(TailCallThroughMegamorphicCache, |
| 502 "tail-call-through-megamorphic-cache") |
| 503 DECLARE_HYDROGEN_ACCESSOR(TailCallThroughMegamorphicCache) |
| 504 }; |
| 505 |
| 485 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> { | 506 class LUnknownOSRValue FINAL : public LTemplateInstruction<1, 0, 0> { |
| 486 public: | 507 public: |
| 487 virtual bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { | 508 virtual bool HasInterestingComment(LCodeGen* gen) const OVERRIDE { |
| 488 return false; | 509 return false; |
| 489 } | 510 } |
| 490 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value") | 511 DECLARE_CONCRETE_INSTRUCTION(UnknownOSRValue, "unknown-osr-value") |
| 491 }; | 512 }; |
| 492 | 513 |
| 493 | 514 |
| 494 template<int I, int T> | 515 template<int I, int T> |
| (...skipping 2401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2896 | 2917 |
| 2897 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2918 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2898 }; | 2919 }; |
| 2899 | 2920 |
| 2900 #undef DECLARE_HYDROGEN_ACCESSOR | 2921 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2901 #undef DECLARE_CONCRETE_INSTRUCTION | 2922 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2902 | 2923 |
| 2903 } } // namespace v8::internal | 2924 } } // namespace v8::internal |
| 2904 | 2925 |
| 2905 #endif // V8_ARM_LITHIUM_ARM_H_ | 2926 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |