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

Side by Side Diff: src/mips64/lithium-codegen-mips64.cc

Issue 1060263003: Revert of VectorICs: megamorphic keyed loads in crankshaft don't need a vector. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 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/mips/lithium-codegen-mips.cc ('k') | src/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 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/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/code-factory.h" 7 #include "src/code-factory.h"
8 #include "src/code-stubs.h" 8 #include "src/code-stubs.h"
9 #include "src/cpu-profiler.h" 9 #include "src/cpu-profiler.h"
10 #include "src/hydrogen-osr.h" 10 #include "src/hydrogen-osr.h"
(...skipping 3379 matching lines...) Expand 10 before | Expand all | Expand 10 after
3390 return MemOperand(scratch0(), base_offset); 3390 return MemOperand(scratch0(), base_offset);
3391 } 3391 }
3392 } 3392 }
3393 3393
3394 3394
3395 void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) { 3395 void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) {
3396 DCHECK(ToRegister(instr->context()).is(cp)); 3396 DCHECK(ToRegister(instr->context()).is(cp));
3397 DCHECK(ToRegister(instr->object()).is(LoadDescriptor::ReceiverRegister())); 3397 DCHECK(ToRegister(instr->object()).is(LoadDescriptor::ReceiverRegister()));
3398 DCHECK(ToRegister(instr->key()).is(LoadDescriptor::NameRegister())); 3398 DCHECK(ToRegister(instr->key()).is(LoadDescriptor::NameRegister()));
3399 3399
3400 if (instr->hydrogen()->HasVectorAndSlot()) { 3400 if (FLAG_vector_ics) {
3401 EmitVectorLoadICRegisters<LLoadKeyedGeneric>(instr); 3401 EmitVectorLoadICRegisters<LLoadKeyedGeneric>(instr);
3402 } 3402 }
3403 3403
3404 Handle<Code> ic = 3404 Handle<Code> ic =
3405 CodeFactory::KeyedLoadICInOptimizedCode( 3405 CodeFactory::KeyedLoadICInOptimizedCode(
3406 isolate(), instr->hydrogen()->initialization_state()).code(); 3406 isolate(), instr->hydrogen()->initialization_state()).code();
3407 CallCode(ic, RelocInfo::CODE_TARGET, instr); 3407 CallCode(ic, RelocInfo::CODE_TARGET, instr);
3408 } 3408 }
3409 3409
3410 3410
(...skipping 2629 matching lines...) Expand 10 before | Expand all | Expand 10 after
6040 __ li(at, scope_info); 6040 __ li(at, scope_info);
6041 __ Push(at, ToRegister(instr->function())); 6041 __ Push(at, ToRegister(instr->function()));
6042 CallRuntime(Runtime::kPushBlockContext, 2, instr); 6042 CallRuntime(Runtime::kPushBlockContext, 2, instr);
6043 RecordSafepoint(Safepoint::kNoLazyDeopt); 6043 RecordSafepoint(Safepoint::kNoLazyDeopt);
6044 } 6044 }
6045 6045
6046 6046
6047 #undef __ 6047 #undef __
6048 6048
6049 } } // namespace v8::internal 6049 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/lithium-codegen-mips.cc ('k') | src/x64/lithium-codegen-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698