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

Side by Side Diff: src/mips/lithium-mips.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/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.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 1163 matching lines...) Expand 10 before | Expand all | Expand 10 after
1268 explicit LMapEnumLength(LOperand* value) { 1267 explicit LMapEnumLength(LOperand* value) {
1269 inputs_[0] = value; 1268 inputs_[0] = value;
1270 } 1269 }
1271 1270
1272 LOperand* value() { return inputs_[0]; } 1271 LOperand* value() { return inputs_[0]; }
1273 1272
1274 DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length") 1273 DECLARE_CONCRETE_INSTRUCTION(MapEnumLength, "map-enum-length")
1275 }; 1274 };
1276 1275
1277 1276
1278 class LElementsKind V8_FINAL : public LTemplateInstruction<1, 1, 0> {
1279 public:
1280 explicit LElementsKind(LOperand* value) {
1281 inputs_[0] = value;
1282 }
1283
1284 LOperand* value() { return inputs_[0]; }
1285
1286 DECLARE_CONCRETE_INSTRUCTION(ElementsKind, "elements-kind")
1287 DECLARE_HYDROGEN_ACCESSOR(ElementsKind)
1288 };
1289
1290
1291 class LValueOf V8_FINAL : public LTemplateInstruction<1, 1, 1> { 1277 class LValueOf V8_FINAL : public LTemplateInstruction<1, 1, 1> {
1292 public: 1278 public:
1293 LValueOf(LOperand* value, LOperand* temp) { 1279 LValueOf(LOperand* value, LOperand* temp) {
1294 inputs_[0] = value; 1280 inputs_[0] = value;
1295 temps_[0] = temp; 1281 temps_[0] = temp;
1296 } 1282 }
1297 1283
1298 LOperand* value() { return inputs_[0]; } 1284 LOperand* value() { return inputs_[0]; }
1299 LOperand* temp() { return temps_[0]; } 1285 LOperand* temp() { return temps_[0]; }
1300 1286
(...skipping 1439 matching lines...) Expand 10 before | Expand all | Expand 10 after
2740 2726
2741 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder); 2727 DISALLOW_COPY_AND_ASSIGN(LChunkBuilder);
2742 }; 2728 };
2743 2729
2744 #undef DECLARE_HYDROGEN_ACCESSOR 2730 #undef DECLARE_HYDROGEN_ACCESSOR
2745 #undef DECLARE_CONCRETE_INSTRUCTION 2731 #undef DECLARE_CONCRETE_INSTRUCTION
2746 2732
2747 } } // namespace v8::internal 2733 } } // namespace v8::internal
2748 2734
2749 #endif // V8_MIPS_LITHIUM_MIPS_H_ 2735 #endif // V8_MIPS_LITHIUM_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/mips/lithium-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698