| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 V(CmpObjectEqAndBranch) \ | 84 V(CmpObjectEqAndBranch) \ |
| 85 V(CmpMapAndBranch) \ | 85 V(CmpMapAndBranch) \ |
| 86 V(CmpT) \ | 86 V(CmpT) \ |
| 87 V(ConstantD) \ | 87 V(ConstantD) \ |
| 88 V(ConstantI) \ | 88 V(ConstantI) \ |
| 89 V(ConstantT) \ | 89 V(ConstantT) \ |
| 90 V(Context) \ | 90 V(Context) \ |
| 91 V(DeclareGlobals) \ | 91 V(DeclareGlobals) \ |
| 92 V(DeleteProperty) \ | 92 V(DeleteProperty) \ |
| 93 V(Deoptimize) \ | 93 V(Deoptimize) \ |
| 94 V(DeoptimizeIfTaggedIsNotSmi) \ |
| 94 V(DivI) \ | 95 V(DivI) \ |
| 95 V(DoubleToI) \ | 96 V(DoubleToI) \ |
| 96 V(DummyUse) \ | 97 V(DummyUse) \ |
| 97 V(ElementsKind) \ | 98 V(ElementsKind) \ |
| 98 V(FastLiteral) \ | 99 V(FastLiteral) \ |
| 99 V(FixedArrayBaseLength) \ | 100 V(FixedArrayBaseLength) \ |
| 100 V(FunctionLiteral) \ | 101 V(FunctionLiteral) \ |
| 101 V(GetCachedArrayIndex) \ | 102 V(GetCachedArrayIndex) \ |
| 102 V(GlobalObject) \ | 103 V(GlobalObject) \ |
| 103 V(GlobalReceiver) \ | 104 V(GlobalReceiver) \ |
| (...skipping 2040 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2144 explicit LCheckSmi(LOperand* value) { | 2145 explicit LCheckSmi(LOperand* value) { |
| 2145 inputs_[0] = value; | 2146 inputs_[0] = value; |
| 2146 } | 2147 } |
| 2147 | 2148 |
| 2148 LOperand* value() { return inputs_[0]; } | 2149 LOperand* value() { return inputs_[0]; } |
| 2149 | 2150 |
| 2150 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") | 2151 DECLARE_CONCRETE_INSTRUCTION(CheckSmi, "check-smi") |
| 2151 }; | 2152 }; |
| 2152 | 2153 |
| 2153 | 2154 |
| 2155 class LDeoptimizeIfTaggedIsNotSmi: public LTemplateInstruction<0, 1, 0> { |
| 2156 public: |
| 2157 explicit LDeoptimizeIfTaggedIsNotSmi(LOperand* value) { |
| 2158 inputs_[0] = value; |
| 2159 } |
| 2160 |
| 2161 LOperand* value() { return inputs_[0]; } |
| 2162 |
| 2163 DECLARE_CONCRETE_INSTRUCTION(DeoptimizeIfTaggedIsNotSmi, |
| 2164 "deoptimize-if-tagged-is-not-smi") |
| 2165 }; |
| 2166 |
| 2167 |
| 2154 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { | 2168 class LCheckNonSmi: public LTemplateInstruction<0, 1, 0> { |
| 2155 public: | 2169 public: |
| 2156 explicit LCheckNonSmi(LOperand* value) { | 2170 explicit LCheckNonSmi(LOperand* value) { |
| 2157 inputs_[0] = value; | 2171 inputs_[0] = value; |
| 2158 } | 2172 } |
| 2159 | 2173 |
| 2160 LOperand* value() { return inputs_[0]; } | 2174 LOperand* value() { return inputs_[0]; } |
| 2161 | 2175 |
| 2162 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") | 2176 DECLARE_CONCRETE_INSTRUCTION(CheckNonSmi, "check-non-smi") |
| 2163 }; | 2177 }; |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2593 | 2607 |
| 2594 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2608 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2595 }; | 2609 }; |
| 2596 | 2610 |
| 2597 #undef DECLARE_HYDROGEN_ACCESSOR | 2611 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2598 #undef DECLARE_CONCRETE_INSTRUCTION | 2612 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2599 | 2613 |
| 2600 } } // namespace v8::internal | 2614 } } // namespace v8::internal |
| 2601 | 2615 |
| 2602 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2616 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |