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

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

Issue 1144063002: Cleanup interface descriptors to reflect that vectors are part of loads. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixes for test failures. Created 5 years, 7 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/arm/lithium-arm.cc ('k') | src/arm64/code-stubs-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 2971 matching lines...) Expand 10 before | Expand all | Expand 10 after
2982 if (no_frame_start != -1) { 2982 if (no_frame_start != -1) {
2983 info_->AddNoFrameRange(no_frame_start, masm_->pc_offset()); 2983 info_->AddNoFrameRange(no_frame_start, masm_->pc_offset());
2984 } 2984 }
2985 } 2985 }
2986 } 2986 }
2987 2987
2988 2988
2989 template <class T> 2989 template <class T>
2990 void LCodeGen::EmitVectorLoadICRegisters(T* instr) { 2990 void LCodeGen::EmitVectorLoadICRegisters(T* instr) {
2991 Register vector_register = ToRegister(instr->temp_vector()); 2991 Register vector_register = ToRegister(instr->temp_vector());
2992 Register slot_register = VectorLoadICDescriptor::SlotRegister(); 2992 Register slot_register = LoadDescriptor::SlotRegister();
2993 DCHECK(vector_register.is(VectorLoadICDescriptor::VectorRegister())); 2993 DCHECK(vector_register.is(LoadWithVectorDescriptor::VectorRegister()));
2994 DCHECK(slot_register.is(r0)); 2994 DCHECK(slot_register.is(r0));
2995 2995
2996 AllowDeferredHandleDereference vector_structure_check; 2996 AllowDeferredHandleDereference vector_structure_check;
2997 Handle<TypeFeedbackVector> vector = instr->hydrogen()->feedback_vector(); 2997 Handle<TypeFeedbackVector> vector = instr->hydrogen()->feedback_vector();
2998 __ Move(vector_register, vector); 2998 __ Move(vector_register, vector);
2999 // No need to allocate this register. 2999 // No need to allocate this register.
3000 FeedbackVectorICSlot slot = instr->hydrogen()->slot(); 3000 FeedbackVectorICSlot slot = instr->hydrogen()->slot();
3001 int index = vector->GetIndex(slot); 3001 int index = vector->GetIndex(slot);
3002 __ mov(slot_register, Operand(Smi::FromInt(index))); 3002 __ mov(slot_register, Operand(Smi::FromInt(index)));
3003 } 3003 }
(...skipping 3015 matching lines...) Expand 10 before | Expand all | Expand 10 after
6019 __ Push(scope_info); 6019 __ Push(scope_info);
6020 __ push(ToRegister(instr->function())); 6020 __ push(ToRegister(instr->function()));
6021 CallRuntime(Runtime::kPushBlockContext, 2, instr); 6021 CallRuntime(Runtime::kPushBlockContext, 2, instr);
6022 RecordSafepoint(Safepoint::kNoLazyDeopt); 6022 RecordSafepoint(Safepoint::kNoLazyDeopt);
6023 } 6023 }
6024 6024
6025 6025
6026 #undef __ 6026 #undef __
6027 6027
6028 } } // namespace v8::internal 6028 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/lithium-arm.cc ('k') | src/arm64/code-stubs-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698