Skip to content

Commit d86faec

Browse files
authored
Remove old/unused autodebug functions. NFC (#18983)
These days that autodebug functions are found in library_autodebug.js and have names like `set_i64` and `get_i64`.
1 parent edc036b commit d86faec

File tree

2 files changed

+1
-21
lines changed

2 files changed

+1
-21
lines changed

src/library.js

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3150,27 +3150,6 @@ mergeInto(LibraryManager.library, {
31503150
},
31513151
#endif
31523152

3153-
// autodebugging
3154-
3155-
emscripten_autodebug_i64: function(line, valuel, valueh) {
3156-
out('AD:' + [line, valuel, valueh]);
3157-
},
3158-
emscripten_autodebug_i32: function(line, value) {
3159-
out('AD:' + [line, value]);
3160-
},
3161-
emscripten_autodebug_i16: function(line, value) {
3162-
out('AD:' + [line, value]);
3163-
},
3164-
emscripten_autodebug_i8: function(line, value) {
3165-
out('AD:' + [line, value]);
3166-
},
3167-
emscripten_autodebug_float: function(line, value) {
3168-
out('AD:' + [line, value]);
3169-
},
3170-
emscripten_autodebug_double: function(line, value) {
3171-
out('AD:' + [line, value]);
3172-
},
3173-
31743153
// special runtime support
31753154

31763155
#if STACK_OVERFLOW_CHECK

tools/system_libs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def clean_env():
7272
safe_env = os.environ.copy()
7373
for opt in ['CFLAGS', 'CXXFLAGS', 'LDFLAGS',
7474
'EMCC_CFLAGS',
75+
'EMCC_AUTODEBUG',
7576
'EMCC_FORCE_STDLIBS',
7677
'EMCC_ONLY_FORCED_STDLIBS',
7778
'EMMAKEN_JUST_CONFIGURE']:

0 commit comments

Comments
 (0)