| 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 // Redistribution and use in source and binary forms, with or without | 3 // Redistribution and use in source and binary forms, with or without |
| 4 // modification, are permitted provided that the following conditions are | 4 // modification, are permitted provided that the following conditions are |
| 5 // met: | 5 // met: |
| 6 // | 6 // |
| 7 // * Redistributions of source code must retain the above copyright | 7 // * Redistributions of source code must retain the above copyright |
| 8 // notice, this list of conditions and the following disclaimer. | 8 // notice, this list of conditions and the following disclaimer. |
| 9 // * Redistributions in binary form must reproduce the above | 9 // * Redistributions in binary form must reproduce the above |
| 10 // copyright notice, this list of conditions and the following | 10 // copyright notice, this list of conditions and the following |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 } | 203 } |
| 204 } | 204 } |
| 205 | 205 |
| 206 | 206 |
| 207 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { | 207 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { |
| 208 // There is no dynamic alignment padding on MIPS in the input frame. | 208 // There is no dynamic alignment padding on MIPS in the input frame. |
| 209 return false; | 209 return false; |
| 210 } | 210 } |
| 211 | 211 |
| 212 | 212 |
| 213 Code* Deoptimizer::NotifyStubFailureBuiltin() { |
| 214 return isolate_->builtins()->builtin(Builtins::kNotifyStubFailureSaveDoubles); |
| 215 } |
| 216 |
| 217 |
| 213 #define __ masm()-> | 218 #define __ masm()-> |
| 214 | 219 |
| 215 | 220 |
| 216 // This code tries to be close to ia32 code so that any changes can be | 221 // This code tries to be close to ia32 code so that any changes can be |
| 217 // easily ported. | 222 // easily ported. |
| 218 void Deoptimizer::EntryGenerator::Generate() { | 223 void Deoptimizer::EntryGenerator::Generate() { |
| 219 GeneratePrologue(); | 224 GeneratePrologue(); |
| 220 | 225 |
| 221 // Unlike on ARM we don't save all the registers, just the useful ones. | 226 // Unlike on ARM we don't save all the registers, just the useful ones. |
| 222 // For the rest, there are gaps on the stack, so the offsets remain the same. | 227 // For the rest, there are gaps on the stack, so the offsets remain the same. |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 | 453 |
| 449 void FrameDescription::SetCallerFp(unsigned offset, intptr_t value) { | 454 void FrameDescription::SetCallerFp(unsigned offset, intptr_t value) { |
| 450 SetFrameSlot(offset, value); | 455 SetFrameSlot(offset, value); |
| 451 } | 456 } |
| 452 | 457 |
| 453 | 458 |
| 454 #undef __ | 459 #undef __ |
| 455 | 460 |
| 456 | 461 |
| 457 } } // namespace v8::internal | 462 } } // namespace v8::internal |
| OLD | NEW |