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

Side by Side Diff: src/ppc/deoptimizer-ppc.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/mips64/deoptimizer-mips64.cc ('k') | src/x64/deoptimizer-x64.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 } 124 }
125 125
126 126
127 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { 127 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) {
128 for (int i = 0; i < DoubleRegister::kNumRegisters; ++i) { 128 for (int i = 0; i < DoubleRegister::kNumRegisters; ++i) {
129 double double_value = input_->GetDoubleRegister(i); 129 double double_value = input_->GetDoubleRegister(i);
130 output_frame->SetDoubleRegister(i, double_value); 130 output_frame->SetDoubleRegister(i, double_value);
131 } 131 }
132 } 132 }
133 133
134 134 bool Deoptimizer::HasAlignmentPadding(SharedFunctionInfo* shared) {
135 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) {
136 // There is no dynamic alignment padding on PPC in the input frame. 135 // There is no dynamic alignment padding on PPC in the input frame.
137 return false; 136 return false;
138 } 137 }
139 138
140 139
141 #define __ masm()-> 140 #define __ masm()->
142 141
143 // This code tries to be close to ia32 code so that any changes can be 142 // This code tries to be close to ia32 code so that any changes can be
144 // easily ported. 143 // easily ported.
145 void Deoptimizer::TableEntryGenerator::Generate() { 144 void Deoptimizer::TableEntryGenerator::Generate() {
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
361 360
362 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { 361 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) {
363 DCHECK(FLAG_enable_embedded_constant_pool); 362 DCHECK(FLAG_enable_embedded_constant_pool);
364 SetFrameSlot(offset, value); 363 SetFrameSlot(offset, value);
365 } 364 }
366 365
367 366
368 #undef __ 367 #undef __
369 } // namespace internal 368 } // namespace internal
370 } // namespace v8 369 } // namespace v8
OLDNEW
« no previous file with comments | « src/mips64/deoptimizer-mips64.cc ('k') | src/x64/deoptimizer-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698