| 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 819 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 830 case DEBUG_BREAK_SLOT_AT_POSITION: | 830 case DEBUG_BREAK_SLOT_AT_POSITION: |
| 831 return "debug break slot at position"; | 831 return "debug break slot at position"; |
| 832 case DEBUG_BREAK_SLOT_AT_RETURN: | 832 case DEBUG_BREAK_SLOT_AT_RETURN: |
| 833 return "debug break slot at return"; | 833 return "debug break slot at return"; |
| 834 case DEBUG_BREAK_SLOT_AT_CALL: | 834 case DEBUG_BREAK_SLOT_AT_CALL: |
| 835 return "debug break slot at call"; | 835 return "debug break slot at call"; |
| 836 case CODE_AGE_SEQUENCE: | 836 case CODE_AGE_SEQUENCE: |
| 837 return "code age sequence"; | 837 return "code age sequence"; |
| 838 case GENERATOR_CONTINUATION: | 838 case GENERATOR_CONTINUATION: |
| 839 return "generator continuation"; | 839 return "generator continuation"; |
| 840 case WASM_HEAP_OBJECT: |
| 841 return "wasm heap object"; |
| 840 case NUMBER_OF_MODES: | 842 case NUMBER_OF_MODES: |
| 841 case PC_JUMP: | 843 case PC_JUMP: |
| 842 UNREACHABLE(); | 844 UNREACHABLE(); |
| 843 return "number_of_modes"; | 845 return "number_of_modes"; |
| 844 } | 846 } |
| 845 return "unknown relocation type"; | 847 return "unknown relocation type"; |
| 846 } | 848 } |
| 847 | 849 |
| 848 | 850 |
| 849 void RelocInfo::Print(Isolate* isolate, std::ostream& os) { // NOLINT | 851 void RelocInfo::Print(Isolate* isolate, std::ostream& os) { // NOLINT |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 923 case POSITION: | 925 case POSITION: |
| 924 case STATEMENT_POSITION: | 926 case STATEMENT_POSITION: |
| 925 case EXTERNAL_REFERENCE: | 927 case EXTERNAL_REFERENCE: |
| 926 case DEOPT_REASON: | 928 case DEOPT_REASON: |
| 927 case CONST_POOL: | 929 case CONST_POOL: |
| 928 case VENEER_POOL: | 930 case VENEER_POOL: |
| 929 case DEBUG_BREAK_SLOT_AT_POSITION: | 931 case DEBUG_BREAK_SLOT_AT_POSITION: |
| 930 case DEBUG_BREAK_SLOT_AT_RETURN: | 932 case DEBUG_BREAK_SLOT_AT_RETURN: |
| 931 case DEBUG_BREAK_SLOT_AT_CALL: | 933 case DEBUG_BREAK_SLOT_AT_CALL: |
| 932 case GENERATOR_CONTINUATION: | 934 case GENERATOR_CONTINUATION: |
| 935 case WASM_HEAP_OBJECT: |
| 933 case NONE32: | 936 case NONE32: |
| 934 case NONE64: | 937 case NONE64: |
| 935 break; | 938 break; |
| 936 case NUMBER_OF_MODES: | 939 case NUMBER_OF_MODES: |
| 937 case PC_JUMP: | 940 case PC_JUMP: |
| 938 UNREACHABLE(); | 941 UNREACHABLE(); |
| 939 break; | 942 break; |
| 940 case CODE_AGE_SEQUENCE: | 943 case CODE_AGE_SEQUENCE: |
| 941 DCHECK(Code::IsYoungSequence(isolate, pc_) || code_age_stub()->IsCode()); | 944 DCHECK(Code::IsYoungSequence(isolate, pc_) || code_age_stub()->IsCode()); |
| 942 break; | 945 break; |
| (...skipping 990 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1933 | 1936 |
| 1934 | 1937 |
| 1935 void Assembler::DataAlign(int m) { | 1938 void Assembler::DataAlign(int m) { |
| 1936 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 1939 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
| 1937 while ((pc_offset() & (m - 1)) != 0) { | 1940 while ((pc_offset() & (m - 1)) != 0) { |
| 1938 db(0); | 1941 db(0); |
| 1939 } | 1942 } |
| 1940 } | 1943 } |
| 1941 } // namespace internal | 1944 } // namespace internal |
| 1942 } // namespace v8 | 1945 } // namespace v8 |
| OLD | NEW |