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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 V(ClampDToUint8) \ | 78 V(ClampDToUint8) \ |
79 V(ClampIToUint8) \ | 79 V(ClampIToUint8) \ |
80 V(ClampTToUint8) \ | 80 V(ClampTToUint8) \ |
81 V(ClassOfTestAndBranch) \ | 81 V(ClassOfTestAndBranch) \ |
82 V(CmpConstantEqAndBranch) \ | 82 V(CmpConstantEqAndBranch) \ |
83 V(CompareNumericAndBranch) \ | 83 V(CompareNumericAndBranch) \ |
84 V(CmpObjectEqAndBranch) \ | 84 V(CmpObjectEqAndBranch) \ |
85 V(CmpMapAndBranch) \ | 85 V(CmpMapAndBranch) \ |
86 V(CmpT) \ | 86 V(CmpT) \ |
87 V(ConstantD) \ | 87 V(ConstantD) \ |
| 88 V(ConstantE) \ |
88 V(ConstantI) \ | 89 V(ConstantI) \ |
89 V(ConstantS) \ | 90 V(ConstantS) \ |
90 V(ConstantT) \ | 91 V(ConstantT) \ |
91 V(Context) \ | 92 V(Context) \ |
92 V(DebugBreak) \ | 93 V(DebugBreak) \ |
93 V(DeclareGlobals) \ | 94 V(DeclareGlobals) \ |
94 V(Deoptimize) \ | 95 V(Deoptimize) \ |
95 V(DivI) \ | 96 V(DivI) \ |
96 V(DoubleToI) \ | 97 V(DoubleToI) \ |
97 V(DoubleToSmi) \ | 98 V(DoubleToSmi) \ |
(...skipping 1147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1245 | 1246 |
1246 class LConstantD: public LTemplateInstruction<1, 0, 0> { | 1247 class LConstantD: public LTemplateInstruction<1, 0, 0> { |
1247 public: | 1248 public: |
1248 DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d") | 1249 DECLARE_CONCRETE_INSTRUCTION(ConstantD, "constant-d") |
1249 DECLARE_HYDROGEN_ACCESSOR(Constant) | 1250 DECLARE_HYDROGEN_ACCESSOR(Constant) |
1250 | 1251 |
1251 double value() const { return hydrogen()->DoubleValue(); } | 1252 double value() const { return hydrogen()->DoubleValue(); } |
1252 }; | 1253 }; |
1253 | 1254 |
1254 | 1255 |
| 1256 class LConstantE: public LTemplateInstruction<1, 0, 0> { |
| 1257 public: |
| 1258 DECLARE_CONCRETE_INSTRUCTION(ConstantE, "constant-e") |
| 1259 DECLARE_HYDROGEN_ACCESSOR(Constant) |
| 1260 |
| 1261 ExternalReference value() const { return hydrogen()->ExternalValue(); } |
| 1262 }; |
| 1263 |
| 1264 |
1255 class LConstantT: public LTemplateInstruction<1, 0, 0> { | 1265 class LConstantT: public LTemplateInstruction<1, 0, 0> { |
1256 public: | 1266 public: |
1257 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") | 1267 DECLARE_CONCRETE_INSTRUCTION(ConstantT, "constant-t") |
1258 DECLARE_HYDROGEN_ACCESSOR(Constant) | 1268 DECLARE_HYDROGEN_ACCESSOR(Constant) |
1259 | 1269 |
1260 Handle<Object> value() const { return hydrogen()->handle(); } | 1270 Handle<Object> value() const { return hydrogen()->handle(); } |
1261 }; | 1271 }; |
1262 | 1272 |
1263 | 1273 |
1264 class LBranch: public LControlInstruction<1, 0> { | 1274 class LBranch: public LControlInstruction<1, 0> { |
(...skipping 1559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2824 | 2834 |
2825 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2835 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2826 }; | 2836 }; |
2827 | 2837 |
2828 #undef DECLARE_HYDROGEN_ACCESSOR | 2838 #undef DECLARE_HYDROGEN_ACCESSOR |
2829 #undef DECLARE_CONCRETE_INSTRUCTION | 2839 #undef DECLARE_CONCRETE_INSTRUCTION |
2830 | 2840 |
2831 } } // namespace v8::internal | 2841 } } // namespace v8::internal |
2832 | 2842 |
2833 #endif // V8_ARM_LITHIUM_ARM_H_ | 2843 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |