| 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 2325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2395 | 2394 |
| 2396 LOperand* size() { return inputs_[1]; } | 2395 LOperand* size() { return inputs_[1]; } |
| 2397 LOperand* temp1() { return temps_[0]; } | 2396 LOperand* temp1() { return temps_[0]; } |
| 2398 LOperand* temp2() { return temps_[1]; } | 2397 LOperand* temp2() { return temps_[1]; } |
| 2399 | 2398 |
| 2400 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") | 2399 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") |
| 2401 DECLARE_HYDROGEN_ACCESSOR(Allocate) | 2400 DECLARE_HYDROGEN_ACCESSOR(Allocate) |
| 2402 }; | 2401 }; |
| 2403 | 2402 |
| 2404 | 2403 |
| 2405 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> { | |
| 2406 public: | |
| 2407 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") | |
| 2408 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) | |
| 2409 }; | |
| 2410 | |
| 2411 | |
| 2412 class LRegExpLiteral: public LTemplateInstruction<1, 0, 0> { | 2404 class LRegExpLiteral: public LTemplateInstruction<1, 0, 0> { |
| 2413 public: | 2405 public: |
| 2414 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") | 2406 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") |
| 2415 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) | 2407 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) |
| 2416 }; | 2408 }; |
| 2417 | 2409 |
| 2418 | 2410 |
| 2419 class LFunctionLiteral: public LTemplateInstruction<1, 0, 0> { | 2411 class LFunctionLiteral: public LTemplateInstruction<1, 0, 0> { |
| 2420 public: | 2412 public: |
| 2421 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal") | 2413 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal") |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2776 | 2768 |
| 2777 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2769 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2778 }; | 2770 }; |
| 2779 | 2771 |
| 2780 #undef DECLARE_HYDROGEN_ACCESSOR | 2772 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2781 #undef DECLARE_CONCRETE_INSTRUCTION | 2773 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2782 | 2774 |
| 2783 } } // namespace v8::internal | 2775 } } // namespace v8::internal |
| 2784 | 2776 |
| 2785 #endif // V8_MIPS_LITHIUM_MIPS_H_ | 2777 #endif // V8_MIPS_LITHIUM_MIPS_H_ |
| OLD | NEW |