| OLD | NEW |
| 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
| 2 // All Rights Reserved. | 2 // All Rights Reserved. |
| 3 // | 3 // |
| 4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
| 5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
| 6 // met: | 6 // met: |
| 7 // | 7 // |
| 8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
| 9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
| 10 // | 10 // |
| (...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 356 AdvanceReadPC(); | 356 AdvanceReadPC(); |
| 357 } | 357 } |
| 358 } else if (extra_tag == kDataJumpTag) { | 358 } else if (extra_tag == kDataJumpTag) { |
| 359 // Check if we want debug modes (the only ones with data). | 359 // Check if we want debug modes (the only ones with data). |
| 360 if (mode_mask_ & RelocInfo::kDebugMask) { | 360 if (mode_mask_ & RelocInfo::kDebugMask) { |
| 361 int top_tag = GetTopTag(); | 361 int top_tag = GetTopTag(); |
| 362 AdvanceReadData(); | 362 AdvanceReadData(); |
| 363 if (SetMode(DebugInfoModeFromTag(top_tag))) return; | 363 if (SetMode(DebugInfoModeFromTag(top_tag))) return; |
| 364 } else { | 364 } else { |
| 365 // Otherwise, just skip over the data. | 365 // Otherwise, just skip over the data. |
| 366 Advance(kIntSize); | 366 Advance(kIntptrSize); |
| 367 } | 367 } |
| 368 } else { | 368 } else { |
| 369 AdvanceReadPC(); | 369 AdvanceReadPC(); |
| 370 if (SetMode(static_cast<RelocInfo::Mode>(extra_tag))) return; | 370 if (SetMode(static_cast<RelocInfo::Mode>(extra_tag))) return; |
| 371 } | 371 } |
| 372 } | 372 } |
| 373 } | 373 } |
| 374 done_ = true; | 374 done_ = true; |
| 375 } | 375 } |
| 376 | 376 |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 633 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); | 633 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); |
| 634 } | 634 } |
| 635 | 635 |
| 636 | 636 |
| 637 ExternalReference ExternalReference::debug_step_in_fp_address() { | 637 ExternalReference ExternalReference::debug_step_in_fp_address() { |
| 638 return ExternalReference(Debug::step_in_fp_addr()); | 638 return ExternalReference(Debug::step_in_fp_addr()); |
| 639 } | 639 } |
| 640 #endif | 640 #endif |
| 641 | 641 |
| 642 } } // namespace v8::internal | 642 } } // namespace v8::internal |
| OLD | NEW |