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

Side by Side Diff: src/x64/deoptimizer-x64.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/ppc/deoptimizer-ppc.cc ('k') | src/x87/deoptimizer-x87.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 #if V8_TARGET_ARCH_X64 5 #if V8_TARGET_ARCH_X64
6 6
7 #include "src/codegen.h" 7 #include "src/codegen.h"
8 #include "src/deoptimizer.h" 8 #include "src/deoptimizer.h"
9 #include "src/full-codegen/full-codegen.h" 9 #include "src/full-codegen/full-codegen.h"
10 #include "src/register-configuration.h" 10 #include "src/register-configuration.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 } 118 }
119 119
120 120
121 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { 121 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) {
122 for (int i = 0; i < XMMRegister::kMaxNumRegisters; ++i) { 122 for (int i = 0; i < XMMRegister::kMaxNumRegisters; ++i) {
123 double double_value = input_->GetDoubleRegister(i); 123 double double_value = input_->GetDoubleRegister(i);
124 output_frame->SetDoubleRegister(i, double_value); 124 output_frame->SetDoubleRegister(i, double_value);
125 } 125 }
126 } 126 }
127 127
128 128 bool Deoptimizer::HasAlignmentPadding(SharedFunctionInfo* shared) {
129 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) {
130 // There is no dynamic alignment padding on x64 in the input frame. 129 // There is no dynamic alignment padding on x64 in the input frame.
131 return false; 130 return false;
132 } 131 }
133 132
134 133
135 #define __ masm()-> 134 #define __ masm()->
136 135
137 void Deoptimizer::TableEntryGenerator::Generate() { 136 void Deoptimizer::TableEntryGenerator::Generate() {
138 GeneratePrologue(); 137 GeneratePrologue();
139 138
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 } 353 }
355 354
356 355
357 #undef __ 356 #undef __
358 357
359 358
360 } // namespace internal 359 } // namespace internal
361 } // namespace v8 360 } // namespace v8
362 361
363 #endif // V8_TARGET_ARCH_X64 362 #endif // V8_TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « src/ppc/deoptimizer-ppc.cc ('k') | src/x87/deoptimizer-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698