| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 V(ConstantD) \ | 82 V(ConstantD) \ |
| 83 V(ConstantE) \ | 83 V(ConstantE) \ |
| 84 V(ConstantI) \ | 84 V(ConstantI) \ |
| 85 V(ConstantS) \ | 85 V(ConstantS) \ |
| 86 V(ConstantT) \ | 86 V(ConstantT) \ |
| 87 V(Context) \ | 87 V(Context) \ |
| 88 V(DateField) \ | 88 V(DateField) \ |
| 89 V(DebugBreak) \ | 89 V(DebugBreak) \ |
| 90 V(DeclareGlobals) \ | 90 V(DeclareGlobals) \ |
| 91 V(Deoptimize) \ | 91 V(Deoptimize) \ |
| 92 V(DivConstI) \ |
| 92 V(DivI) \ | 93 V(DivI) \ |
| 93 V(DoubleToIntOrSmi) \ | 94 V(DoubleToIntOrSmi) \ |
| 94 V(Drop) \ | 95 V(Drop) \ |
| 95 V(Dummy) \ | 96 V(Dummy) \ |
| 96 V(DummyUse) \ | 97 V(DummyUse) \ |
| 97 V(ForInCacheArray) \ | 98 V(ForInCacheArray) \ |
| 98 V(ForInPrepareMap) \ | 99 V(ForInPrepareMap) \ |
| 99 V(FunctionLiteral) \ | 100 V(FunctionLiteral) \ |
| 100 V(GetCachedArrayIndex) \ | 101 V(GetCachedArrayIndex) \ |
| 101 V(Goto) \ | 102 V(Goto) \ |
| (...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1243 }; | 1244 }; |
| 1244 | 1245 |
| 1245 | 1246 |
| 1246 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { | 1247 class LDeoptimize V8_FINAL : public LTemplateInstruction<0, 0, 0> { |
| 1247 public: | 1248 public: |
| 1248 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") | 1249 DECLARE_CONCRETE_INSTRUCTION(Deoptimize, "deoptimize") |
| 1249 DECLARE_HYDROGEN_ACCESSOR(Deoptimize) | 1250 DECLARE_HYDROGEN_ACCESSOR(Deoptimize) |
| 1250 }; | 1251 }; |
| 1251 | 1252 |
| 1252 | 1253 |
| 1253 class LDivI V8_FINAL : public LTemplateInstruction<1, 2, 1> { | 1254 class LDivConstI V8_FINAL : public LTemplateInstruction<1, 2, 0> { |
| 1254 public: | 1255 public: |
| 1255 LDivI(LOperand* left, LOperand* right, LOperand* temp) { | 1256 LDivConstI(LOperand* left, LOperand* right) { |
| 1256 inputs_[0] = left; | 1257 inputs_[0] = left; |
| 1257 inputs_[1] = right; | 1258 inputs_[1] = right; |
| 1258 temps_[0] = temp; | |
| 1259 } | 1259 } |
| 1260 | 1260 |
| 1261 LOperand* left() { return inputs_[0]; } | 1261 LOperand* left() { return inputs_[0]; } |
| 1262 LOperand* right() { return inputs_[1]; } | 1262 LOperand* right() { return inputs_[1]; } |
| 1263 LOperand* temp() { return temps_[0]; } | 1263 |
| 1264 DECLARE_CONCRETE_INSTRUCTION(DivConstI, "div-const-i") |
| 1265 DECLARE_HYDROGEN_ACCESSOR(Div) |
| 1266 }; |
| 1267 |
| 1268 |
| 1269 class LDivI V8_FINAL : public LTemplateInstruction<1, 2, 3> { |
| 1270 public: |
| 1271 LDivI(LOperand* left, LOperand* right, LOperand* temp1, LOperand* temp2, |
| 1272 LOperand* temp3) { |
| 1273 inputs_[0] = left; |
| 1274 inputs_[1] = right; |
| 1275 temps_[0] = temp1; |
| 1276 temps_[1] = temp2; |
| 1277 temps_[2] = temp3; |
| 1278 } |
| 1279 |
| 1280 LOperand* left() { return inputs_[0]; } |
| 1281 LOperand* right() { return inputs_[1]; } |
| 1282 LOperand* temp1() { return temps_[0]; } |
| 1283 LOperand* temp2() { return temps_[1]; } |
| 1284 LOperand* temp3() { return temps_[2]; } |
| 1264 | 1285 |
| 1265 DECLARE_CONCRETE_INSTRUCTION(DivI, "div-i") | 1286 DECLARE_CONCRETE_INSTRUCTION(DivI, "div-i") |
| 1266 DECLARE_HYDROGEN_ACCESSOR(Div) | 1287 DECLARE_HYDROGEN_ACCESSOR(Div) |
| 1267 }; | 1288 }; |
| 1268 | 1289 |
| 1269 | 1290 |
| 1270 class LDoubleToIntOrSmi V8_FINAL : public LTemplateInstruction<1, 1, 0> { | 1291 class LDoubleToIntOrSmi V8_FINAL : public LTemplateInstruction<1, 1, 0> { |
| 1271 public: | 1292 public: |
| 1272 explicit LDoubleToIntOrSmi(LOperand* value) { | 1293 explicit LDoubleToIntOrSmi(LOperand* value) { |
| 1273 inputs_[0] = value; | 1294 inputs_[0] = value; |
| (...skipping 1686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2960 | 2981 |
| 2961 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2982 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2962 }; | 2983 }; |
| 2963 | 2984 |
| 2964 #undef DECLARE_HYDROGEN_ACCESSOR | 2985 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2965 #undef DECLARE_CONCRETE_INSTRUCTION | 2986 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2966 | 2987 |
| 2967 } } // namespace v8::internal | 2988 } } // namespace v8::internal |
| 2968 | 2989 |
| 2969 #endif // V8_A64_LITHIUM_A64_H_ | 2990 #endif // V8_A64_LITHIUM_A64_H_ |
| OLD | NEW |