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/arm64/deoptimizer-arm64.cc

Issue 352583002: The IC exposes a register definition. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments. Created 6 years, 5 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
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/arm64/ic-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 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 87
88 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { 88 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) {
89 // There is no dynamic alignment padding on ARM64 in the input frame. 89 // There is no dynamic alignment padding on ARM64 in the input frame.
90 return false; 90 return false;
91 } 91 }
92 92
93 93
94 void Deoptimizer::SetPlatformCompiledStubRegisters( 94 void Deoptimizer::SetPlatformCompiledStubRegisters(
95 FrameDescription* output_frame, CodeStubInterfaceDescriptor* descriptor) { 95 FrameDescription* output_frame, CodeStubInterfaceDescriptor* descriptor) {
96 ApiFunction function(descriptor->deoptimization_handler_); 96 ApiFunction function(descriptor->deoptimization_handler());
97 ExternalReference xref(&function, ExternalReference::BUILTIN_CALL, isolate_); 97 ExternalReference xref(&function, ExternalReference::BUILTIN_CALL, isolate_);
98 intptr_t handler = reinterpret_cast<intptr_t>(xref.address()); 98 intptr_t handler = reinterpret_cast<intptr_t>(xref.address());
99 int params = descriptor->GetHandlerParameterCount(); 99 int params = descriptor->GetHandlerParameterCount();
100 output_frame->SetRegister(x0.code(), params); 100 output_frame->SetRegister(x0.code(), params);
101 output_frame->SetRegister(x1.code(), handler); 101 output_frame->SetRegister(x1.code(), handler);
102 } 102 }
103 103
104 104
105 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) { 105 void Deoptimizer::CopyDoubleRegisters(FrameDescription* output_frame) {
106 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; ++i) { 106 for (int i = 0; i < DoubleRegister::kMaxNumRegisters; ++i) {
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 376
377 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { 377 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) {
378 // No out-of-line constant pool support. 378 // No out-of-line constant pool support.
379 UNREACHABLE(); 379 UNREACHABLE();
380 } 380 }
381 381
382 382
383 #undef __ 383 #undef __
384 384
385 } } // namespace v8::internal 385 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm64/code-stubs-arm64.cc ('k') | src/arm64/ic-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698