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

Side by Side Diff: src/crankshaft/s390/lithium-s390.cc

Issue 2096653003: [ic] Don't pass receiver and name to LoadGlobalIC. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@store-name-in-metavector
Patch Set: Removed name parameter. Created 4 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
« no previous file with comments | « src/crankshaft/s390/lithium-s390.h ('k') | src/crankshaft/x64/lithium-codegen-x64.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/crankshaft/s390/lithium-s390.h" 5 #include "src/crankshaft/s390/lithium-s390.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/crankshaft/hydrogen-osr.h" 9 #include "src/crankshaft/hydrogen-osr.h"
10 #include "src/crankshaft/lithium-inl.h" 10 #include "src/crankshaft/lithium-inl.h"
(...skipping 1802 matching lines...) Expand 10 before | Expand all | Expand 10 after
1813 } else if (r.IsTagged()) { 1813 } else if (r.IsTagged()) {
1814 return DefineAsRegister(new (zone()) LConstantT); 1814 return DefineAsRegister(new (zone()) LConstantT);
1815 } else { 1815 } else {
1816 UNREACHABLE(); 1816 UNREACHABLE();
1817 return NULL; 1817 return NULL;
1818 } 1818 }
1819 } 1819 }
1820 1820
1821 LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) { 1821 LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) {
1822 LOperand* context = UseFixed(instr->context(), cp); 1822 LOperand* context = UseFixed(instr->context(), cp);
1823 LOperand* global_object =
1824 UseFixed(instr->global_object(), LoadDescriptor::ReceiverRegister());
1825 LOperand* vector = FixedTemp(LoadWithVectorDescriptor::VectorRegister()); 1823 LOperand* vector = FixedTemp(LoadWithVectorDescriptor::VectorRegister());
1826 LLoadGlobalGeneric* result = 1824
1827 new (zone()) LLoadGlobalGeneric(context, global_object, vector); 1825 LLoadGlobalGeneric* result = new (zone()) LLoadGlobalGeneric(context, vector);
1828 return MarkAsCall(DefineFixed(result, r2), instr); 1826 return MarkAsCall(DefineFixed(result, r2), instr);
1829 } 1827 }
1830 1828
1831 LInstruction* LChunkBuilder::DoLoadContextSlot(HLoadContextSlot* instr) { 1829 LInstruction* LChunkBuilder::DoLoadContextSlot(HLoadContextSlot* instr) {
1832 LOperand* context = UseRegisterAtStart(instr->value()); 1830 LOperand* context = UseRegisterAtStart(instr->value());
1833 LInstruction* result = 1831 LInstruction* result =
1834 DefineAsRegister(new (zone()) LLoadContextSlot(context)); 1832 DefineAsRegister(new (zone()) LLoadContextSlot(context));
1835 if (instr->RequiresHoleCheck() && instr->DeoptimizesOnHole()) { 1833 if (instr->RequiresHoleCheck() && instr->DeoptimizesOnHole()) {
1836 result = AssignEnvironment(result); 1834 result = AssignEnvironment(result);
1837 } 1835 }
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
2266 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) { 2264 LInstruction* LChunkBuilder::DoLoadFieldByIndex(HLoadFieldByIndex* instr) {
2267 LOperand* object = UseRegister(instr->object()); 2265 LOperand* object = UseRegister(instr->object());
2268 LOperand* index = UseTempRegister(instr->index()); 2266 LOperand* index = UseTempRegister(instr->index());
2269 LLoadFieldByIndex* load = new (zone()) LLoadFieldByIndex(object, index); 2267 LLoadFieldByIndex* load = new (zone()) LLoadFieldByIndex(object, index);
2270 LInstruction* result = DefineSameAsFirst(load); 2268 LInstruction* result = DefineSameAsFirst(load);
2271 return AssignPointerMap(result); 2269 return AssignPointerMap(result);
2272 } 2270 }
2273 2271
2274 } // namespace internal 2272 } // namespace internal
2275 } // namespace v8 2273 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/s390/lithium-s390.h ('k') | src/crankshaft/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698