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

Side by Side Diff: src/assembler.cc

Issue 1808823002: Revert of Assembler changes for enabling GrowHeap in Wasm (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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";
847 case NUMBER_OF_MODES: 845 case NUMBER_OF_MODES:
848 case PC_JUMP: 846 case PC_JUMP:
849 UNREACHABLE(); 847 UNREACHABLE();
850 return "number_of_modes"; 848 return "number_of_modes";
851 } 849 }
852 return "unknown relocation type"; 850 return "unknown relocation type";
853 } 851 }
854 852
855 853
856 void RelocInfo::Print(Isolate* isolate, std::ostream& os) { // NOLINT 854 void RelocInfo::Print(Isolate* isolate, std::ostream& os) { // NOLINT
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 case POSITION: 928 case POSITION:
931 case STATEMENT_POSITION: 929 case STATEMENT_POSITION:
932 case EXTERNAL_REFERENCE: 930 case EXTERNAL_REFERENCE:
933 case DEOPT_REASON: 931 case DEOPT_REASON:
934 case CONST_POOL: 932 case CONST_POOL:
935 case VENEER_POOL: 933 case VENEER_POOL:
936 case DEBUG_BREAK_SLOT_AT_POSITION: 934 case DEBUG_BREAK_SLOT_AT_POSITION:
937 case DEBUG_BREAK_SLOT_AT_RETURN: 935 case DEBUG_BREAK_SLOT_AT_RETURN:
938 case DEBUG_BREAK_SLOT_AT_CALL: 936 case DEBUG_BREAK_SLOT_AT_CALL:
939 case GENERATOR_CONTINUATION: 937 case GENERATOR_CONTINUATION:
940 case WASM_MEMORY_REFERENCE:
941 case NONE32: 938 case NONE32:
942 case NONE64: 939 case NONE64:
943 break; 940 break;
944 case NUMBER_OF_MODES: 941 case NUMBER_OF_MODES:
945 case PC_JUMP: 942 case PC_JUMP:
946 UNREACHABLE(); 943 UNREACHABLE();
947 break; 944 break;
948 case CODE_AGE_SEQUENCE: 945 case CODE_AGE_SEQUENCE:
949 DCHECK(Code::IsYoungSequence(isolate, pc_) || code_age_stub()->IsCode()); 946 DCHECK(Code::IsYoungSequence(isolate, pc_) || code_age_stub()->IsCode());
950 break; 947 break;
(...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after
2056 2053
2057 2054
2058 void Assembler::DataAlign(int m) { 2055 void Assembler::DataAlign(int m) {
2059 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); 2056 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m));
2060 while ((pc_offset() & (m - 1)) != 0) { 2057 while ((pc_offset() & (m - 1)) != 0) {
2061 db(0); 2058 db(0);
2062 } 2059 }
2063 } 2060 }
2064 } // namespace internal 2061 } // namespace internal
2065 } // namespace v8 2062 } // 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