File tree Expand file tree Collapse file tree 3 files changed +1
-9
lines changed Expand file tree Collapse file tree 3 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -184,10 +184,6 @@ struct Ctx {
184
184
DefinedData *heapBase;
185
185
DefinedData *heapEnd;
186
186
187
- // __wasm_first_page_end
188
- // A symbol whose address is the end of the first page in memory (if any).
189
- DefinedData *firstPageEnd;
190
-
191
187
// __wasm_init_memory_flag
192
188
// Symbol whose contents are nonzero iff memory has already been
193
189
// initialized.
Original file line number Diff line number Diff line change @@ -999,10 +999,6 @@ static void createOptionalSymbols() {
999
999
ctx.sym .definedTableBase = symtab->addOptionalDataSymbol (" __table_base" );
1000
1000
}
1001
1001
1002
- ctx.sym .firstPageEnd = symtab->addOptionalDataSymbol (" __wasm_first_page_end" );
1003
- if (ctx.sym .firstPageEnd )
1004
- ctx.sym .firstPageEnd ->setVA (ctx.arg .pageSize );
1005
-
1006
1002
// For non-shared memory programs we still need to define __tls_base since we
1007
1003
// allow object files built with TLS to be linked into single threaded
1008
1004
// programs, and such object files can contain references to this symbol.
Original file line number Diff line number Diff line change @@ -932,7 +932,7 @@ static void finalizeIndirectFunctionTable() {
932
932
}
933
933
934
934
uint32_t tableSize = ctx.arg .tableBase + out.elemSec ->numEntries ();
935
- WasmLimits limits = {0 , tableSize, 0 , 0 };
935
+ WasmLimits limits = {0 , tableSize, 0 };
936
936
if (ctx.sym .indirectFunctionTable ->isDefined () && !ctx.arg .growableTable ) {
937
937
limits.Flags |= WASM_LIMITS_FLAG_HAS_MAX;
938
938
limits.Maximum = limits.Minimum ;
You can’t perform that action at this time.
0 commit comments