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 833 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
844 case DEBUG_BREAK_SLOT_AT_TAIL_CALL: | 844 case DEBUG_BREAK_SLOT_AT_TAIL_CALL: |
845 return "debug break slot at tail call"; | 845 return "debug break slot at tail call"; |
846 case CODE_AGE_SEQUENCE: | 846 case CODE_AGE_SEQUENCE: |
847 return "code age sequence"; | 847 return "code age sequence"; |
848 case GENERATOR_CONTINUATION: | 848 case GENERATOR_CONTINUATION: |
849 return "generator continuation"; | 849 return "generator continuation"; |
850 case WASM_MEMORY_REFERENCE: | 850 case WASM_MEMORY_REFERENCE: |
851 return "wasm memory reference"; | 851 return "wasm memory reference"; |
852 case WASM_MEMORY_SIZE_REFERENCE: | 852 case WASM_MEMORY_SIZE_REFERENCE: |
853 return "wasm memory size reference"; | 853 return "wasm memory size reference"; |
| 854 case WASM_DIRECT_CALL: |
| 855 return "wasm direct call"; |
854 case NUMBER_OF_MODES: | 856 case NUMBER_OF_MODES: |
855 case PC_JUMP: | 857 case PC_JUMP: |
856 UNREACHABLE(); | 858 UNREACHABLE(); |
857 return "number_of_modes"; | 859 return "number_of_modes"; |
858 } | 860 } |
859 return "unknown relocation type"; | 861 return "unknown relocation type"; |
860 } | 862 } |
861 | 863 |
862 | 864 |
863 void RelocInfo::Print(Isolate* isolate, std::ostream& os) { // NOLINT | 865 void RelocInfo::Print(Isolate* isolate, std::ostream& os) { // NOLINT |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
943 case VENEER_POOL: | 945 case VENEER_POOL: |
944 case DEBUG_BREAK_SLOT_AT_POSITION: | 946 case DEBUG_BREAK_SLOT_AT_POSITION: |
945 case DEBUG_BREAK_SLOT_AT_RETURN: | 947 case DEBUG_BREAK_SLOT_AT_RETURN: |
946 case DEBUG_BREAK_SLOT_AT_CALL: | 948 case DEBUG_BREAK_SLOT_AT_CALL: |
947 case DEBUG_BREAK_SLOT_AT_TAIL_CALL: | 949 case DEBUG_BREAK_SLOT_AT_TAIL_CALL: |
948 case GENERATOR_CONTINUATION: | 950 case GENERATOR_CONTINUATION: |
949 case WASM_MEMORY_REFERENCE: | 951 case WASM_MEMORY_REFERENCE: |
950 case WASM_MEMORY_SIZE_REFERENCE: | 952 case WASM_MEMORY_SIZE_REFERENCE: |
951 case NONE32: | 953 case NONE32: |
952 case NONE64: | 954 case NONE64: |
| 955 case WASM_DIRECT_CALL: |
953 break; | 956 break; |
954 case NUMBER_OF_MODES: | 957 case NUMBER_OF_MODES: |
955 case PC_JUMP: | 958 case PC_JUMP: |
956 UNREACHABLE(); | 959 UNREACHABLE(); |
957 break; | 960 break; |
958 case CODE_AGE_SEQUENCE: | 961 case CODE_AGE_SEQUENCE: |
959 DCHECK(Code::IsYoungSequence(isolate, pc_) || code_age_stub()->IsCode()); | 962 DCHECK(Code::IsYoungSequence(isolate, pc_) || code_age_stub()->IsCode()); |
960 break; | 963 break; |
961 } | 964 } |
962 } | 965 } |
(...skipping 1125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2088 | 2091 |
2089 | 2092 |
2090 void Assembler::DataAlign(int m) { | 2093 void Assembler::DataAlign(int m) { |
2091 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 2094 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
2092 while ((pc_offset() & (m - 1)) != 0) { | 2095 while ((pc_offset() & (m - 1)) != 0) { |
2093 db(0); | 2096 db(0); |
2094 } | 2097 } |
2095 } | 2098 } |
2096 } // namespace internal | 2099 } // namespace internal |
2097 } // namespace v8 | 2100 } // namespace v8 |
OLD | NEW |