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(Allocate) \ | 52 V(Allocate) \ |
53 V(AllocateObject) \ | 53 V(AllocateObject) \ |
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 2296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2366 } | 2365 } |
2367 | 2366 |
2368 LOperand* size() { return inputs_[0]; } | 2367 LOperand* size() { return inputs_[0]; } |
2369 LOperand* temp() { return temps_[0]; } | 2368 LOperand* temp() { return temps_[0]; } |
2370 | 2369 |
2371 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") | 2370 DECLARE_CONCRETE_INSTRUCTION(Allocate, "allocate") |
2372 DECLARE_HYDROGEN_ACCESSOR(Allocate) | 2371 DECLARE_HYDROGEN_ACCESSOR(Allocate) |
2373 }; | 2372 }; |
2374 | 2373 |
2375 | 2374 |
2376 class LArrayLiteral: public LTemplateInstruction<1, 0, 0> { | |
2377 public: | |
2378 DECLARE_CONCRETE_INSTRUCTION(ArrayLiteral, "array-literal") | |
2379 DECLARE_HYDROGEN_ACCESSOR(ArrayLiteral) | |
2380 }; | |
2381 | |
2382 | |
2383 class LRegExpLiteral: public LTemplateInstruction<1, 0, 0> { | 2375 class LRegExpLiteral: public LTemplateInstruction<1, 0, 0> { |
2384 public: | 2376 public: |
2385 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") | 2377 DECLARE_CONCRETE_INSTRUCTION(RegExpLiteral, "regexp-literal") |
2386 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) | 2378 DECLARE_HYDROGEN_ACCESSOR(RegExpLiteral) |
2387 }; | 2379 }; |
2388 | 2380 |
2389 | 2381 |
2390 class LFunctionLiteral: public LTemplateInstruction<1, 0, 0> { | 2382 class LFunctionLiteral: public LTemplateInstruction<1, 0, 0> { |
2391 public: | 2383 public: |
2392 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal") | 2384 DECLARE_CONCRETE_INSTRUCTION(FunctionLiteral, "function-literal") |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2738 | 2730 |
2739 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2731 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2740 }; | 2732 }; |
2741 | 2733 |
2742 #undef DECLARE_HYDROGEN_ACCESSOR | 2734 #undef DECLARE_HYDROGEN_ACCESSOR |
2743 #undef DECLARE_CONCRETE_INSTRUCTION | 2735 #undef DECLARE_CONCRETE_INSTRUCTION |
2744 | 2736 |
2745 } } // namespace v8::int | 2737 } } // namespace v8::int |
2746 | 2738 |
2747 #endif // V8_X64_LITHIUM_X64_H_ | 2739 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |