Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Side by Side Diff: src/assembler.cc

Issue 1759873002: Assembler changes for enabling GrowHeap in Wasm (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix compile Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/assembler.h ('k') | src/ia32/assembler-ia32.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 case DEBUG_BREAK_SLOT_AT_POSITION: 835 case DEBUG_BREAK_SLOT_AT_POSITION:
836 return "debug break slot at position"; 836 return "debug break slot at position";
837 case DEBUG_BREAK_SLOT_AT_RETURN: 837 case DEBUG_BREAK_SLOT_AT_RETURN:
838 return "debug break slot at return"; 838 return "debug break slot at return";
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 CODE_AGE_SEQUENCE: 841 case CODE_AGE_SEQUENCE:
842 return "code age sequence"; 842 return "code age sequence";
843 case GENERATOR_CONTINUATION: 843 case GENERATOR_CONTINUATION:
844 return "generator continuation"; 844 return "generator continuation";
845 case WASM_MEMORY_REFERENCE:
846 return "wasm memory reference";
845 case NUMBER_OF_MODES: 847 case NUMBER_OF_MODES:
846 case PC_JUMP: 848 case PC_JUMP:
847 UNREACHABLE(); 849 UNREACHABLE();
848 return "number_of_modes"; 850 return "number_of_modes";
849 } 851 }
850 return "unknown relocation type"; 852 return "unknown relocation type";
851 } 853 }
852 854
853 855
854 void RelocInfo::Print(Isolate* isolate, std::ostream& os) { // NOLINT 856 void RelocInfo::Print(Isolate* isolate, std::ostream& os) { // NOLINT
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
928 case POSITION: 930 case POSITION:
929 case STATEMENT_POSITION: 931 case STATEMENT_POSITION:
930 case EXTERNAL_REFERENCE: 932 case EXTERNAL_REFERENCE:
931 case DEOPT_REASON: 933 case DEOPT_REASON:
932 case CONST_POOL: 934 case CONST_POOL:
933 case VENEER_POOL: 935 case VENEER_POOL:
934 case DEBUG_BREAK_SLOT_AT_POSITION: 936 case DEBUG_BREAK_SLOT_AT_POSITION:
935 case DEBUG_BREAK_SLOT_AT_RETURN: 937 case DEBUG_BREAK_SLOT_AT_RETURN:
936 case DEBUG_BREAK_SLOT_AT_CALL: 938 case DEBUG_BREAK_SLOT_AT_CALL:
937 case GENERATOR_CONTINUATION: 939 case GENERATOR_CONTINUATION:
940 case WASM_MEMORY_REFERENCE:
938 case NONE32: 941 case NONE32:
939 case NONE64: 942 case NONE64:
940 break; 943 break;
941 case NUMBER_OF_MODES: 944 case NUMBER_OF_MODES:
942 case PC_JUMP: 945 case PC_JUMP:
943 UNREACHABLE(); 946 UNREACHABLE();
944 break; 947 break;
945 case CODE_AGE_SEQUENCE: 948 case CODE_AGE_SEQUENCE:
946 DCHECK(Code::IsYoungSequence(isolate, pc_) || code_age_stub()->IsCode()); 949 DCHECK(Code::IsYoungSequence(isolate, pc_) || code_age_stub()->IsCode());
947 break; 950 break;
(...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after
2053 2056
2054 2057
2055 void Assembler::DataAlign(int m) { 2058 void Assembler::DataAlign(int m) {
2056 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); 2059 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m));
2057 while ((pc_offset() & (m - 1)) != 0) { 2060 while ((pc_offset() & (m - 1)) != 0) {
2058 db(0); 2061 db(0);
2059 } 2062 }
2060 } 2063 }
2061 } // namespace internal 2064 } // namespace internal
2062 } // namespace v8 2065 } // namespace v8
OLDNEW
« no previous file with comments | « src/assembler.h ('k') | src/ia32/assembler-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698