Skip to content

Commit 676ef72

Browse files
authored
Remove __sig attributes from JS-only functions (#19030)
IIUC these serve no purpose.
1 parent 6071f78 commit 676ef72

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/library.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3008,7 +3008,6 @@ mergeInto(LibraryManager.library, {
30083008
},
30093009

30103010
#if HAVE_EM_ASM
3011-
$runEmAsmFunction__sig: 'ippp',
30123011
$runEmAsmFunction__deps: ['$readEmAsmArgs'],
30133012
$runEmAsmFunction: function(code, sigPtr, argbuf) {
30143013
var args = readEmAsmArgs(sigPtr, argbuf);
@@ -3036,7 +3035,6 @@ mergeInto(LibraryManager.library, {
30363035
},
30373036

30383037
$runMainThreadEmAsm__deps: ['$readEmAsmArgs'],
3039-
$runMainThreadEmAsm__sig: 'iippi',
30403038
$runMainThreadEmAsm: function(code, sigPtr, argbuf, sync) {
30413039
var args = readEmAsmArgs(sigPtr, argbuf);
30423040
#if PTHREADS
@@ -3067,6 +3065,7 @@ mergeInto(LibraryManager.library, {
30673065
},
30683066
emscripten_asm_const_double_sync_on_main_thread: 'emscripten_asm_const_int_sync_on_main_thread',
30693067
emscripten_asm_const_async_on_main_thread__deps: ['$runMainThreadEmAsm'],
3068+
emscripten_asm_const_async_on_main_thread__sig: 'vppp',
30703069
emscripten_asm_const_async_on_main_thread: function(code, sigPtr, argbuf) {
30713070
return runMainThreadEmAsm(code, sigPtr, argbuf, 0);
30723071
},

src/library_webgl.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1684,7 +1684,6 @@ var LibraryGL = {
16841684
// merge the functions together to only have one generated copy of this. 'createFunction' refers to the WebGL context function name to do
16851685
// the actual creation, 'objectTable' points to the GL object table where to populate the created objects, and 'functionName' carries
16861686
// the name of the caller for debug information.
1687-
$__glGenObject__sig: 'vii',
16881687
$__glGenObject: function(n, buffers, createFunction, objectTable
16891688
#if GL_ASSERTIONS
16901689
, functionName

0 commit comments

Comments
 (0)