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

Side by Side Diff: src/arm/deoptimizer-arm.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/arm/builtins-arm.cc ('k') | src/arm/lithium-codegen-arm.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 } 120 }
121 } 121 }
122 122
123 123
124 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) { 124 bool Deoptimizer::HasAlignmentPadding(JSFunction* function) {
125 // There is no dynamic alignment padding on ARM in the input frame. 125 // There is no dynamic alignment padding on ARM in the input frame.
126 return false; 126 return false;
127 } 127 }
128 128
129 129
130 Code* Deoptimizer::NotifyStubFailureBuiltin() {
131 return isolate_->builtins()->builtin(Builtins::kNotifyStubFailureSaveDoubles);
132 }
133
134
130 #define __ masm()-> 135 #define __ masm()->
131 136
132 // This code tries to be close to ia32 code so that any changes can be 137 // This code tries to be close to ia32 code so that any changes can be
133 // easily ported. 138 // easily ported.
134 void Deoptimizer::EntryGenerator::Generate() { 139 void Deoptimizer::EntryGenerator::Generate() {
135 GeneratePrologue(); 140 GeneratePrologue();
136 141
137 // Save all general purpose registers before messing with them. 142 // Save all general purpose registers before messing with them.
138 const int kNumberOfRegisters = Register::kNumRegisters; 143 const int kNumberOfRegisters = Register::kNumRegisters;
139 144
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 346
342 347
343 void FrameDescription::SetCallerFp(unsigned offset, intptr_t value) { 348 void FrameDescription::SetCallerFp(unsigned offset, intptr_t value) {
344 SetFrameSlot(offset, value); 349 SetFrameSlot(offset, value);
345 } 350 }
346 351
347 352
348 #undef __ 353 #undef __
349 354
350 } } // namespace v8::internal 355 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/builtins-arm.cc ('k') | src/arm/lithium-codegen-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698