Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Side by Side Diff: src/arm/lithium-arm.h

Issue 136093004: Remove the unused HElementsKind instruction. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 V(DateField) \ 84 V(DateField) \
85 V(DebugBreak) \ 85 V(DebugBreak) \
86 V(DeclareGlobals) \ 86 V(DeclareGlobals) \
87 V(Deoptimize) \ 87 V(Deoptimize) \
88 V(DivI) \ 88 V(DivI) \
89 V(DoubleToI) \ 89 V(DoubleToI) \
90 V(DoubleToSmi) \ 90 V(DoubleToSmi) \
91 V(Drop) \ 91 V(Drop) \
92 V(Dummy) \ 92 V(Dummy) \
93 V(DummyUse) \ 93 V(DummyUse) \
94 V(ElementsKind) \
95 V(ForInCacheArray) \ 94 V(ForInCacheArray) \
96 V(ForInPrepareMap) \ 95 V(ForInPrepareMap) \
97 V(FunctionLiteral) \ 96 V(FunctionLiteral) \
98 V(GetCachedArrayIndex) \ 97 V(GetCachedArrayIndex) \
99 V(Goto) \ 98 V(Goto) \
100 V(HasCachedArrayIndexAndBranch) \ 99 V(HasCachedArrayIndexAndBranch) \
101 V(HasInstanceTypeAndBranch) \ 100 V(HasInstanceTypeAndBranch) \
102 V(InnerAllocatedObject) \ 101 V(InnerAllocatedObject) \
103 V(InstanceOf) \ 102 V(InstanceOf) \
104 V(InstanceOfKnownGlobal) \ 103 V(InstanceOfKnownGlobal) \
(...skipping 1183 matching lines...) Expand 10 before | Expand all | Expand 10 after
1288 explicit LMapEnumLength(LOperand* value) { 1287 explicit LMapEnumLength(LOperand* value) {
1289 inputs_[0] = value; 1288 inputs_[0] = value;
1290 } 1289 }
1291 1290
1292 LOperand* value() { return inputs_[0]; } 1291 LOperand* value() { return inputs_[0]; }
1293 1292
1294 DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length") 1293 DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length")
1295 }; 1294 };
1296 1295
1297 1296
1298 class LElementsKind V8_FINAL : public LTemplateInstruction<1, 1, 0> {
1299 public:
1300 explicit LElementsKind(LOperand* value) {
1301 inputs_[0] = value;
1302 }
1303
1304 LOperand* value() { return inputs_[0]; }
1305
1306 DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind")
1307 DECLARE_HYDROGEN_ACCESSOR(ElementsKind)
1308 };
1309
1310
1311 class LValueOf V8_FINAL : public LTemplateInstruction<1, 1, 1> { 1297 class LValueOf V8_FINAL : public LTemplateInstruction<1, 1, 1> {
1312 public: 1298 public:
1313 LValueOf(LOperand* value, LOperand* temp) { 1299 LValueOf(LOperand* value, LOperand* temp) {
1314 inputs_[0] = value; 1300 inputs_[0] = value;
1315 temps_[0] = temp; 1301 temps_[0] = temp;
1316 } 1302 }
1317 1303
1318 LOperand* value() { return inputs_[0]; } 1304 LOperand* value() { return inputs_[0]; }
1319 LOperand* temp() { return temps_[0]; } 1305 LOperand* temp() { return temps_[0]; }
1320 1306
(...skipping 1446 matching lines...) Expand 10 before | Expand all | Expand 10 after
2767 2753
2768 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2754 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2769 }; 2755 };
2770 2756
2771 #undef DECLARE_HYDROGEN_ACCESSOR 2757 #undef DECLARE_HYDROGEN_ACCESSOR
2772 #undef DECLARE_CONCRETE_INSTRUCTION 2758 #undef DECLARE_CONCRETE_INSTRUCTION
2773 2759
2774 } } // namespace v8::internal 2760 } } // namespace v8::internal
2775 2761
2776 #endif // V8_ARM_LITHIUM_ARM_H_ 2762 #endif // V8_ARM_LITHIUM_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698