OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 } | 102 } |
103 | 103 |
104 // Fill the frame content from the actual data on the frame. | 104 // Fill the frame content from the actual data on the frame. |
105 for (unsigned i = 0; i < input_->GetFrameSize(); i += kPointerSize) { | 105 for (unsigned i = 0; i < input_->GetFrameSize(); i += kPointerSize) { |
106 input_->SetFrameSlot(i, Memory::uint64_at(tos + i)); | 106 input_->SetFrameSlot(i, Memory::uint64_at(tos + i)); |
107 } | 107 } |
108 } | 108 } |
109 | 109 |
110 | 110 |
111 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { | 111 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { |
112 // There is no dynamic alignment padding on A64 in the input frame. | 112 // There is no dynamic alignment padding on ARM64 in the input frame. |
113 return false; | 113 return false; |
114 } | 114 } |
115 | 115 |
116 | 116 |
117 void Deoptimizer::SetPlatformCompiledStubRegisters( | 117 void Deoptimizer::SetPlatformCompiledStubRegisters( |
118 FrameDescription* output_frame, CodeStubInterfaceDescriptor* descriptor) { | 118 FrameDescription* output_frame, CodeStubInterfaceDescriptor* descriptor) { |
119 ApiFunction function(descriptor->deoptimization_handler_); | 119 ApiFunction function(descriptor->deoptimization_handler_); |
120 ExternalReference xref(&function, ExternalReference::BUILTIN_CALL, isolate_); | 120 ExternalReference xref(&function, ExternalReference::BUILTIN_CALL, isolate_); |
121 intptr_t handler = reinterpret_cast<intptr_t>(xref.address()); | 121 intptr_t handler = reinterpret_cast<intptr_t>(xref.address()); |
122 int params = descriptor->GetHandlerParameterCount(); | 122 int params = descriptor->GetHandlerParameterCount(); |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 | 379 |
380 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { | 380 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { |
381 // No out-of-line constant pool support. | 381 // No out-of-line constant pool support. |
382 UNREACHABLE(); | 382 UNREACHABLE(); |
383 } | 383 } |
384 | 384 |
385 | 385 |
386 #undef __ | 386 #undef __ |
387 | 387 |
388 } } // namespace v8::internal | 388 } } // namespace v8::internal |
OLD | NEW |