| 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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 : isolate_(isolate), | 343 : isolate_(isolate), |
| 344 function_(function), | 344 function_(function), |
| 345 bailout_id_(bailout_id), | 345 bailout_id_(bailout_id), |
| 346 bailout_type_(type), | 346 bailout_type_(type), |
| 347 from_(from), | 347 from_(from), |
| 348 fp_to_sp_delta_(fp_to_sp_delta), | 348 fp_to_sp_delta_(fp_to_sp_delta), |
| 349 input_(NULL), | 349 input_(NULL), |
| 350 output_count_(0), | 350 output_count_(0), |
| 351 jsframe_count_(0), | 351 jsframe_count_(0), |
| 352 output_(NULL), | 352 output_(NULL), |
| 353 frame_alignment_marker_(isolate->heap()->frame_alignment_marker()), | |
| 354 has_alignment_padding_(0), | |
| 355 deferred_heap_numbers_(0) { | 353 deferred_heap_numbers_(0) { |
| 356 if (FLAG_trace_deopt && type != OSR) { | 354 if (FLAG_trace_deopt && type != OSR) { |
| 357 if (type == DEBUGGER) { | 355 if (type == DEBUGGER) { |
| 358 PrintF("**** DEOPT FOR DEBUGGER: "); | 356 PrintF("**** DEOPT FOR DEBUGGER: "); |
| 359 } else { | 357 } else { |
| 360 PrintF("**** DEOPT: "); | 358 PrintF("**** DEOPT: "); |
| 361 } | 359 } |
| 362 function->PrintName(); | 360 function->PrintName(); |
| 363 PrintF(" at bailout #%u, address 0x%" V8PRIxPTR ", frame size %d\n", | 361 PrintF(" at bailout #%u, address 0x%" V8PRIxPTR ", frame size %d\n", |
| 364 bailout_id, | 362 bailout_id, |
| (...skipping 1263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1628 | 1626 |
| 1629 void DeoptimizedFrameInfo::Iterate(ObjectVisitor* v) { | 1627 void DeoptimizedFrameInfo::Iterate(ObjectVisitor* v) { |
| 1630 v->VisitPointer(BitCast<Object**>(&function_)); | 1628 v->VisitPointer(BitCast<Object**>(&function_)); |
| 1631 v->VisitPointers(parameters_, parameters_ + parameters_count_); | 1629 v->VisitPointers(parameters_, parameters_ + parameters_count_); |
| 1632 v->VisitPointers(expression_stack_, expression_stack_ + expression_count_); | 1630 v->VisitPointers(expression_stack_, expression_stack_ + expression_count_); |
| 1633 } | 1631 } |
| 1634 | 1632 |
| 1635 #endif // ENABLE_DEBUGGER_SUPPORT | 1633 #endif // ENABLE_DEBUGGER_SUPPORT |
| 1636 | 1634 |
| 1637 } } // namespace v8::internal | 1635 } } // namespace v8::internal |
| OLD | NEW |