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):
431
431
if settings .PTHREADS or settings .WASM_WORKERS :
432
432
settings .SHARED_MEMORY = 1
433
433
434
- if settings .SHARED_MEMORY :
435
- settings .BULK_MEMORY = 1
436
-
437
434
if 'DISABLE_EXCEPTION_CATCHING' in user_settings and 'EXCEPTION_CATCHING_ALLOWED' in user_settings :
438
435
# If we get here then the user specified both DISABLE_EXCEPTION_CATCHING and EXCEPTION_CATCHING_ALLOWED
439
436
# 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 = [];
254
254
// Set when -pthread / -sPTHREADS is passed
255
255
var PTHREADS = false ;
256
256
257
- var BULK_MEMORY = false ;
258
-
259
257
var MINIFY_WHITESPACE = true ;
260
258
261
259
var ASYNCIFY_IMPORTS_EXCEPT_JS_LIBS = [ ] ;
Original file line number Diff line number Diff line change @@ -520,12 +520,10 @@ def consume_arg_file():
520
520
settings .DISABLE_EXCEPTION_THROWING = 1
521
521
settings .WASM_EXCEPTIONS = 0
522
522
elif arg == '-mbulk-memory' :
523
- settings .BULK_MEMORY = 1
524
523
feature_matrix .enable_feature (feature_matrix .Feature .BULK_MEMORY ,
525
524
'-mbulk-memory' ,
526
525
override = True )
527
526
elif arg == '-mno-bulk-memory' :
528
- settings .BULK_MEMORY = 0
529
527
feature_matrix .disable_feature (feature_matrix .Feature .BULK_MEMORY )
530
528
elif arg == '-msign-ext' :
531
529
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():
1473
1473
# TODO(sbc): Find make a generic way to expose the feature matrix to JS
1474
1474
# compiler rather then adding them all ad-hoc as internal settings
1475
1475
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 )
1478
1476
default_setting ('WASM_BIGINT' , feature_matrix .caniuse (feature_matrix .Feature .JS_BIGINT_INTEGRATION ))
1479
1477
1480
1478
if settings .AUDIO_WORKLET :
Original file line number Diff line number Diff line change 95
95
'SUPPORT_LONGJMP' ,
96
96
'WASM_OBJECT_FILES' ,
97
97
'WASM_WORKERS' ,
98
- 'BULK_MEMORY' ,
99
98
100
99
# Internal settings used during compilation
101
100
'EXCEPTION_CATCHING_ALLOWED' ,
You can’t perform that action at this time.
0 commit comments