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

Side by Side Diff: src/mips64/lithium-codegen-mips64.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/mips64/interface-descriptors-mips64.cc ('k') | src/mips64/lithium-mips64.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 2890 matching lines...) Expand 10 before | Expand all | Expand 10 after
2901 2901
2902 if (no_frame_start != -1) { 2902 if (no_frame_start != -1) {
2903 info_->AddNoFrameRange(no_frame_start, masm_->pc_offset()); 2903 info_->AddNoFrameRange(no_frame_start, masm_->pc_offset());
2904 } 2904 }
2905 } 2905 }
2906 2906
2907 2907
2908 template <class T> 2908 template <class T>
2909 void LCodeGen::EmitVectorLoadICRegisters(T* instr) { 2909 void LCodeGen::EmitVectorLoadICRegisters(T* instr) {
2910 Register vector_register = ToRegister(instr->temp_vector()); 2910 Register vector_register = ToRegister(instr->temp_vector());
2911 Register slot_register = VectorLoadICDescriptor::SlotRegister(); 2911 Register slot_register = LoadWithVectorDescriptor::SlotRegister();
2912 DCHECK(vector_register.is(VectorLoadICDescriptor::VectorRegister())); 2912 DCHECK(vector_register.is(LoadWithVectorDescriptor::VectorRegister()));
2913 DCHECK(slot_register.is(a0)); 2913 DCHECK(slot_register.is(a0));
2914 2914
2915 AllowDeferredHandleDereference vector_structure_check; 2915 AllowDeferredHandleDereference vector_structure_check;
2916 Handle<TypeFeedbackVector> vector = instr->hydrogen()->feedback_vector(); 2916 Handle<TypeFeedbackVector> vector = instr->hydrogen()->feedback_vector();
2917 __ li(vector_register, vector); 2917 __ li(vector_register, vector);
2918 // No need to allocate this register. 2918 // No need to allocate this register.
2919 FeedbackVectorICSlot slot = instr->hydrogen()->slot(); 2919 FeedbackVectorICSlot slot = instr->hydrogen()->slot();
2920 int index = vector->GetIndex(slot); 2920 int index = vector->GetIndex(slot);
2921 __ li(slot_register, Operand(Smi::FromInt(index))); 2921 __ li(slot_register, Operand(Smi::FromInt(index)));
2922 } 2922 }
(...skipping 3206 matching lines...) Expand 10 before | Expand all | Expand 10 after
6129 __ li(at, scope_info); 6129 __ li(at, scope_info);
6130 __ Push(at, ToRegister(instr->function())); 6130 __ Push(at, ToRegister(instr->function()));
6131 CallRuntime(Runtime::kPushBlockContext, 2, instr); 6131 CallRuntime(Runtime::kPushBlockContext, 2, instr);
6132 RecordSafepoint(Safepoint::kNoLazyDeopt); 6132 RecordSafepoint(Safepoint::kNoLazyDeopt);
6133 } 6133 }
6134 6134
6135 6135
6136 #undef __ 6136 #undef __
6137 6137
6138 } } // namespace v8::internal 6138 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips64/interface-descriptors-mips64.cc ('k') | src/mips64/lithium-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698