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

Side by Side Diff: src/ia32/lithium-ia32.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 | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 V(DateField) \ 86 V(DateField) \
87 V(DebugBreak) \ 87 V(DebugBreak) \
88 V(DeclareGlobals) \ 88 V(DeclareGlobals) \
89 V(Deoptimize) \ 89 V(Deoptimize) \
90 V(DivI) \ 90 V(DivI) \
91 V(DoubleToI) \ 91 V(DoubleToI) \
92 V(DoubleToSmi) \ 92 V(DoubleToSmi) \
93 V(Drop) \ 93 V(Drop) \
94 V(Dummy) \ 94 V(Dummy) \
95 V(DummyUse) \ 95 V(DummyUse) \
96 V(ElementsKind) \
97 V(ForInCacheArray) \ 96 V(ForInCacheArray) \
98 V(ForInPrepareMap) \ 97 V(ForInPrepareMap) \
99 V(FunctionLiteral) \ 98 V(FunctionLiteral) \
100 V(GetCachedArrayIndex) \ 99 V(GetCachedArrayIndex) \
101 V(Goto) \ 100 V(Goto) \
102 V(HasCachedArrayIndexAndBranch) \ 101 V(HasCachedArrayIndexAndBranch) \
103 V(HasInstanceTypeAndBranch) \ 102 V(HasInstanceTypeAndBranch) \
104 V(InnerAllocatedObject) \ 103 V(InnerAllocatedObject) \
105 V(InstanceOf) \ 104 V(InstanceOf) \
106 V(InstanceOfKnownGlobal) \ 105 V(InstanceOfKnownGlobal) \
(...skipping 1154 matching lines...) Expand 10 before | Expand all | Expand 10 after
1261 explicit LMapEnumLength(LOperand* value) { 1260 explicit LMapEnumLength(LOperand* value) {
1262 inputs_[0] = value; 1261 inputs_[0] = value;
1263 } 1262 }
1264 1263
1265 LOperand* value() { return inputs_[0]; } 1264 LOperand* value() { return inputs_[0]; }
1266 1265
1267 DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length") 1266 DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length")
1268 }; 1267 };
1269 1268
1270 1269
1271 class LElementsKind V8_FINAL : public LTemplateInstruction<1, 1, 0> {
1272 public:
1273 explicit LElementsKind(LOperand* value) {
1274 inputs_[0] = value;
1275 }
1276
1277 LOperand* value() { return inputs_[0]; }
1278
1279 DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind")
1280 DECLARE_HYDROGEN_ACCESSOR(ElementsKind)
1281 };
1282
1283
1284 class LValueOf V8_FINAL : public LTemplateInstruction<1, 1, 1> { 1270 class LValueOf V8_FINAL : public LTemplateInstruction<1, 1, 1> {
1285 public: 1271 public:
1286 LValueOf(LOperand* value, LOperand* temp) { 1272 LValueOf(LOperand* value, LOperand* temp) {
1287 inputs_[0] = value; 1273 inputs_[0] = value;
1288 temps_[0] = temp; 1274 temps_[0] = temp;
1289 } 1275 }
1290 1276
1291 LOperand* value() { return inputs_[0]; } 1277 LOperand* value() { return inputs_[0]; }
1292 LOperand* temp() { return temps_[0]; } 1278 LOperand* temp() { return temps_[0]; }
1293 1279
(...skipping 1491 matching lines...) Expand 10 before | Expand all | Expand 10 after
2785 2771
2786 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2772 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2787 }; 2773 };
2788 2774
2789 #undef DECLARE_HYDROGEN_ACCESSOR 2775 #undef DECLARE_HYDROGEN_ACCESSOR
2790 #undef DECLARE_CONCRETE_INSTRUCTION 2776 #undef DECLARE_CONCRETE_INSTRUCTION
2791 2777
2792 } } // namespace v8::internal 2778 } } // namespace v8::internal
2793 2779
2794 #endif // V8_IA32_LITHIUM_IA32_H_ 2780 #endif // V8_IA32_LITHIUM_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698