| 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 849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 860 case DEBUG_BREAK_SLOT_AT_TAIL_CALL: | 860 case DEBUG_BREAK_SLOT_AT_TAIL_CALL: |
| 861 return "debug break slot at tail call"; | 861 return "debug break slot at tail call"; |
| 862 case CODE_AGE_SEQUENCE: | 862 case CODE_AGE_SEQUENCE: |
| 863 return "code age sequence"; | 863 return "code age sequence"; |
| 864 case GENERATOR_CONTINUATION: | 864 case GENERATOR_CONTINUATION: |
| 865 return "generator continuation"; | 865 return "generator continuation"; |
| 866 case WASM_MEMORY_REFERENCE: | 866 case WASM_MEMORY_REFERENCE: |
| 867 return "wasm memory reference"; | 867 return "wasm memory reference"; |
| 868 case WASM_MEMORY_SIZE_REFERENCE: | 868 case WASM_MEMORY_SIZE_REFERENCE: |
| 869 return "wasm memory size reference"; | 869 return "wasm memory size reference"; |
| 870 case WASM_GLOBAL_REFERENCE: |
| 871 return "wasm global value reference"; |
| 870 case NUMBER_OF_MODES: | 872 case NUMBER_OF_MODES: |
| 871 case PC_JUMP: | 873 case PC_JUMP: |
| 872 UNREACHABLE(); | 874 UNREACHABLE(); |
| 873 return "number_of_modes"; | 875 return "number_of_modes"; |
| 874 } | 876 } |
| 875 return "unknown relocation type"; | 877 return "unknown relocation type"; |
| 876 } | 878 } |
| 877 | 879 |
| 878 | 880 |
| 879 void RelocInfo::Print(Isolate* isolate, std::ostream& os) { // NOLINT | 881 void RelocInfo::Print(Isolate* isolate, std::ostream& os) { // NOLINT |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 957 case DEOPT_ID: | 959 case DEOPT_ID: |
| 958 case CONST_POOL: | 960 case CONST_POOL: |
| 959 case VENEER_POOL: | 961 case VENEER_POOL: |
| 960 case DEBUG_BREAK_SLOT_AT_POSITION: | 962 case DEBUG_BREAK_SLOT_AT_POSITION: |
| 961 case DEBUG_BREAK_SLOT_AT_RETURN: | 963 case DEBUG_BREAK_SLOT_AT_RETURN: |
| 962 case DEBUG_BREAK_SLOT_AT_CALL: | 964 case DEBUG_BREAK_SLOT_AT_CALL: |
| 963 case DEBUG_BREAK_SLOT_AT_TAIL_CALL: | 965 case DEBUG_BREAK_SLOT_AT_TAIL_CALL: |
| 964 case GENERATOR_CONTINUATION: | 966 case GENERATOR_CONTINUATION: |
| 965 case WASM_MEMORY_REFERENCE: | 967 case WASM_MEMORY_REFERENCE: |
| 966 case WASM_MEMORY_SIZE_REFERENCE: | 968 case WASM_MEMORY_SIZE_REFERENCE: |
| 969 case WASM_GLOBAL_REFERENCE: |
| 967 case NONE32: | 970 case NONE32: |
| 968 case NONE64: | 971 case NONE64: |
| 969 break; | 972 break; |
| 970 case NUMBER_OF_MODES: | 973 case NUMBER_OF_MODES: |
| 971 case PC_JUMP: | 974 case PC_JUMP: |
| 972 UNREACHABLE(); | 975 UNREACHABLE(); |
| 973 break; | 976 break; |
| 974 case CODE_AGE_SEQUENCE: | 977 case CODE_AGE_SEQUENCE: |
| 975 DCHECK(Code::IsYoungSequence(isolate, pc_) || code_age_stub()->IsCode()); | 978 DCHECK(Code::IsYoungSequence(isolate, pc_) || code_age_stub()->IsCode()); |
| 976 break; | 979 break; |
| (...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2094 | 2097 |
| 2095 | 2098 |
| 2096 void Assembler::DataAlign(int m) { | 2099 void Assembler::DataAlign(int m) { |
| 2097 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 2100 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
| 2098 while ((pc_offset() & (m - 1)) != 0) { | 2101 while ((pc_offset() & (m - 1)) != 0) { |
| 2099 db(0); | 2102 db(0); |
| 2100 } | 2103 } |
| 2101 } | 2104 } |
| 2102 } // namespace internal | 2105 } // namespace internal |
| 2103 } // namespace v8 | 2106 } // namespace v8 |
| OLD | NEW |