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(MapEnumLength) \ | 102 V(MapEnumLength) \ |
104 V(FunctionLiteral) \ | 103 V(FunctionLiteral) \ |
105 V(GetCachedArrayIndex) \ | 104 V(GetCachedArrayIndex) \ |
106 V(GlobalObject) \ | 105 V(GlobalObject) \ |
107 V(GlobalReceiver) \ | 106 V(GlobalReceiver) \ |
108 V(Goto) \ | 107 V(Goto) \ |
109 V(HasCachedArrayIndexAndBranch) \ | 108 V(HasCachedArrayIndexAndBranch) \ |
110 V(HasInstanceTypeAndBranch) \ | 109 V(HasInstanceTypeAndBranch) \ |
111 V(In) \ | 110 V(In) \ |
112 V(InstanceOf) \ | 111 V(InstanceOf) \ |
(...skipping 1113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1226 | 1225 |
1227 LOperand* value() { return inputs_[0]; } | 1226 LOperand* value() { return inputs_[0]; } |
1228 | 1227 |
1229 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") | 1228 DECLARE_CONCRETE_INSTRUCTION(CmpMapAndBranch, "cmp-map-and-branch") |
1230 DECLARE_HYDROGEN_ACCESSOR(CompareMap) | 1229 DECLARE_HYDROGEN_ACCESSOR(CompareMap) |
1231 | 1230 |
1232 Handle<Map> map() const { return hydrogen()->map(); } | 1231 Handle<Map> map() const { return hydrogen()->map(); } |
1233 }; | 1232 }; |
1234 | 1233 |
1235 | 1234 |
1236 class LFixedArrayBaseLength: public LTemplateInstruction<1, 1, 0> { | |
1237 public: | |
1238 explicit LFixedArrayBaseLength(LOperand* value) { | |
1239 inputs_[0] = value; | |
1240 } | |
1241 | |
1242 LOperand* value() { return inputs_[0]; } | |
1243 | |
1244 DECLARE_CONCRETE_INSTRUCTION(FixedArrayBaseLength, | |
1245 "fixed-array-base-length") | |
1246 DECLARE_HYDROGEN_ACCESSOR(FixedArrayBaseLength) | |
1247 }; | |
1248 | |
1249 | |
1250 class LMapEnumLength: public LTemplateInstruction<1, 1, 0> { | 1235 class LMapEnumLength: public LTemplateInstruction<1, 1, 0> { |
1251 public: | 1236 public: |
1252 explicit LMapEnumLength(LOperand* value) { | 1237 explicit LMapEnumLength(LOperand* value) { |
1253 inputs_[0] = value; | 1238 inputs_[0] = value; |
1254 } | 1239 } |
1255 | 1240 |
1256 LOperand* value() { return inputs_[0]; } | 1241 LOperand* value() { return inputs_[0]; } |
1257 | 1242 |
1258 DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length") | 1243 DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length") |
1259 }; | 1244 }; |
(...skipping 1492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2752 | 2737 |
2753 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); | 2738 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); |
2754 }; | 2739 }; |
2755 | 2740 |
2756 #undef DECLARE_HYDROGEN_ACCESSOR | 2741 #undef DECLARE_HYDROGEN_ACCESSOR |
2757 #undef DECLARE_CONCRETE_INSTRUCTION | 2742 #undef DECLARE_CONCRETE_INSTRUCTION |
2758 | 2743 |
2759 } } // namespace v8::int | 2744 } } // namespace v8::int |
2760 | 2745 |
2761 #endif // V8_X64_LITHIUM_X64_H_ | 2746 #endif // V8_X64_LITHIUM_X64_H_ |
OLD | NEW |