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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 V(CheckSmi) \ | 72 V(CheckSmi) \ |
73 V(ClampDToUint8) \ | 73 V(ClampDToUint8) \ |
74 V(ClampIToUint8) \ | 74 V(ClampIToUint8) \ |
75 V(ClampTToUint8) \ | 75 V(ClampTToUint8) \ |
76 V(ClassOfTestAndBranch) \ | 76 V(ClassOfTestAndBranch) \ |
77 V(CompareNumericAndBranch) \ | 77 V(CompareNumericAndBranch) \ |
78 V(CmpObjectEqAndBranch) \ | 78 V(CmpObjectEqAndBranch) \ |
79 V(CmpMapAndBranch) \ | 79 V(CmpMapAndBranch) \ |
80 V(CmpT) \ | 80 V(CmpT) \ |
81 V(ConstantD) \ | 81 V(ConstantD) \ |
| 82 V(ConstantE) \ |
82 V(ConstantI) \ | 83 V(ConstantI) \ |
83 V(ConstantS) \ | 84 V(ConstantS) \ |
84 V(ConstantT) \ | 85 V(ConstantT) \ |
85 V(Context) \ | 86 V(Context) \ |
86 V(DateField) \ | 87 V(DateField) \ |
87 V(DebugBreak) \ | 88 V(DebugBreak) \ |
88 V(DeclareGlobals) \ | 89 V(DeclareGlobals) \ |
89 V(Deoptimize) \ | 90 V(Deoptimize) \ |
90 V(DivI) \ | 91 V(DivI) \ |
91 V(DoubleToI) \ | 92 V(DoubleToI) \ |
(...skipping 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1225 | 1226 |
1226 class LConstantD: public LTemplateInstruction<1, 0, 0> { | 1227 class LConstantD: public LTemplateInstruction<1, 0, 0> { |
1227 public: | 1228 public: |
1228 DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d") | 1229 DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d") |
1229 DECLARE_HYDROGEN_ACCESSOR(Constant) | 1230 DECLARE_HYDROGEN_ACCESSOR(Constant) |
1230 | 1231 |
1231 double value() const { return hydrogen()->DoubleValue(); } | 1232 double value() const { return hydrogen()->DoubleValue(); } |
1232 }; | 1233 }; |
1233 | 1234 |
1234 | 1235 |
| 1236 class LConstantE: public LTemplateInstruction<1, 0, 0> { |
| 1237 public: |
| 1238 DECLARE_CONCRETE_INSTRUCTION(ConstantE, "constant-e") |
| 1239 DECLARE_HYDROGEN_ACCESSOR(Constant) |
| 1240 |
| 1241 ExternalReference value() const { |
| 1242 return hydrogen()->ExternalReferenceValue(); |
| 1243 } |
| 1244 }; |
| 1245 |
| 1246 |
1235 class LConstantT: public LTemplateInstruction<1, 0, 0> { | 1247 class LConstantT: public LTemplateInstruction<1, 0, 0> { |
1236 public: | 1248 public: |
1237 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") | 1249 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") |
1238 DECLARE_HYDROGEN_ACCESSOR(Constant) | 1250 DECLARE_HYDROGEN_ACCESSOR(Constant) |
1239 | 1251 |
1240 Handle<Object> value() const { return hydrogen()->handle(); } | 1252 Handle<Object> value() const { return hydrogen()->handle(); } |
1241 }; | 1253 }; |
1242 | 1254 |
1243 | 1255 |
1244 class LBranch: public LControlInstruction<1, 0> { | 1256 class LBranch: public LControlInstruction<1, 0> { |
(...skipping 1554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2799 | 2811 |
2800 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2812 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2801 }; | 2813 }; |
2802 | 2814 |
2803 #undef DECLARE_HYDROGEN_ACCESSOR | 2815 #undef DECLARE_HYDROGEN_ACCESSOR |
2804 #undef DECLARE_CONCRETE_INSTRUCTION | 2816 #undef DECLARE_CONCRETE_INSTRUCTION |
2805 | 2817 |
2806 } } // namespace v8::internal | 2818 } } // namespace v8::internal |
2807 | 2819 |
2808 #endif // V8_ARM_LITHIUM_ARM_H_ | 2820 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |