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

Side by Side Diff: src/crankshaft/mips64/lithium-mips64.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, 6 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/mips64/lithium-mips64.h ('k') | src/crankshaft/ppc/lithium-codegen-ppc.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 // 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/mips64/lithium-mips64.h" 5 #include "src/crankshaft/mips64/lithium-mips64.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #if V8_TARGET_ARCH_MIPS64 9 #if V8_TARGET_ARCH_MIPS64
10 10
(...skipping 1950 matching lines...) Expand 10 before | Expand all | Expand 10 after
1961 return DefineAsRegister(new(zone()) LConstantT); 1961 return DefineAsRegister(new(zone()) LConstantT);
1962 } else { 1962 } else {
1963 UNREACHABLE(); 1963 UNREACHABLE();
1964 return NULL; 1964 return NULL;
1965 } 1965 }
1966 } 1966 }
1967 1967
1968 1968
1969 LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) { 1969 LInstruction* LChunkBuilder::DoLoadGlobalGeneric(HLoadGlobalGeneric* instr) {
1970 LOperand* context = UseFixed(instr->context(), cp); 1970 LOperand* context = UseFixed(instr->context(), cp);
1971 LOperand* global_object =
1972 UseFixed(instr->global_object(), LoadDescriptor::ReceiverRegister());
1973 LOperand* vector = FixedTemp(LoadWithVectorDescriptor::VectorRegister()); 1971 LOperand* vector = FixedTemp(LoadWithVectorDescriptor::VectorRegister());
1974 LLoadGlobalGeneric* result = 1972
1975 new(zone()) LLoadGlobalGeneric(context, global_object, vector); 1973 LLoadGlobalGeneric* result = new (zone()) LLoadGlobalGeneric(context, vector);
1976 return MarkAsCall(DefineFixed(result, v0), instr); 1974 return MarkAsCall(DefineFixed(result, v0), instr);
1977 } 1975 }
1978 1976
1979 1977
1980 LInstruction* LChunkBuilder::DoLoadContextSlot(HLoadContextSlot* instr) { 1978 LInstruction* LChunkBuilder::DoLoadContextSlot(HLoadContextSlot* instr) {
1981 LOperand* context = UseRegisterAtStart(instr->value()); 1979 LOperand* context = UseRegisterAtStart(instr->value());
1982 LInstruction* result = 1980 LInstruction* result =
1983 DefineAsRegister(new(zone()) LLoadContextSlot(context)); 1981 DefineAsRegister(new(zone()) LLoadContextSlot(context));
1984 if (instr->RequiresHoleCheck() && instr->DeoptimizesOnHole()) { 1982 if (instr->RequiresHoleCheck() && instr->DeoptimizesOnHole()) {
1985 result = AssignEnvironment(result); 1983 result = AssignEnvironment(result);
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after
2460 LOperand* index = UseTempRegister(instr->index()); 2458 LOperand* index = UseTempRegister(instr->index());
2461 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index); 2459 LLoadFieldByIndex* load = new(zone()) LLoadFieldByIndex(object, index);
2462 LInstruction* result = DefineSameAsFirst(load); 2460 LInstruction* result = DefineSameAsFirst(load);
2463 return AssignPointerMap(result); 2461 return AssignPointerMap(result);
2464 } 2462 }
2465 2463
2466 } // namespace internal 2464 } // namespace internal
2467 } // namespace v8 2465 } // namespace v8
2468 2466
2469 #endif // V8_TARGET_ARCH_MIPS64 2467 #endif // V8_TARGET_ARCH_MIPS64
OLDNEW
« no previous file with comments | « src/crankshaft/mips64/lithium-mips64.h ('k') | src/crankshaft/ppc/lithium-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698