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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
347 unsigned bailout_id, | 347 unsigned bailout_id, |
348 Address from, | 348 Address from, |
349 int fp_to_sp_delta, | 349 int fp_to_sp_delta, |
350 Code* optimized_code) | 350 Code* optimized_code) |
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 has_alignment_padding_(0), |
357 input_(NULL), | 358 input_(NULL), |
358 output_count_(0), | 359 output_count_(0), |
359 jsframe_count_(0), | 360 jsframe_count_(0), |
360 output_(NULL), | 361 output_(NULL), |
361 deferred_heap_numbers_(0) { | 362 deferred_heap_numbers_(0) { |
362 if (FLAG_trace_deopt && type != OSR) { | 363 if (FLAG_trace_deopt && type != OSR) { |
363 if (type == DEBUGGER) { | 364 if (type == DEBUGGER) { |
364 PrintF("**** DEOPT FOR DEBUGGER: "); | 365 PrintF("**** DEOPT FOR DEBUGGER: "); |
365 } else { | 366 } else { |
366 PrintF("**** DEOPT: "); | 367 PrintF("**** DEOPT: "); |
(...skipping 1292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1659 | 1660 |
1660 void DeoptimizedFrameInfo::Iterate(ObjectVisitor* v) { | 1661 void DeoptimizedFrameInfo::Iterate(ObjectVisitor* v) { |
1661 v->VisitPointer(BitCast<Object**>(&function_)); | 1662 v->VisitPointer(BitCast<Object**>(&function_)); |
1662 v->VisitPointers(parameters_, parameters_ + parameters_count_); | 1663 v->VisitPointers(parameters_, parameters_ + parameters_count_); |
1663 v->VisitPointers(expression_stack_, expression_stack_ + expression_count_); | 1664 v->VisitPointers(expression_stack_, expression_stack_ + expression_count_); |
1664 } | 1665 } |
1665 | 1666 |
1666 #endif // ENABLE_DEBUGGER_SUPPORT | 1667 #endif // ENABLE_DEBUGGER_SUPPORT |
1667 | 1668 |
1668 } } // namespace v8::internal | 1669 } } // namespace v8::internal |
OLD | NEW |