Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Side by Side Diff: src/mips/deoptimizer-mips.cc

Issue 78283002: Restore saved caller FP registers on stub failure (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Port to ia32, arm, and mips Created 7 years, 1 month 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/mips/builtins-mips.cc ('k') | src/mips/lithium-codegen-mips.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 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
128 #define __ masm()-> 133 #define __ masm()->
129 134
130 135
131 // This code tries to be close to ia32 code so that any changes can be 136 // This code tries to be close to ia32 code so that any changes can be
132 // easily ported. 137 // easily ported.
133 void Deoptimizer::EntryGenerator::Generate() { 138 void Deoptimizer::EntryGenerator::Generate() {
134 GeneratePrologue(); 139 GeneratePrologue();
135 140
136 // Unlike on ARM we don't save all the registers, just the useful ones. 141 // Unlike on ARM we don't save all the registers, just the useful ones.
137 // For the rest, there are gaps on the stack, so the offsets remain the same. 142 // 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
363 368
364 void FrameDescription::SetCallerFp(unsigned offset, intptr_t value) { 369 void FrameDescription::SetCallerFp(unsigned offset, intptr_t value) {
365 SetFrameSlot(offset, value); 370 SetFrameSlot(offset, value);
366 } 371 }
367 372
368 373
369 #undef __ 374 #undef __
370 375
371 376
372 } } // namespace v8::internal 377 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/mips/builtins-mips.cc ('k') | src/mips/lithium-codegen-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698