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

Side by Side Diff: src/arm/lithium-codegen-arm.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 | « no previous file | 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 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/arm/lithium-codegen-arm.h" 7 #include "src/arm/lithium-codegen-arm.h"
8 #include "src/arm/lithium-gap-resolver-arm.h" 8 #include "src/arm/lithium-gap-resolver-arm.h"
9 #include "src/base/bits.h" 9 #include "src/base/bits.h"
10 #include "src/code-factory.h" 10 #include "src/code-factory.h"
(...skipping 3381 matching lines...) Expand 10 before | Expand all | Expand 10 after
3392 return MemOperand(scratch0(), base_offset); 3392 return MemOperand(scratch0(), base_offset);
3393 } 3393 }
3394 } 3394 }
3395 3395
3396 3396
3397 void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) { 3397 void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) {
3398 DCHECK(ToRegister(instr->context()).is(cp)); 3398 DCHECK(ToRegister(instr->context()).is(cp));
3399 DCHECK(ToRegister(instr->object()).is(LoadDescriptor::ReceiverRegister())); 3399 DCHECK(ToRegister(instr->object()).is(LoadDescriptor::ReceiverRegister()));
3400 DCHECK(ToRegister(instr->key()).is(LoadDescriptor::NameRegister())); 3400 DCHECK(ToRegister(instr->key()).is(LoadDescriptor::NameRegister()));
3401 3401
3402 if (instr->hydrogen()->HasVectorAndSlot()) { 3402 if (FLAG_vector_ics) {
3403 EmitVectorLoadICRegisters<LLoadKeyedGeneric>(instr); 3403 EmitVectorLoadICRegisters<LLoadKeyedGeneric>(instr);
3404 } 3404 }
3405 3405
3406 Handle<Code> ic = 3406 Handle<Code> ic =
3407 CodeFactory::KeyedLoadICInOptimizedCode( 3407 CodeFactory::KeyedLoadICInOptimizedCode(
3408 isolate(), instr->hydrogen()->initialization_state()).code(); 3408 isolate(), instr->hydrogen()->initialization_state()).code();
3409 CallCode(ic, RelocInfo::CODE_TARGET, instr, NEVER_INLINE_TARGET_ADDRESS); 3409 CallCode(ic, RelocInfo::CODE_TARGET, instr, NEVER_INLINE_TARGET_ADDRESS);
3410 } 3410 }
3411 3411
3412 3412
(...skipping 2516 matching lines...) Expand 10 before | Expand all | Expand 10 after
5929 __ Push(scope_info); 5929 __ Push(scope_info);
5930 __ push(ToRegister(instr->function())); 5930 __ push(ToRegister(instr->function()));
5931 CallRuntime(Runtime::kPushBlockContext, 2, instr); 5931 CallRuntime(Runtime::kPushBlockContext, 2, instr);
5932 RecordSafepoint(Safepoint::kNoLazyDeopt); 5932 RecordSafepoint(Safepoint::kNoLazyDeopt);
5933 } 5933 }
5934 5934
5935 5935
5936 #undef __ 5936 #undef __
5937 5937
5938 } } // namespace v8::internal 5938 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698