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 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
839 case DEBUG_BREAK_SLOT_AT_CALL: | 839 case DEBUG_BREAK_SLOT_AT_CALL: |
840 return "debug break slot at call"; | 840 return "debug break slot at call"; |
841 case DEBUG_BREAK_SLOT_AT_TAIL_CALL: | 841 case DEBUG_BREAK_SLOT_AT_TAIL_CALL: |
842 return "debug break slot at tail call"; | 842 return "debug break slot at tail call"; |
843 case CODE_AGE_SEQUENCE: | 843 case CODE_AGE_SEQUENCE: |
844 return "code age sequence"; | 844 return "code age sequence"; |
845 case GENERATOR_CONTINUATION: | 845 case GENERATOR_CONTINUATION: |
846 return "generator continuation"; | 846 return "generator continuation"; |
847 case WASM_MEMORY_REFERENCE: | 847 case WASM_MEMORY_REFERENCE: |
848 return "wasm memory reference"; | 848 return "wasm memory reference"; |
| 849 case WASM_MEMORY_SIZE_REFERENCE: |
| 850 return "wasm memory size reference"; |
849 case NUMBER_OF_MODES: | 851 case NUMBER_OF_MODES: |
850 case PC_JUMP: | 852 case PC_JUMP: |
851 UNREACHABLE(); | 853 UNREACHABLE(); |
852 return "number_of_modes"; | 854 return "number_of_modes"; |
853 } | 855 } |
854 return "unknown relocation type"; | 856 return "unknown relocation type"; |
855 } | 857 } |
856 | 858 |
857 | 859 |
858 void RelocInfo::Print(Isolate* isolate, std::ostream& os) { // NOLINT | 860 void RelocInfo::Print(Isolate* isolate, std::ostream& os) { // NOLINT |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
934 case EXTERNAL_REFERENCE: | 936 case EXTERNAL_REFERENCE: |
935 case DEOPT_REASON: | 937 case DEOPT_REASON: |
936 case CONST_POOL: | 938 case CONST_POOL: |
937 case VENEER_POOL: | 939 case VENEER_POOL: |
938 case DEBUG_BREAK_SLOT_AT_POSITION: | 940 case DEBUG_BREAK_SLOT_AT_POSITION: |
939 case DEBUG_BREAK_SLOT_AT_RETURN: | 941 case DEBUG_BREAK_SLOT_AT_RETURN: |
940 case DEBUG_BREAK_SLOT_AT_CALL: | 942 case DEBUG_BREAK_SLOT_AT_CALL: |
941 case DEBUG_BREAK_SLOT_AT_TAIL_CALL: | 943 case DEBUG_BREAK_SLOT_AT_TAIL_CALL: |
942 case GENERATOR_CONTINUATION: | 944 case GENERATOR_CONTINUATION: |
943 case WASM_MEMORY_REFERENCE: | 945 case WASM_MEMORY_REFERENCE: |
| 946 case WASM_MEMORY_SIZE_REFERENCE: |
944 case NONE32: | 947 case NONE32: |
945 case NONE64: | 948 case NONE64: |
946 break; | 949 break; |
947 case NUMBER_OF_MODES: | 950 case NUMBER_OF_MODES: |
948 case PC_JUMP: | 951 case PC_JUMP: |
949 UNREACHABLE(); | 952 UNREACHABLE(); |
950 break; | 953 break; |
951 case CODE_AGE_SEQUENCE: | 954 case CODE_AGE_SEQUENCE: |
952 DCHECK(Code::IsYoungSequence(isolate, pc_) || code_age_stub()->IsCode()); | 955 DCHECK(Code::IsYoungSequence(isolate, pc_) || code_age_stub()->IsCode()); |
953 break; | 956 break; |
(...skipping 1127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2081 | 2084 |
2082 | 2085 |
2083 void Assembler::DataAlign(int m) { | 2086 void Assembler::DataAlign(int m) { |
2084 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 2087 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
2085 while ((pc_offset() & (m - 1)) != 0) { | 2088 while ((pc_offset() & (m - 1)) != 0) { |
2086 db(0); | 2089 db(0); |
2087 } | 2090 } |
2088 } | 2091 } |
2089 } // namespace internal | 2092 } // namespace internal |
2090 } // namespace v8 | 2093 } // namespace v8 |
OLD | NEW |