OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 V(CmpObjectEqAndBranch) \ | 85 V(CmpObjectEqAndBranch) \ |
86 V(CmpMapAndBranch) \ | 86 V(CmpMapAndBranch) \ |
87 V(CmpT) \ | 87 V(CmpT) \ |
88 V(ConstantD) \ | 88 V(ConstantD) \ |
89 V(ConstantI) \ | 89 V(ConstantI) \ |
90 V(ConstantT) \ | 90 V(ConstantT) \ |
91 V(Context) \ | 91 V(Context) \ |
92 V(DeclareGlobals) \ | 92 V(DeclareGlobals) \ |
93 V(DeleteProperty) \ | 93 V(DeleteProperty) \ |
94 V(Deoptimize) \ | 94 V(Deoptimize) \ |
| 95 V(DeoptimizeIfTaggedIsNotSmi) \ |
95 V(DivI) \ | 96 V(DivI) \ |
96 V(DoubleToI) \ | 97 V(DoubleToI) \ |
97 V(DummyUse) \ | 98 V(DummyUse) \ |
98 V(ElementsKind) \ | 99 V(ElementsKind) \ |
99 V(FastLiteral) \ | 100 V(FastLiteral) \ |
100 V(FixedArrayBaseLength) \ | 101 V(FixedArrayBaseLength) \ |
101 V(FunctionLiteral) \ | 102 V(FunctionLiteral) \ |
102 V(GetCachedArrayIndex) \ | 103 V(GetCachedArrayIndex) \ |
103 V(GlobalObject) \ | 104 V(GlobalObject) \ |
104 V(GlobalReceiver) \ | 105 V(GlobalReceiver) \ |
(...skipping 2095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2200 explicit LCheckSmi(LOperand* value) { | 2201 explicit LCheckSmi(LOperand* value) { |
2201 inputs_[0] = value; | 2202 inputs_[0] = value; |
2202 } | 2203 } |
2203 | 2204 |
2204 LOperand* value() { return inputs_[0]; } | 2205 LOperand* value() { return inputs_[0]; } |
2205 | 2206 |
2206 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") | 2207 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") |
2207 }; | 2208 }; |
2208 | 2209 |
2209 | 2210 |
| 2211 class LDeoptimizeIfTaggedIsNotSmi: public LTemplateInstruction<0, 1, 0> { |
| 2212 public: |
| 2213 explicit LDeoptimizeIfTaggedIsNotSmi(LOperand* value) { |
| 2214 inputs_[0] = value; |
| 2215 } |
| 2216 |
| 2217 LOperand* value() { return inputs_[0]; } |
| 2218 |
| 2219 DECLARE_CONCRETE_INSTRUCTION(DeoptimizeIfTaggedIsNotSmi, |
| 2220 "deoptimize-if-tagged-is-not-smi") |
| 2221 }; |
| 2222 |
| 2223 |
2210 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { | 2224 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { |
2211 public: | 2225 public: |
2212 explicit LCheckNonSmi(LOperand* value) { | 2226 explicit LCheckNonSmi(LOperand* value) { |
2213 inputs_[0] = value; | 2227 inputs_[0] = value; |
2214 } | 2228 } |
2215 | 2229 |
2216 LOperand* value() { return inputs_[0]; } | 2230 LOperand* value() { return inputs_[0]; } |
2217 | 2231 |
2218 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") | 2232 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") |
2219 }; | 2233 }; |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2670 | 2684 |
2671 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2685 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2672 }; | 2686 }; |
2673 | 2687 |
2674 #undef DECLARE_HYDROGEN_ACCESSOR | 2688 #undef DECLARE_HYDROGEN_ACCESSOR |
2675 #undef DECLARE_CONCRETE_INSTRUCTION | 2689 #undef DECLARE_CONCRETE_INSTRUCTION |
2676 | 2690 |
2677 } } // namespace v8::internal | 2691 } } // namespace v8::internal |
2678 | 2692 |
2679 #endif // V8_ARM_LITHIUM_ARM_H_ | 2693 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |