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 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
825 case RelocInfo::COMMENT: | 825 case RelocInfo::COMMENT: |
826 return "comment"; | 826 return "comment"; |
827 case RelocInfo::POSITION: | 827 case RelocInfo::POSITION: |
828 return "position"; | 828 return "position"; |
829 case RelocInfo::STATEMENT_POSITION: | 829 case RelocInfo::STATEMENT_POSITION: |
830 return "statement position"; | 830 return "statement position"; |
831 case RelocInfo::EXTERNAL_REFERENCE: | 831 case RelocInfo::EXTERNAL_REFERENCE: |
832 return "external reference"; | 832 return "external reference"; |
833 case RelocInfo::INTERNAL_REFERENCE: | 833 case RelocInfo::INTERNAL_REFERENCE: |
834 return "internal reference"; | 834 return "internal reference"; |
| 835 case RelocInfo::INTERNAL_REFERENCE_ENCODED: |
| 836 return "encoded internal reference"; |
835 case RelocInfo::DEOPT_REASON: | 837 case RelocInfo::DEOPT_REASON: |
836 return "deopt reason"; | 838 return "deopt reason"; |
837 case RelocInfo::CONST_POOL: | 839 case RelocInfo::CONST_POOL: |
838 return "constant pool"; | 840 return "constant pool"; |
839 case RelocInfo::VENEER_POOL: | 841 case RelocInfo::VENEER_POOL: |
840 return "veneer pool"; | 842 return "veneer pool"; |
841 case RelocInfo::DEBUG_BREAK_SLOT: | 843 case RelocInfo::DEBUG_BREAK_SLOT: |
842 return "debug break slot"; | 844 return "debug break slot"; |
843 case RelocInfo::CODE_AGE_SEQUENCE: | 845 case RelocInfo::CODE_AGE_SEQUENCE: |
844 return "code_age_sequence"; | 846 return "code_age_sequence"; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
912 CHECK(code->address() == HeapObject::cast(found)->address()); | 914 CHECK(code->address() == HeapObject::cast(found)->address()); |
913 break; | 915 break; |
914 } | 916 } |
915 case RUNTIME_ENTRY: | 917 case RUNTIME_ENTRY: |
916 case JS_RETURN: | 918 case JS_RETURN: |
917 case COMMENT: | 919 case COMMENT: |
918 case POSITION: | 920 case POSITION: |
919 case STATEMENT_POSITION: | 921 case STATEMENT_POSITION: |
920 case EXTERNAL_REFERENCE: | 922 case EXTERNAL_REFERENCE: |
921 case INTERNAL_REFERENCE: | 923 case INTERNAL_REFERENCE: |
| 924 case INTERNAL_REFERENCE_ENCODED: |
922 case DEOPT_REASON: | 925 case DEOPT_REASON: |
923 case CONST_POOL: | 926 case CONST_POOL: |
924 case VENEER_POOL: | 927 case VENEER_POOL: |
925 case DEBUG_BREAK_SLOT: | 928 case DEBUG_BREAK_SLOT: |
926 case NONE32: | 929 case NONE32: |
927 case NONE64: | 930 case NONE64: |
928 break; | 931 break; |
929 case NUMBER_OF_MODES: | 932 case NUMBER_OF_MODES: |
930 UNREACHABLE(); | 933 UNREACHABLE(); |
931 break; | 934 break; |
(...skipping 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1671 RecordRelocInfo(RelocInfo::JS_RETURN); | 1674 RecordRelocInfo(RelocInfo::JS_RETURN); |
1672 } | 1675 } |
1673 | 1676 |
1674 | 1677 |
1675 void Assembler::RecordDebugBreakSlot() { | 1678 void Assembler::RecordDebugBreakSlot() { |
1676 positions_recorder()->WriteRecordedPositions(); | 1679 positions_recorder()->WriteRecordedPositions(); |
1677 EnsureSpace ensure_space(this); | 1680 EnsureSpace ensure_space(this); |
1678 RecordRelocInfo(RelocInfo::DEBUG_BREAK_SLOT); | 1681 RecordRelocInfo(RelocInfo::DEBUG_BREAK_SLOT); |
1679 } | 1682 } |
1680 } } // namespace v8::internal | 1683 } } // namespace v8::internal |
OLD | NEW |