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

Side by Side Diff: src/mips64/deoptimizer-mips64.cc

Issue 1686183003: Use SharedFunctionInfo rather than the JSFunction in the deoptimizer (first step). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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/deoptimizer-mips.cc ('k') | src/ppc/deoptimizer-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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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/codegen.h" 5 #include "src/codegen.h"
6 #include "src/deoptimizer.h" 6 #include "src/deoptimizer.h"
7 #include "src/full-codegen/full-codegen.h" 7 #include "src/full-codegen/full-codegen.h"
8 #include "src/register-configuration.h" 8 #include "src/register-configuration.h"
9 #include "src/safepoint-table.h" 9 #include "src/safepoint-table.h"
10 10
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 } 112 }
113 113
114 114
115 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { 115 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) {
116 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; ++i) { 116 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; ++i) {
117 double double_value = input_->GetDoubleRegister(i); 117 double double_value = input_->GetDoubleRegister(i);
118 output_frame->SetDoubleRegister(i, double_value); 118 output_frame->SetDoubleRegister(i, double_value);
119 } 119 }
120 } 120 }
121 121
122 122 bool Deoptimizer::HasAlignmentPadding(SharedFunctionInfo* shared) {
123 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) {
124 // There is no dynamic alignment padding on MIPS in the input frame. 123 // There is no dynamic alignment padding on MIPS in the input frame.
125 return false; 124 return false;
126 } 125 }
127 126
128 127
129 #define __ masm()-> 128 #define __ masm()->
130 129
131 130
132 // This code tries to be close to ia32 code so that any changes can be 131 // This code tries to be close to ia32 code so that any changes can be
133 // easily ported. 132 // easily ported.
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 // No embedded constant pool support. 402 // No embedded constant pool support.
404 UNREACHABLE(); 403 UNREACHABLE();
405 } 404 }
406 405
407 406
408 #undef __ 407 #undef __
409 408
410 409
411 } // namespace internal 410 } // namespace internal
412 } // namespace v8 411 } // namespace v8
OLDNEW
« no previous file with comments | « src/mips/deoptimizer-mips.cc ('k') | src/ppc/deoptimizer-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698