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

Side by Side Diff: src/arm/deoptimizer-arm.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 | « no previous file | src/arm64/deoptimizer-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/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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 } 117 }
118 118
119 119
120 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { 120 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) {
121 for (int i = 0; i < DwVfpRegister::kMaxNumRegisters; ++i) { 121 for (int i = 0; i < DwVfpRegister::kMaxNumRegisters; ++i) {
122 double double_value = input_->GetDoubleRegister(i); 122 double double_value = input_->GetDoubleRegister(i);
123 output_frame->SetDoubleRegister(i, double_value); 123 output_frame->SetDoubleRegister(i, double_value);
124 } 124 }
125 } 125 }
126 126
127 127 bool Deoptimizer::HasAlignmentPadding(SharedFunctionInfo* shared) {
128 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) {
129 // There is no dynamic alignment padding on ARM in the input frame. 128 // There is no dynamic alignment padding on ARM in the input frame.
130 return false; 129 return false;
131 } 130 }
132 131
133 132
134 #define __ masm()-> 133 #define __ masm()->
135 134
136 // This code tries to be close to ia32 code so that any changes can be 135 // This code tries to be close to ia32 code so that any changes can be
137 // easily ported. 136 // easily ported.
138 void Deoptimizer::TableEntryGenerator::Generate() { 137 void Deoptimizer::TableEntryGenerator::Generate() {
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { 356 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) {
358 DCHECK(FLAG_enable_embedded_constant_pool); 357 DCHECK(FLAG_enable_embedded_constant_pool);
359 SetFrameSlot(offset, value); 358 SetFrameSlot(offset, value);
360 } 359 }
361 360
362 361
363 #undef __ 362 #undef __
364 363
365 } // namespace internal 364 } // namespace internal
366 } // namespace v8 365 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/arm64/deoptimizer-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698