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

Side by Side Diff: src/arm64/lithium-arm64.cc

Issue 338963003: KeyedLoadIC should have same register spec as LoadIC. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Last comment response. Created 6 years, 5 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/arm64/ic-arm64.cc ('k') | src/arm64/lithium-codegen-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/arm64/lithium-arm64.h" 7 #include "src/arm64/lithium-arm64.h"
8 #include "src/arm64/lithium-codegen-arm64.h" 8 #include "src/arm64/lithium-codegen-arm64.h"
9 #include "src/hydrogen-osr.h" 9 #include "src/hydrogen-osr.h"
10 #include "src/lithium-allocator-inl.h" 10 #include "src/lithium-allocator-inl.h"
(...skipping 1697 matching lines...) Expand 10 before | Expand all | Expand 10 after
1708 !instr->CheckFlag(HInstruction::kUint32)) { 1708 !instr->CheckFlag(HInstruction::kUint32)) {
1709 result = AssignEnvironment(result); 1709 result = AssignEnvironment(result);
1710 } 1710 }
1711 return result; 1711 return result;
1712 } 1712 }
1713 } 1713 }
1714 1714
1715 1715
1716 LInstruction* LChunkBuilder::DoLoadKeyedGeneric(HLoadKeyedGeneric* instr) { 1716 LInstruction* LChunkBuilder::DoLoadKeyedGeneric(HLoadKeyedGeneric* instr) {
1717 LOperand* context = UseFixed(instr->context(), cp); 1717 LOperand* context = UseFixed(instr->context(), cp);
1718 LOperand* object = UseFixed(instr->object(), KeyedLoadIC::ReceiverRegister()); 1718 LOperand* object = UseFixed(instr->object(), LoadIC::ReceiverRegister());
1719 LOperand* key = UseFixed(instr->key(), KeyedLoadIC::NameRegister()); 1719 LOperand* key = UseFixed(instr->key(), LoadIC::NameRegister());
1720 1720
1721 LInstruction* result = 1721 LInstruction* result =
1722 DefineFixed(new(zone()) LLoadKeyedGeneric(context, object, key), x0); 1722 DefineFixed(new(zone()) LLoadKeyedGeneric(context, object, key), x0);
1723 return MarkAsCall(result, instr); 1723 return MarkAsCall(result, instr);
1724 } 1724 }
1725 1725
1726 1726
1727 LInstruction* LChunkBuilder::DoLoadNamedField(HLoadNamedField* instr) { 1727 LInstruction* LChunkBuilder::DoLoadNamedField(HLoadNamedField* instr) {
1728 LOperand* object = UseRegisterAtStart(instr->object()); 1728 LOperand* object = UseRegisterAtStart(instr->object());
1729 return DefineAsRegister(new(zone()) LLoadNamedField(object)); 1729 return DefineAsRegister(new(zone()) LLoadNamedField(object));
(...skipping 987 matching lines...) Expand 10 before | Expand all | Expand 10 after
2717 HAllocateBlockContext* instr) { 2717 HAllocateBlockContext* instr) {
2718 LOperand* context = UseFixed(instr->context(), cp); 2718 LOperand* context = UseFixed(instr->context(), cp);
2719 LOperand* function = UseRegisterAtStart(instr->function()); 2719 LOperand* function = UseRegisterAtStart(instr->function());
2720 LAllocateBlockContext* result = 2720 LAllocateBlockContext* result =
2721 new(zone()) LAllocateBlockContext(context, function); 2721 new(zone()) LAllocateBlockContext(context, function);
2722 return MarkAsCall(DefineFixed(result, cp), instr); 2722 return MarkAsCall(DefineFixed(result, cp), instr);
2723 } 2723 }
2724 2724
2725 2725
2726 } } // namespace v8::internal 2726 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm64/ic-arm64.cc ('k') | src/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698