diff options
| author | gingerBill <bill@gingerbill.org> | 2024-02-05 13:48:08 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-02-05 13:48:08 +0000 |
| commit | e88db2818b1310173b6d4a49b847a983f5cbdcaa (patch) | |
| tree | 9371d87ad6e82a5130db0dcb4f47498f15177d47 /src/checker.cpp | |
| parent | 19535d872162b7968f10822c658b51069cf81e65 (diff) | |
force requiring the 128-bit calls on WASM targets
Diffstat (limited to 'src/checker.cpp')
| -rw-r--r-- | src/checker.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/checker.cpp b/src/checker.cpp index 4fdcec5f3..7d8f456df 100644 --- a/src/checker.cpp +++ b/src/checker.cpp @@ -2570,27 +2570,27 @@ gb_internal void generate_minimum_dependency_set(Checker *c, Entity *start) { str_lit("memmove"), ); - // FORCE_ADD_RUNTIME_ENTITIES(!build_context.tilde_backend, - // // Extended data type internal procedures - // str_lit("umodti3"), - // str_lit("udivti3"), - // str_lit("modti3"), - // str_lit("divti3"), - // str_lit("fixdfti"), - // str_lit("fixunsdfti"), - // str_lit("fixunsdfdi"), - // str_lit("floattidf"), - // str_lit("floattidf_unsigned"), - // str_lit("truncsfhf2"), - // str_lit("truncdfhf2"), - // str_lit("gnu_h2f_ieee"), - // str_lit("gnu_f2h_ieee"), - // str_lit("extendhfsf2"), - - // // WASM Specific - // str_lit("__ashlti3"), - // str_lit("__multi3"), - // ); + FORCE_ADD_RUNTIME_ENTITIES(is_arch_wasm() && !build_context.tilde_backend, + // Extended data type internal procedures + str_lit("umodti3"), + str_lit("udivti3"), + str_lit("modti3"), + str_lit("divti3"), + str_lit("fixdfti"), + str_lit("fixunsdfti"), + str_lit("fixunsdfdi"), + str_lit("floattidf"), + str_lit("floattidf_unsigned"), + str_lit("truncsfhf2"), + str_lit("truncdfhf2"), + str_lit("gnu_h2f_ieee"), + str_lit("gnu_f2h_ieee"), + str_lit("extendhfsf2"), + + // WASM Specific + str_lit("__ashlti3"), + str_lit("__multi3"), + ); FORCE_ADD_RUNTIME_ENTITIES(!build_context.no_rtti, // Odin types |