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 431 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
442 case RelocInfo::COMMENT: | 442 case RelocInfo::COMMENT: |
443 return "comment"; | 443 return "comment"; |
444 case RelocInfo::POSITION: | 444 case RelocInfo::POSITION: |
445 return "position"; | 445 return "position"; |
446 case RelocInfo::STATEMENT_POSITION: | 446 case RelocInfo::STATEMENT_POSITION: |
447 return "statement position"; | 447 return "statement position"; |
448 case RelocInfo::EXTERNAL_REFERENCE: | 448 case RelocInfo::EXTERNAL_REFERENCE: |
449 return "external reference"; | 449 return "external reference"; |
450 case RelocInfo::INTERNAL_REFERENCE: | 450 case RelocInfo::INTERNAL_REFERENCE: |
451 return "internal reference"; | 451 return "internal reference"; |
| 452 case RelocInfo::DEBUG_BREAK_SLOT: |
| 453 #ifndef ENABLE_DEBUGGER_SUPPORT |
| 454 UNREACHABLE(); |
| 455 #endif |
| 456 return "debug break slot"; |
452 case RelocInfo::NUMBER_OF_MODES: | 457 case RelocInfo::NUMBER_OF_MODES: |
453 UNREACHABLE(); | 458 UNREACHABLE(); |
454 return "number_of_modes"; | 459 return "number_of_modes"; |
455 } | 460 } |
456 return "unknown relocation type"; | 461 return "unknown relocation type"; |
457 } | 462 } |
458 | 463 |
459 | 464 |
460 void RelocInfo::Print() { | 465 void RelocInfo::Print() { |
461 PrintF("%p %s", pc_, RelocModeName(rmode_)); | 466 PrintF("%p %s", pc_, RelocModeName(rmode_)); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
506 ASSERT(code->address() == HeapObject::cast(found)->address()); | 511 ASSERT(code->address() == HeapObject::cast(found)->address()); |
507 break; | 512 break; |
508 } | 513 } |
509 case RUNTIME_ENTRY: | 514 case RUNTIME_ENTRY: |
510 case JS_RETURN: | 515 case JS_RETURN: |
511 case COMMENT: | 516 case COMMENT: |
512 case POSITION: | 517 case POSITION: |
513 case STATEMENT_POSITION: | 518 case STATEMENT_POSITION: |
514 case EXTERNAL_REFERENCE: | 519 case EXTERNAL_REFERENCE: |
515 case INTERNAL_REFERENCE: | 520 case INTERNAL_REFERENCE: |
| 521 case DEBUG_BREAK_SLOT: |
516 case NONE: | 522 case NONE: |
517 break; | 523 break; |
518 case NUMBER_OF_MODES: | 524 case NUMBER_OF_MODES: |
519 UNREACHABLE(); | 525 UNREACHABLE(); |
520 break; | 526 break; |
521 } | 527 } |
522 } | 528 } |
523 #endif // DEBUG | 529 #endif // DEBUG |
524 | 530 |
525 | 531 |
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
786 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); | 792 return ExternalReference(Redirect(FUNCTION_ADDR(Debug::Break))); |
787 } | 793 } |
788 | 794 |
789 | 795 |
790 ExternalReference ExternalReference::debug_step_in_fp_address() { | 796 ExternalReference ExternalReference::debug_step_in_fp_address() { |
791 return ExternalReference(Debug::step_in_fp_addr()); | 797 return ExternalReference(Debug::step_in_fp_addr()); |
792 } | 798 } |
793 #endif | 799 #endif |
794 | 800 |
795 } } // namespace v8::internal | 801 } } // namespace v8::internal |
OLD | NEW |