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 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 : isolate_(isolate), | 351 : isolate_(isolate), |
352 function_(function), | 352 function_(function), |
353 bailout_id_(bailout_id), | 353 bailout_id_(bailout_id), |
354 bailout_type_(type), | 354 bailout_type_(type), |
355 from_(from), | 355 from_(from), |
356 fp_to_sp_delta_(fp_to_sp_delta), | 356 fp_to_sp_delta_(fp_to_sp_delta), |
357 input_(NULL), | 357 input_(NULL), |
358 output_count_(0), | 358 output_count_(0), |
359 jsframe_count_(0), | 359 jsframe_count_(0), |
360 output_(NULL), | 360 output_(NULL), |
361 frame_alignment_marker_(isolate->heap()->frame_alignment_marker()), | |
362 has_alignment_padding_(0), | |
363 deferred_heap_numbers_(0) { | 361 deferred_heap_numbers_(0) { |
364 if (FLAG_trace_deopt && type != OSR) { | 362 if (FLAG_trace_deopt && type != OSR) { |
365 if (type == DEBUGGER) { | 363 if (type == DEBUGGER) { |
366 PrintF("**** DEOPT FOR DEBUGGER: "); | 364 PrintF("**** DEOPT FOR DEBUGGER: "); |
367 } else { | 365 } else { |
368 PrintF("**** DEOPT: "); | 366 PrintF("**** DEOPT: "); |
369 } | 367 } |
370 function->PrintName(); | 368 function->PrintName(); |
371 PrintF(" at bailout #%u, address 0x%" V8PRIxPTR ", frame size %d\n", | 369 PrintF(" at bailout #%u, address 0x%" V8PRIxPTR ", frame size %d\n", |
372 bailout_id, | 370 bailout_id, |
(...skipping 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1661 | 1659 |
1662 void DeoptimizedFrameInfo::Iterate(ObjectVisitor* v) { | 1660 void DeoptimizedFrameInfo::Iterate(ObjectVisitor* v) { |
1663 v->VisitPointer(BitCast<Object**>(&function_)); | 1661 v->VisitPointer(BitCast<Object**>(&function_)); |
1664 v->VisitPointers(parameters_, parameters_ + parameters_count_); | 1662 v->VisitPointers(parameters_, parameters_ + parameters_count_); |
1665 v->VisitPointers(expression_stack_, expression_stack_ + expression_count_); | 1663 v->VisitPointers(expression_stack_, expression_stack_ + expression_count_); |
1666 } | 1664 } |
1667 | 1665 |
1668 #endif // ENABLE_DEBUGGER_SUPPORT | 1666 #endif // ENABLE_DEBUGGER_SUPPORT |
1669 | 1667 |
1670 } } // namespace v8::internal | 1668 } } // namespace v8::internal |
OLD | NEW |