Skip to content

Commit 1d50072

Browse files
committed
Set SWIFT_ABI_WASM32_LEAST_VALID_POINTER to 4096
1 parent 6fd3ae7 commit 1d50072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/SwiftShims/System.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,6 @@
213213
// the pointer representation, runtime performance and memory footprint are
214214
// worse. So assume that compiler driver uses wasm-ld and --global-base=1024 to
215215
// reserve low 1KB.
216-
#define SWIFT_ABI_WASM32_LEAST_VALID_POINTER 1024
216+
#define SWIFT_ABI_WASM32_LEAST_VALID_POINTER 4096
217217

218218
#endif // SWIFT_STDLIB_SHIMS_ABI_SYSTEM_H

0 commit comments

Comments
 (0)