| 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 1240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1304 explicit LThrow(LOperand* value) { | 1303 explicit LThrow(LOperand* value) { |
| 1305 inputs_[0] = value; | 1304 inputs_[0] = value; |
| 1306 } | 1305 } |
| 1307 | 1306 |
| 1308 LOperand* value() { return inputs_[0]; } | 1307 LOperand* value() { return inputs_[0]; } |
| 1309 | 1308 |
| 1310 DECLARE_CONCRETE_INSTRUCTION(Throw, "throw") | 1309 DECLARE_CONCRETE_INSTRUCTION(Throw, "throw") |
| 1311 }; | 1310 }; |
| 1312 | 1311 |
| 1313 | 1312 |
| 1314 class LBitNotI: public LTemplateInstruction<1, 1, 0> { | |
| 1315 public: | |
| 1316 explicit LBitNotI(LOperand* value) { | |
| 1317 inputs_[0] = value; | |
| 1318 } | |
| 1319 | |
| 1320 LOperand* value() { return inputs_[0]; } | |
| 1321 | |
| 1322 DECLARE_CONCRETE_INSTRUCTION(BitNotI, "bit-not-i") | |
| 1323 }; | |
| 1324 | |
| 1325 | |
| 1326 class LAddI: public LTemplateInstruction<1, 2, 0> { | 1313 class LAddI: public LTemplateInstruction<1, 2, 0> { |
| 1327 public: | 1314 public: |
| 1328 LAddI(LOperand* left, LOperand* right) { | 1315 LAddI(LOperand* left, LOperand* right) { |
| 1329 inputs_[0] = left; | 1316 inputs_[0] = left; |
| 1330 inputs_[1] = right; | 1317 inputs_[1] = right; |
| 1331 } | 1318 } |
| 1332 | 1319 |
| 1333 LOperand* left() { return inputs_[0]; } | 1320 LOperand* left() { return inputs_[0]; } |
| 1334 LOperand* right() { return inputs_[1]; } | 1321 LOperand* right() { return inputs_[1]; } |
| 1335 | 1322 |
| (...skipping 1331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2667 | 2654 |
| 2668 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2655 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2669 }; | 2656 }; |
| 2670 | 2657 |
| 2671 #undef DECLARE_HYDROGEN_ACCESSOR | 2658 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2672 #undef DECLARE_CONCRETE_INSTRUCTION | 2659 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2673 | 2660 |
| 2674 } } // namespace v8::int | 2661 } } // namespace v8::int |
| 2675 | 2662 |
| 2676 #endif // V8_X64_LITHIUM_X64_H_ | 2663 #endif // V8_X64_LITHIUM_X64_H_ |
| OLD | NEW |