| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #define LITHIUM_CONCRETE_INSTRUCTION_LIST(V) \ | 43 #define LITHIUM_CONCRETE_INSTRUCTION_LIST(V) \ |
| 44 V(AccessArgumentsAt) \ | 44 V(AccessArgumentsAt) \ |
| 45 V(AddI) \ | 45 V(AddI) \ |
| 46 V(Allocate) \ | 46 V(Allocate) \ |
| 47 V(ApplyArguments) \ | 47 V(ApplyArguments) \ |
| 48 V(ArgumentsElements) \ | 48 V(ArgumentsElements) \ |
| 49 V(ArgumentsLength) \ | 49 V(ArgumentsLength) \ |
| 50 V(ArithmeticD) \ | 50 V(ArithmeticD) \ |
| 51 V(ArithmeticT) \ | 51 V(ArithmeticT) \ |
| 52 V(BitI) \ | 52 V(BitI) \ |
| 53 V(BitNotI) \ | |
| 54 V(BoundsCheck) \ | 53 V(BoundsCheck) \ |
| 55 V(Branch) \ | 54 V(Branch) \ |
| 56 V(CallConstantFunction) \ | 55 V(CallConstantFunction) \ |
| 57 V(CallFunction) \ | 56 V(CallFunction) \ |
| 58 V(CallGlobal) \ | 57 V(CallGlobal) \ |
| 59 V(CallKeyed) \ | 58 V(CallKeyed) \ |
| 60 V(CallKnownGlobal) \ | 59 V(CallKnownGlobal) \ |
| 61 V(CallNamed) \ | 60 V(CallNamed) \ |
| 62 V(CallNew) \ | 61 V(CallNew) \ |
| 63 V(CallNewArray) \ | 62 V(CallNewArray) \ |
| (...skipping 1284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1348 explicit LThrow(LOperand* value) { | 1347 explicit LThrow(LOperand* value) { |
| 1349 inputs_[0] = value; | 1348 inputs_[0] = value; |
| 1350 } | 1349 } |
| 1351 | 1350 |
| 1352 LOperand* value() { return inputs_[0]; } | 1351 LOperand* value() { return inputs_[0]; } |
| 1353 | 1352 |
| 1354 DECLARE_CONCRETE_INSTRUCTION(Throw, "throw") | 1353 DECLARE_CONCRETE_INSTRUCTION(Throw, "throw") |
| 1355 }; | 1354 }; |
| 1356 | 1355 |
| 1357 | 1356 |
| 1358 class LBitNotI: public LTemplateInstruction<1, 1, 0> { | |
| 1359 public: | |
| 1360 explicit LBitNotI(LOperand* value) { | |
| 1361 inputs_[0] = value; | |
| 1362 } | |
| 1363 | |
| 1364 LOperand* value() { return inputs_[0]; } | |
| 1365 | |
| 1366 DECLARE_CONCRETE_INSTRUCTION(BitNotI, "bit-not-i") | |
| 1367 }; | |
| 1368 | |
| 1369 | |
| 1370 class LAddI: public LTemplateInstruction<1, 2, 0> { | 1357 class LAddI: public LTemplateInstruction<1, 2, 0> { |
| 1371 public: | 1358 public: |
| 1372 LAddI(LOperand* left, LOperand* right) { | 1359 LAddI(LOperand* left, LOperand* right) { |
| 1373 inputs_[0] = left; | 1360 inputs_[0] = left; |
| 1374 inputs_[1] = right; | 1361 inputs_[1] = right; |
| 1375 } | 1362 } |
| 1376 | 1363 |
| 1377 LOperand* left() { return inputs_[0]; } | 1364 LOperand* left() { return inputs_[0]; } |
| 1378 LOperand* right() { return inputs_[1]; } | 1365 LOperand* right() { return inputs_[1]; } |
| 1379 | 1366 |
| (...skipping 1351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2731 | 2718 |
| 2732 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2719 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2733 }; | 2720 }; |
| 2734 | 2721 |
| 2735 #undef DECLARE_HYDROGEN_ACCESSOR | 2722 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2736 #undef DECLARE_CONCRETE_INSTRUCTION | 2723 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2737 | 2724 |
| 2738 } } // namespace v8::internal | 2725 } } // namespace v8::internal |
| 2739 | 2726 |
| 2740 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2727 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |