File tree Expand file tree Collapse file tree 5 files changed +0
-10
lines changed Expand file tree Collapse file tree 5 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -431,9 +431,6 @@ def phase_setup(options, state):
431431 if settings .PTHREADS or settings .WASM_WORKERS :
432432 settings .SHARED_MEMORY = 1
433433
434- if settings .SHARED_MEMORY :
435- settings .BULK_MEMORY = 1
436-
437434 if 'DISABLE_EXCEPTION_CATCHING' in user_settings and 'EXCEPTION_CATCHING_ALLOWED' in user_settings :
438435 # If we get here then the user specified both DISABLE_EXCEPTION_CATCHING and EXCEPTION_CATCHING_ALLOWED
439436 # on the command line. This is no longer valid so report either an error or a warning (for
Original file line number Diff line number Diff line change @@ -254,8 +254,6 @@ var POST_JS_FILES = [];
254254// Set when -pthread / -sPTHREADS is passed
255255var PTHREADS = false ;
256256
257- var BULK_MEMORY = false ;
258-
259257var MINIFY_WHITESPACE = true ;
260258
261259var ASYNCIFY_IMPORTS_EXCEPT_JS_LIBS = [ ] ;
Original file line number Diff line number Diff line change @@ -520,12 +520,10 @@ def consume_arg_file():
520520 settings .DISABLE_EXCEPTION_THROWING = 1
521521 settings .WASM_EXCEPTIONS = 0
522522 elif arg == '-mbulk-memory' :
523- settings .BULK_MEMORY = 1
524523 feature_matrix .enable_feature (feature_matrix .Feature .BULK_MEMORY ,
525524 '-mbulk-memory' ,
526525 override = True )
527526 elif arg == '-mno-bulk-memory' :
528- settings .BULK_MEMORY = 0
529527 feature_matrix .disable_feature (feature_matrix .Feature .BULK_MEMORY )
530528 elif arg == '-msign-ext' :
531529 feature_matrix .enable_feature (feature_matrix .Feature .SIGN_EXT ,
Original file line number Diff line number Diff line change @@ -1473,8 +1473,6 @@ def limit_incoming_module_api():
14731473 # TODO(sbc): Find make a generic way to expose the feature matrix to JS
14741474 # compiler rather then adding them all ad-hoc as internal settings
14751475 settings .SUPPORTS_PROMISE_ANY = feature_matrix .caniuse (feature_matrix .Feature .PROMISE_ANY )
1476- if not settings .BULK_MEMORY :
1477- settings .BULK_MEMORY = feature_matrix .caniuse (feature_matrix .Feature .BULK_MEMORY )
14781476 default_setting ('WASM_BIGINT' , feature_matrix .caniuse (feature_matrix .Feature .JS_BIGINT_INTEGRATION ))
14791477
14801478 if settings .AUDIO_WORKLET :
Original file line number Diff line number Diff line change 9595 'SUPPORT_LONGJMP' ,
9696 'WASM_OBJECT_FILES' ,
9797 'WASM_WORKERS' ,
98- 'BULK_MEMORY' ,
9998
10099 # Internal settings used during compilation
101100 'EXCEPTION_CATCHING_ALLOWED' ,
You can’t perform that action at this time.
0 commit comments