| 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(AllocateObject) \ | 47 V(AllocateObject) \ |
| 48 V(ApplyArguments) \ | 48 V(ApplyArguments) \ |
| 49 V(ArgumentsElements) \ | 49 V(ArgumentsElements) \ |
| 50 V(ArgumentsLength) \ | 50 V(ArgumentsLength) \ |
| 51 V(ArithmeticD) \ | 51 V(ArithmeticD) \ |
| 52 V(ArithmeticT) \ | 52 V(ArithmeticT) \ |
| 53 V(ArrayLiteral) \ | |
| 54 V(BitI) \ | 53 V(BitI) \ |
| 55 V(BitNotI) \ | 54 V(BitNotI) \ |
| 56 V(BoundsCheck) \ | 55 V(BoundsCheck) \ |
| 57 V(Branch) \ | 56 V(Branch) \ |
| 58 V(CallConstantFunction) \ | 57 V(CallConstantFunction) \ |
| 59 V(CallFunction) \ | 58 V(CallFunction) \ |
| 60 V(CallGlobal) \ | 59 V(CallGlobal) \ |
| 61 V(CallKeyed) \ | 60 V(CallKeyed) \ |
| 62 V(CallKnownGlobal) \ | 61 V(CallKnownGlobal) \ |
| 63 V(CallNamed) \ | 62 V(CallNamed) \ |
| (...skipping 2490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2554 | 2553 |
| 2555 LOperand* context() { return inputs_[0]; } | 2554 LOperand* context() { return inputs_[0]; } |
| 2556 LOperand* size() { return inputs_[1]; } | 2555 LOperand* size() { return inputs_[1]; } |
| 2557 LOperand* temp() { return temps_[0]; } | 2556 LOperand* temp() { return temps_[0]; } |
| 2558 | 2557 |
| 2559 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") | 2558 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") |
| 2560 DECLARE_HYDROGEN_ACCESSOR(Allocate) | 2559 DECLARE_HYDROGEN_ACCESSOR(Allocate) |
| 2561 }; | 2560 }; |
| 2562 | 2561 |
| 2563 | 2562 |
| 2564 class LArrayLiteral: public LTemplateInstruction<1, 1, 0> { | |
| 2565 public: | |
| 2566 explicit LArrayLiteral(LOperand* context) { | |
| 2567 inputs_[0] = context; | |
| 2568 } | |
| 2569 | |
| 2570 LOperand* context() { return inputs_[0]; } | |
| 2571 | |
| 2572 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") | |
| 2573 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) | |
| 2574 }; | |
| 2575 | |
| 2576 | |
| 2577 class LRegExpLiteral: public LTemplateInstruction<1, 1, 0> { | 2563 class LRegExpLiteral: public LTemplateInstruction<1, 1, 0> { |
| 2578 public: | 2564 public: |
| 2579 explicit LRegExpLiteral(LOperand* context) { | 2565 explicit LRegExpLiteral(LOperand* context) { |
| 2580 inputs_[0] = context; | 2566 inputs_[0] = context; |
| 2581 } | 2567 } |
| 2582 | 2568 |
| 2583 LOperand* context() { return inputs_[0]; } | 2569 LOperand* context() { return inputs_[0]; } |
| 2584 | 2570 |
| 2585 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") | 2571 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") |
| 2586 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) | 2572 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2970 | 2956 |
| 2971 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2957 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
| 2972 }; | 2958 }; |
| 2973 | 2959 |
| 2974 #undef DECLARE_HYDROGEN_ACCESSOR | 2960 #undef DECLARE_HYDROGEN_ACCESSOR |
| 2975 #undef DECLARE_CONCRETE_INSTRUCTION | 2961 #undef DECLARE_CONCRETE_INSTRUCTION |
| 2976 | 2962 |
| 2977 } } // namespace v8::internal | 2963 } } // namespace v8::internal |
| 2978 | 2964 |
| 2979 #endif // V8_IA32_LITHIUM_IA32_H_ | 2965 #endif // V8_IA32_LITHIUM_IA32_H_ |
| OLD | NEW |