| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 } | 217 } |
| 218 } | 218 } |
| 219 | 219 |
| 220 | 220 |
| 221 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { | 221 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { |
| 222 // There is no dynamic alignment padding on ARM in the input frame. | 222 // There is no dynamic alignment padding on ARM in the input frame. |
| 223 return false; | 223 return false; |
| 224 } | 224 } |
| 225 | 225 |
| 226 | 226 |
| 227 Code* Deoptimizer::NotifyStubFailureBuiltin() { |
| 228 return isolate_->builtins()->builtin(Builtins::kNotifyStubFailureSaveDoubles); |
| 229 } |
| 230 |
| 231 |
| 227 #define __ masm()-> | 232 #define __ masm()-> |
| 228 | 233 |
| 229 // This code tries to be close to ia32 code so that any changes can be | 234 // This code tries to be close to ia32 code so that any changes can be |
| 230 // easily ported. | 235 // easily ported. |
| 231 void Deoptimizer::EntryGenerator::Generate() { | 236 void Deoptimizer::EntryGenerator::Generate() { |
| 232 GeneratePrologue(); | 237 GeneratePrologue(); |
| 233 | 238 |
| 234 // Save all general purpose registers before messing with them. | 239 // Save all general purpose registers before messing with them. |
| 235 const int kNumberOfRegisters = Register::kNumRegisters; | 240 const int kNumberOfRegisters = Register::kNumRegisters; |
| 236 | 241 |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 438 | 443 |
| 439 | 444 |
| 440 void FrameDescription::SetCallerFp(unsigned offset, intptr_t value) { | 445 void FrameDescription::SetCallerFp(unsigned offset, intptr_t value) { |
| 441 SetFrameSlot(offset, value); | 446 SetFrameSlot(offset, value); |
| 442 } | 447 } |
| 443 | 448 |
| 444 | 449 |
| 445 #undef __ | 450 #undef __ |
| 446 | 451 |
| 447 } } // namespace v8::internal | 452 } } // namespace v8::internal |
| OLD | NEW |