OLD | NEW |
1 | 1 |
2 // Copyright 2011 the V8 project authors. All rights reserved. | 2 // Copyright 2011 the V8 project authors. All rights reserved. |
3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
5 | 5 |
6 #include "v8.h" | 6 #include "v8.h" |
7 | 7 |
8 #include "codegen.h" | 8 #include "codegen.h" |
9 #include "deoptimizer.h" | 9 #include "deoptimizer.h" |
10 #include "full-codegen.h" | 10 #include "full-codegen.h" |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 } | 118 } |
119 } | 119 } |
120 | 120 |
121 | 121 |
122 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { | 122 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { |
123 // There is no dynamic alignment padding on MIPS in the input frame. | 123 // There is no dynamic alignment padding on MIPS in the input frame. |
124 return false; | 124 return false; |
125 } | 125 } |
126 | 126 |
127 | 127 |
128 Code* Deoptimizer::NotifyStubFailureBuiltin() { | |
129 return isolate_->builtins()->builtin(Builtins::kNotifyStubFailureSaveDoubles); | |
130 } | |
131 | |
132 | |
133 #define __ masm()-> | 128 #define __ masm()-> |
134 | 129 |
135 | 130 |
136 // This code tries to be close to ia32 code so that any changes can be | 131 // This code tries to be close to ia32 code so that any changes can be |
137 // easily ported. | 132 // easily ported. |
138 void Deoptimizer::EntryGenerator::Generate() { | 133 void Deoptimizer::EntryGenerator::Generate() { |
139 GeneratePrologue(); | 134 GeneratePrologue(); |
140 | 135 |
141 // Unlike on ARM we don't save all the registers, just the useful ones. | 136 // Unlike on ARM we don't save all the registers, just the useful ones. |
142 // For the rest, there are gaps on the stack, so the offsets remain the same. | 137 // For the rest, there are gaps on the stack, so the offsets remain the same. |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
374 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { | 369 void FrameDescription::SetCallerConstantPool(unsigned offset, intptr_t value) { |
375 // No out-of-line constant pool support. | 370 // No out-of-line constant pool support. |
376 UNREACHABLE(); | 371 UNREACHABLE(); |
377 } | 372 } |
378 | 373 |
379 | 374 |
380 #undef __ | 375 #undef __ |
381 | 376 |
382 | 377 |
383 } } // namespace v8::internal | 378 } } // namespace v8::internal |
OLD | NEW |