| 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 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 831 case DEBUG_BREAK_SLOT_AT_POSITION: | 831 case DEBUG_BREAK_SLOT_AT_POSITION: |
| 832 return "debug break slot at position"; | 832 return "debug break slot at position"; |
| 833 case DEBUG_BREAK_SLOT_AT_RETURN: | 833 case DEBUG_BREAK_SLOT_AT_RETURN: |
| 834 return "debug break slot at return"; | 834 return "debug break slot at return"; |
| 835 case DEBUG_BREAK_SLOT_AT_CALL: | 835 case DEBUG_BREAK_SLOT_AT_CALL: |
| 836 return "debug break slot at call"; | 836 return "debug break slot at call"; |
| 837 case CODE_AGE_SEQUENCE: | 837 case CODE_AGE_SEQUENCE: |
| 838 return "code age sequence"; | 838 return "code age sequence"; |
| 839 case GENERATOR_CONTINUATION: | 839 case GENERATOR_CONTINUATION: |
| 840 return "generator continuation"; | 840 return "generator continuation"; |
| 841 case WASM_MEMORY_REFERENCE: |
| 842 return "wasm memory reference"; |
| 841 case NUMBER_OF_MODES: | 843 case NUMBER_OF_MODES: |
| 842 case PC_JUMP: | 844 case PC_JUMP: |
| 843 UNREACHABLE(); | 845 UNREACHABLE(); |
| 844 return "number_of_modes"; | 846 return "number_of_modes"; |
| 845 } | 847 } |
| 846 return "unknown relocation type"; | 848 return "unknown relocation type"; |
| 847 } | 849 } |
| 848 | 850 |
| 849 | 851 |
| 850 void RelocInfo::Print(Isolate* isolate, std::ostream& os) { // NOLINT | 852 void RelocInfo::Print(Isolate* isolate, std::ostream& os) { // NOLINT |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 924 case POSITION: | 926 case POSITION: |
| 925 case STATEMENT_POSITION: | 927 case STATEMENT_POSITION: |
| 926 case EXTERNAL_REFERENCE: | 928 case EXTERNAL_REFERENCE: |
| 927 case DEOPT_REASON: | 929 case DEOPT_REASON: |
| 928 case CONST_POOL: | 930 case CONST_POOL: |
| 929 case VENEER_POOL: | 931 case VENEER_POOL: |
| 930 case DEBUG_BREAK_SLOT_AT_POSITION: | 932 case DEBUG_BREAK_SLOT_AT_POSITION: |
| 931 case DEBUG_BREAK_SLOT_AT_RETURN: | 933 case DEBUG_BREAK_SLOT_AT_RETURN: |
| 932 case DEBUG_BREAK_SLOT_AT_CALL: | 934 case DEBUG_BREAK_SLOT_AT_CALL: |
| 933 case GENERATOR_CONTINUATION: | 935 case GENERATOR_CONTINUATION: |
| 936 case WASM_MEMORY_REFERENCE: |
| 934 case NONE32: | 937 case NONE32: |
| 935 case NONE64: | 938 case NONE64: |
| 936 break; | 939 break; |
| 937 case NUMBER_OF_MODES: | 940 case NUMBER_OF_MODES: |
| 938 case PC_JUMP: | 941 case PC_JUMP: |
| 939 UNREACHABLE(); | 942 UNREACHABLE(); |
| 940 break; | 943 break; |
| 941 case CODE_AGE_SEQUENCE: | 944 case CODE_AGE_SEQUENCE: |
| 942 DCHECK(Code::IsYoungSequence(isolate, pc_) || code_age_stub()->IsCode()); | 945 DCHECK(Code::IsYoungSequence(isolate, pc_) || code_age_stub()->IsCode()); |
| 943 break; | 946 break; |
| (...skipping 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2027 | 2030 |
| 2028 | 2031 |
| 2029 void Assembler::DataAlign(int m) { | 2032 void Assembler::DataAlign(int m) { |
| 2030 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 2033 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
| 2031 while ((pc_offset() & (m - 1)) != 0) { | 2034 while ((pc_offset() & (m - 1)) != 0) { |
| 2032 db(0); | 2035 db(0); |
| 2033 } | 2036 } |
| 2034 } | 2037 } |
| 2035 } // namespace internal | 2038 } // namespace internal |
| 2036 } // namespace v8 | 2039 } // namespace v8 |
| OLD | NEW |