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...) 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 1306 matching lines...) Loading... |
1370 explicit LThrow(LOperand* value) { | 1369 explicit LThrow(LOperand* value) { |
1371 inputs_[0] = value; | 1370 inputs_[0] = value; |
1372 } | 1371 } |
1373 | 1372 |
1374 LOperand* value() { return inputs_[0]; } | 1373 LOperand* value() { return inputs_[0]; } |
1375 | 1374 |
1376 DECLARE_CONCRETE_INSTRUCTION(Throw, "throw") | 1375 DECLARE_CONCRETE_INSTRUCTION(Throw, "throw") |
1377 }; | 1376 }; |
1378 | 1377 |
1379 | 1378 |
1380 class LBitNotI: public LTemplateInstruction<1, 1, 0> { | |
1381 public: | |
1382 explicit LBitNotI(LOperand* value) { | |
1383 inputs_[0] = value; | |
1384 } | |
1385 | |
1386 LOperand* value() { return inputs_[0]; } | |
1387 | |
1388 DECLARE_CONCRETE_INSTRUCTION(BitNotI, "bit-not-i") | |
1389 }; | |
1390 | |
1391 | |
1392 class LAddI: public LTemplateInstruction<1, 2, 0> { | 1379 class LAddI: public LTemplateInstruction<1, 2, 0> { |
1393 public: | 1380 public: |
1394 LAddI(LOperand* left, LOperand* right) { | 1381 LAddI(LOperand* left, LOperand* right) { |
1395 inputs_[0] = left; | 1382 inputs_[0] = left; |
1396 inputs_[1] = right; | 1383 inputs_[1] = right; |
1397 } | 1384 } |
1398 | 1385 |
1399 LOperand* left() { return inputs_[0]; } | 1386 LOperand* left() { return inputs_[0]; } |
1400 LOperand* right() { return inputs_[1]; } | 1387 LOperand* right() { return inputs_[1]; } |
1401 | 1388 |
(...skipping 1356 matching lines...) Loading... |
2758 | 2745 |
2759 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2746 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2760 }; | 2747 }; |
2761 | 2748 |
2762 #undef DECLARE_HYDROGEN_ACCESSOR | 2749 #undef DECLARE_HYDROGEN_ACCESSOR |
2763 #undef DECLARE_CONCRETE_INSTRUCTION | 2750 #undef DECLARE_CONCRETE_INSTRUCTION |
2764 | 2751 |
2765 } } // namespace v8::internal | 2752 } } // namespace v8::internal |
2766 | 2753 |
2767 #endif // V8_ARM_LITHIUM_ARM_H_ | 2754 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |