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

Side by Side Diff: src/arm/lithium-codegen-arm.cc

Issue 6334083: Streamline the code for patching optimized code for lazy deopt. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge/build/ia32
Patch Set: Rewrite the incorrect comment mentioning absolute calls. Created 9 years, 10 months 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/deoptimizer-arm.cc ('k') | src/deoptimizer.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 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 return GeneratePrologue() && 216 return GeneratePrologue() &&
217 GenerateBody() && 217 GenerateBody() &&
218 GenerateDeferredCode() && 218 GenerateDeferredCode() &&
219 GenerateSafepointTable(); 219 GenerateSafepointTable();
220 } 220 }
221 221
222 222
223 void LCodeGen::FinishCode(Handle<Code> code) { 223 void LCodeGen::FinishCode(Handle<Code> code) {
224 ASSERT(is_done()); 224 ASSERT(is_done());
225 code->set_stack_slots(StackSlotCount()); 225 code->set_stack_slots(StackSlotCount());
226 code->set_safepoint_table_start(safepoints_.GetCodeOffset()); 226 code->set_safepoint_table_offset(safepoints_.GetCodeOffset());
227 PopulateDeoptimizationData(code); 227 PopulateDeoptimizationData(code);
228 } 228 }
229 229
230 230
231 void LCodeGen::Abort(const char* format, ...) { 231 void LCodeGen::Abort(const char* format, ...) {
232 if (FLAG_trace_bailout) { 232 if (FLAG_trace_bailout) {
233 SmartPointer<char> debug_name = graph()->debug_name()->ToCString(); 233 SmartPointer<char> debug_name = graph()->debug_name()->ToCString();
234 PrintF("Aborting LCodeGen in @\"%s\": ", *debug_name); 234 PrintF("Aborting LCodeGen in @\"%s\": ", *debug_name);
235 va_list arguments; 235 va_list arguments;
236 va_start(arguments, format); 236 va_start(arguments, format);
(...skipping 3445 matching lines...) Expand 10 before | Expand all | Expand 10 after
3682 3682
3683 3683
3684 void LCodeGen::DoOsrEntry(LOsrEntry* instr) { 3684 void LCodeGen::DoOsrEntry(LOsrEntry* instr) {
3685 Abort("DoOsrEntry unimplemented."); 3685 Abort("DoOsrEntry unimplemented.");
3686 } 3686 }
3687 3687
3688 3688
3689 #undef __ 3689 #undef __
3690 3690
3691 } } // namespace v8::internal 3691 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/arm/deoptimizer-arm.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698