Skip to content

Commit 5eebe8f

Browse files
committed
fix ci
1 parent 6fd3323 commit 5eebe8f

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

lld/wasm/Config.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,6 @@ struct Ctx {
184184
DefinedData *heapBase;
185185
DefinedData *heapEnd;
186186

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-
191187
// __wasm_init_memory_flag
192188
// Symbol whose contents are nonzero iff memory has already been
193189
// initialized.

lld/wasm/Driver.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -999,10 +999,6 @@ static void createOptionalSymbols() {
999999
ctx.sym.definedTableBase = symtab->addOptionalDataSymbol("__table_base");
10001000
}
10011001

1002-
ctx.sym.firstPageEnd = symtab->addOptionalDataSymbol("__wasm_first_page_end");
1003-
if (ctx.sym.firstPageEnd)
1004-
ctx.sym.firstPageEnd->setVA(ctx.arg.pageSize);
1005-
10061002
// For non-shared memory programs we still need to define __tls_base since we
10071003
// allow object files built with TLS to be linked into single threaded
10081004
// programs, and such object files can contain references to this symbol.

lld/wasm/Writer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ static void finalizeIndirectFunctionTable() {
932932
}
933933

934934
uint32_t tableSize = ctx.arg.tableBase + out.elemSec->numEntries();
935-
WasmLimits limits = {0, tableSize, 0, 0};
935+
WasmLimits limits = {0, tableSize, 0};
936936
if (ctx.sym.indirectFunctionTable->isDefined() && !ctx.arg.growableTable) {
937937
limits.Flags |= WASM_LIMITS_FLAG_HAS_MAX;
938938
limits.Maximum = limits.Minimum;

0 commit comments

Comments
 (0)