| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 #define LITHIUM_CONCRETE_INSTRUCTION_LIST(V) \ | 49 #define LITHIUM_CONCRETE_INSTRUCTION_LIST(V) \ |
| 50 V(AccessArgumentsAt) \ | 50 V(AccessArgumentsAt) \ |
| 51 V(AddI) \ | 51 V(AddI) \ |
| 52 V(AllocateObject) \ | 52 V(AllocateObject) \ |
| 53 V(Allocate) \ | 53 V(Allocate) \ |
| 54 V(ApplyArguments) \ | 54 V(ApplyArguments) \ |
| 55 V(ArgumentsElements) \ | 55 V(ArgumentsElements) \ |
| 56 V(ArgumentsLength) \ | 56 V(ArgumentsLength) \ |
| 57 V(ArithmeticD) \ | 57 V(ArithmeticD) \ |
| 58 V(ArithmeticT) \ | 58 V(ArithmeticT) \ |
| 59 V(ArrayLiteral) \ | |
| 60 V(BitI) \ | 59 V(BitI) \ |
| 61 V(BitNotI) \ | 60 V(BitNotI) \ |
| 62 V(BoundsCheck) \ | 61 V(BoundsCheck) \ |
| 63 V(Branch) \ | 62 V(Branch) \ |
| 64 V(CallConstantFunction) \ | 63 V(CallConstantFunction) \ |
| 65 V(CallFunction) \ | 64 V(CallFunction) \ |
| 66 V(CallGlobal) \ | 65 V(CallGlobal) \ |
| 67 V(CallKeyed) \ | 66 V(CallKeyed) \ |
| 68 V(CallKnownGlobal) \ | 67 V(CallKnownGlobal) \ |
| 69 V(CallNamed) \ | 68 V(CallNamed) \ |
| (...skipping 2384 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2454 | 2453 |
| 2455 LOperand* size() { return inputs_[1]; } | 2454 LOperand* size() { return inputs_[1]; } |
| 2456 LOperand* temp1() { return temps_[0]; } | 2455 LOperand* temp1() { return temps_[0]; } |
| 2457 LOperand* temp2() { return temps_[1]; } | 2456 LOperand* temp2() { return temps_[1]; } |
| 2458 | 2457 |
| 2459 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") | 2458 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") |
| 2460 DECLARE_HYDROGEN_ACCESSOR(Allocate) | 2459 DECLARE_HYDROGEN_ACCESSOR(Allocate) |
| 2461 }; | 2460 }; |
| 2462 | 2461 |
| 2463 | 2462 |
| 2464 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> { | |
| 2465 public: | |
| 2466 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") | |
| 2467 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) | |
| 2468 }; | |
| 2469 | |
| 2470 | |
| 2471 class LRegExpLiteral: public LTemplateInstruction<1, 0, 0> { | 2463 class LRegExpLiteral: public LTemplateInstruction<1, 0, 0> { |
| 2472 public: | 2464 public: |
| 2473 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") | 2465 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") |
| 2474 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) | 2466 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) |
| 2475 }; | 2467 }; |
| 2476 | 2468 |
| 2477 | 2469 |
| 2478 class LFunctionLiteral: public LTemplateInstruction<1, 0, 0> { | 2470 class LFunctionLiteral: public LTemplateInstruction<1, 0, 0> { |
| 2479 public: | 2471 public: |
| 2480 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal") | 2472 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal") |
| (...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2840 | 2832 |
| 2841 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2833 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2842 }; | 2834 }; |
| 2843 | 2835 |
| 2844 #undef DECLARE_HYDROGEN_ACCESSOR | 2836 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2845 #undef DECLARE_CONCRETE_INSTRUCTION | 2837 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2846 | 2838 |
| 2847 } } // namespace v8::internal | 2839 } } // namespace v8::internal |
| 2848 | 2840 |
| 2849 #endif // V8_ARM_LITHIUM_ARM_H_ | 2841 #endif // V8_ARM_LITHIUM_ARM_H_ |
| OLD | NEW |