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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 V(Context) \ | 92 V(Context) \ |
93 V(DebugBreak) \ | 93 V(DebugBreak) \ |
94 V(DeclareGlobals) \ | 94 V(DeclareGlobals) \ |
95 V(DeleteProperty) \ | 95 V(DeleteProperty) \ |
96 V(Deoptimize) \ | 96 V(Deoptimize) \ |
97 V(DivI) \ | 97 V(DivI) \ |
98 V(DoubleToI) \ | 98 V(DoubleToI) \ |
99 V(DoubleToSmi) \ | 99 V(DoubleToSmi) \ |
100 V(DummyUse) \ | 100 V(DummyUse) \ |
101 V(ElementsKind) \ | 101 V(ElementsKind) \ |
102 V(FixedArrayBaseLength) \ | |
103 V(FunctionLiteral) \ | 102 V(FunctionLiteral) \ |
104 V(GetCachedArrayIndex) \ | 103 V(GetCachedArrayIndex) \ |
105 V(GlobalObject) \ | 104 V(GlobalObject) \ |
106 V(GlobalReceiver) \ | 105 V(GlobalReceiver) \ |
107 V(Goto) \ | 106 V(Goto) \ |
108 V(HasCachedArrayIndexAndBranch) \ | 107 V(HasCachedArrayIndexAndBranch) \ |
109 V(HasInstanceTypeAndBranch) \ | 108 V(HasInstanceTypeAndBranch) \ |
110 V(In) \ | 109 V(In) \ |
111 V(InstanceOf) \ | 110 V(InstanceOf) \ |
112 V(InstanceOfKnownGlobal) \ | 111 V(InstanceOfKnownGlobal) \ |
(...skipping 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1274 LOperand* value() { return inputs_[0]; } | 1273 LOperand* value() { return inputs_[0]; } |
1275 LOperand* temp() { return temps_[0]; } | 1274 LOperand* temp() { return temps_[0]; } |
1276 | 1275 |
1277 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") | 1276 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") |
1278 DECLARE_HYDROGEN_ACCESSOR(CompareMap) | 1277 DECLARE_HYDROGEN_ACCESSOR(CompareMap) |
1279 | 1278 |
1280 Handle<Map> map() const { return hydrogen()->map(); } | 1279 Handle<Map> map() const { return hydrogen()->map(); } |
1281 }; | 1280 }; |
1282 | 1281 |
1283 | 1282 |
1284 class LFixedArrayBaseLength: public LTemplateInstruction<1, 1, 0> { | |
1285 public: | |
1286 explicit LFixedArrayBaseLength(LOperand* value) { | |
1287 inputs_[0] = value; | |
1288 } | |
1289 | |
1290 LOperand* value() { return inputs_[0]; } | |
1291 | |
1292 DECLARE_CONCRETE_INSTRUCTION(FixedArrayBaseLength, | |
1293 "fixed-array-base-length") | |
1294 DECLARE_HYDROGEN_ACCESSOR(FixedArrayBaseLength) | |
1295 }; | |
1296 | |
1297 | |
1298 class LMapEnumLength: public LTemplateInstruction<1, 1, 0> { | 1283 class LMapEnumLength: public LTemplateInstruction<1, 1, 0> { |
1299 public: | 1284 public: |
1300 explicit LMapEnumLength(LOperand* value) { | 1285 explicit LMapEnumLength(LOperand* value) { |
1301 inputs_[0] = value; | 1286 inputs_[0] = value; |
1302 } | 1287 } |
1303 | 1288 |
1304 LOperand* value() { return inputs_[0]; } | 1289 LOperand* value() { return inputs_[0]; } |
1305 | 1290 |
1306 DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length") | 1291 DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length") |
1307 }; | 1292 }; |
(...skipping 1544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2852 | 2837 |
2853 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2838 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2854 }; | 2839 }; |
2855 | 2840 |
2856 #undef DECLARE_HYDROGEN_ACCESSOR | 2841 #undef DECLARE_HYDROGEN_ACCESSOR |
2857 #undef DECLARE_CONCRETE_INSTRUCTION | 2842 #undef DECLARE_CONCRETE_INSTRUCTION |
2858 | 2843 |
2859 } } // namespace v8::internal | 2844 } } // namespace v8::internal |
2860 | 2845 |
2861 #endif // V8_ARM_LITHIUM_ARM_H_ | 2846 #endif // V8_ARM_LITHIUM_ARM_H_ |
OLD | NEW |