File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -1780,9 +1780,6 @@ def include_and_export(name):
1780
1780
if shared .Settings .USE_PTHREADS :
1781
1781
newargs .append ('-pthread' )
1782
1782
1783
- if not shared .Settings .LEGALIZE_JS_FFI :
1784
- assert building .is_wasm_only (), 'LEGALIZE_JS_FFI incompatible with RUNNING_JS_OPTS.'
1785
-
1786
1783
# check if we can address the 2GB mark and higher: either if we start at
1787
1784
# 2GB, or if we allow growth to either any amount or to 2GB or more.
1788
1785
if shared .Settings .INITIAL_MEMORY > 2 * 1024 * 1024 * 1024 or \
Original file line number Diff line number Diff line change @@ -856,14 +856,6 @@ def can_inline():
856
856
return Settings .INLINING_LIMIT == 0
857
857
858
858
859
- def is_wasm_only ():
860
- # not even wasm, much less wasm-only
861
- if not Settings .WASM :
862
- return False
863
- # llvm backend can only ever produce wasm
864
- return True
865
-
866
-
867
859
def get_safe_internalize ():
868
860
if Settings .LINKABLE :
869
861
return [] # do not internalize anything
You can’t perform that action at this time.
0 commit comments