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

Side by Side Diff: src/deoptimizer.cc

Issue 7976024: Add dynamic stack frame alignment to optimized functions with untagged doubles on the stack. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Incorporate code review comments. Created 9 years, 3 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/deoptimizer.h ('k') | src/heap.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 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 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 Code* optimized_code) 316 Code* optimized_code)
317 : isolate_(isolate), 317 : isolate_(isolate),
318 function_(function), 318 function_(function),
319 bailout_id_(bailout_id), 319 bailout_id_(bailout_id),
320 bailout_type_(type), 320 bailout_type_(type),
321 from_(from), 321 from_(from),
322 fp_to_sp_delta_(fp_to_sp_delta), 322 fp_to_sp_delta_(fp_to_sp_delta),
323 input_(NULL), 323 input_(NULL),
324 output_count_(0), 324 output_count_(0),
325 output_(NULL), 325 output_(NULL),
326 frame_alignment_marker_(isolate->heap()->frame_alignment_marker()),
327 has_alignment_padding_(0),
326 deferred_heap_numbers_(0) { 328 deferred_heap_numbers_(0) {
327 if (FLAG_trace_deopt && type != OSR) { 329 if (FLAG_trace_deopt && type != OSR) {
328 if (type == DEBUGGER) { 330 if (type == DEBUGGER) {
329 PrintF("**** DEOPT FOR DEBUGGER: "); 331 PrintF("**** DEOPT FOR DEBUGGER: ");
330 } else { 332 } else {
331 PrintF("**** DEOPT: "); 333 PrintF("**** DEOPT: ");
332 } 334 }
333 function->PrintName(); 335 function->PrintName();
334 PrintF(" at bailout #%u, address 0x%" V8PRIxPTR ", frame size %d\n", 336 PrintF(" at bailout #%u, address 0x%" V8PRIxPTR ", frame size %d\n",
335 bailout_id, 337 bailout_id,
(...skipping 1144 matching lines...) Expand 10 before | Expand all | Expand 10 after
1480 1482
1481 void DeoptimizedFrameInfo::Iterate(ObjectVisitor* v) { 1483 void DeoptimizedFrameInfo::Iterate(ObjectVisitor* v) {
1482 v->VisitPointer(BitCast<Object**>(&function_)); 1484 v->VisitPointer(BitCast<Object**>(&function_));
1483 v->VisitPointers(parameters_, parameters_ + parameters_count_); 1485 v->VisitPointers(parameters_, parameters_ + parameters_count_);
1484 v->VisitPointers(expression_stack_, expression_stack_ + expression_count_); 1486 v->VisitPointers(expression_stack_, expression_stack_ + expression_count_);
1485 } 1487 }
1486 1488
1487 #endif // ENABLE_DEBUGGER_SUPPORT 1489 #endif // ENABLE_DEBUGGER_SUPPORT
1488 1490
1489 } } // namespace v8::internal 1491 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/deoptimizer.h ('k') | src/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698