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

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

Issue 552803002: Get CallInterfaceDescriptor directly from CodeStub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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/codegen.h" 7 #include "src/codegen.h"
8 #include "src/deoptimizer.h" 8 #include "src/deoptimizer.h"
9 #include "src/full-codegen.h" 9 #include "src/full-codegen.h"
10 #include "src/safepoint-table.h" 10 #include "src/safepoint-table.h"
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 } 82 }
83 83
84 84
85 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { 85 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) {
86 // There is no dynamic alignment padding on ARM64 in the input frame. 86 // There is no dynamic alignment padding on ARM64 in the input frame.
87 return false; 87 return false;
88 } 88 }
89 89
90 90
91 void Deoptimizer::SetPlatformCompiledStubRegisters( 91 void Deoptimizer::SetPlatformCompiledStubRegisters(
92 FrameDescription* output_frame, CodeStubInterfaceDescriptor* descriptor) { 92 FrameDescription* output_frame, CodeStubDescriptor* descriptor) {
93 ApiFunction function(descriptor->deoptimization_handler()); 93 ApiFunction function(descriptor->deoptimization_handler());
94 ExternalReference xref(&function, ExternalReference::BUILTIN_CALL, isolate_); 94 ExternalReference xref(&function, ExternalReference::BUILTIN_CALL, isolate_);
95 intptr_t handler = reinterpret_cast<intptr_t>(xref.address()); 95 intptr_t handler = reinterpret_cast<intptr_t>(xref.address());
96 int params = descriptor->GetHandlerParameterCount(); 96 int params = descriptor->GetHandlerParameterCount();
97 output_frame->SetRegister(x0.code(), params); 97 output_frame->SetRegister(x0.code(), params);
98 output_frame->SetRegister(x1.code(), handler); 98 output_frame->SetRegister(x1.code(), handler);
99 } 99 }
100 100
101 101
102 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { 102 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) {
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 347
348 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { 348 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) {
349 // No out-of-line constant pool support. 349 // No out-of-line constant pool support.
350 UNREACHABLE(); 350 UNREACHABLE();
351 } 351 }
352 352
353 353
354 #undef __ 354 #undef __
355 355
356 } } // namespace v8::internal 356 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/arm64/lithium-arm64.cc » ('j') | src/code-stubs.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698