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 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 } else if (rmode_ == EMBEDDED_OBJECT) { | 443 } else if (rmode_ == EMBEDDED_OBJECT) { |
444 PrintF(" ("); | 444 PrintF(" ("); |
445 target_object()->ShortPrint(); | 445 target_object()->ShortPrint(); |
446 PrintF(")"); | 446 PrintF(")"); |
447 } else if (rmode_ == EXTERNAL_REFERENCE) { | 447 } else if (rmode_ == EXTERNAL_REFERENCE) { |
448 ExternalReferenceEncoder ref_encoder; | 448 ExternalReferenceEncoder ref_encoder; |
449 PrintF(" (%s) (%p)", | 449 PrintF(" (%s) (%p)", |
450 ref_encoder.NameOfAddress(*target_reference_address()), | 450 ref_encoder.NameOfAddress(*target_reference_address()), |
451 *target_reference_address()); | 451 *target_reference_address()); |
452 } else if (IsCodeTarget(rmode_)) { | 452 } else if (IsCodeTarget(rmode_)) { |
453 Code* code = Debug::GetCodeTarget(target_address()); | 453 Code* code = Code::GetCodeFromTargetAddress(target_address()); |
454 PrintF(" (%s) (%p)", Code::Kind2String(code->kind()), target_address()); | 454 PrintF(" (%s) (%p)", Code::Kind2String(code->kind()), target_address()); |
455 } else if (IsPosition(rmode_)) { | 455 } else if (IsPosition(rmode_)) { |
456 PrintF(" (%d)", data()); | 456 PrintF(" (%d)", data()); |
457 } | 457 } |
458 | 458 |
459 PrintF("\n"); | 459 PrintF("\n"); |
460 } | 460 } |
461 #endif // ENABLE_DISASSEMBLER | 461 #endif // ENABLE_DISASSEMBLER |
462 | 462 |
463 | 463 |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 | 570 |
571 ExternalReference ExternalReference::new_space_allocation_limit_address() { | 571 ExternalReference ExternalReference::new_space_allocation_limit_address() { |
572 return ExternalReference(Heap::NewSpaceAllocationLimitAddress()); | 572 return ExternalReference(Heap::NewSpaceAllocationLimitAddress()); |
573 } | 573 } |
574 | 574 |
575 ExternalReference ExternalReference::debug_step_in_fp_address() { | 575 ExternalReference ExternalReference::debug_step_in_fp_address() { |
576 return ExternalReference(Debug::step_in_fp_addr()); | 576 return ExternalReference(Debug::step_in_fp_addr()); |
577 } | 577 } |
578 | 578 |
579 } } // namespace v8::internal | 579 } } // namespace v8::internal |
OLD | NEW |