aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/library.js')
-rw-r--r--src/library.js15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/library.js b/src/library.js
index 685f839a..284f093d 100644
--- a/src/library.js
+++ b/src/library.js
@@ -1476,17 +1476,7 @@ var Library = {
// ==========================================================================
- // dlfcn.h - Dynamic library loading
- //
- // Some limitations:
- //
- // * Minification on each file separately may not work, as they will
- // have different shortened names. You can in theory combine them, then
- // minify, then split... perhaps.
- //
- // * LLVM optimizations may fail. If the child wants to access a function
- // in the parent, LLVM opts may remove it from the parent when it is
- // being compiled. Not sure how to tell LLVM to not do so.
+ // dlfcn.h
// ==========================================================================
// Data for dlfcn.h.
@@ -1520,9 +1510,6 @@ var Library = {
try {
var lib_module = eval(lib_data)(FUNCTION_TABLE.length);
} catch (e) {
-#if ASSERTIONS
- print('Error in loading dynamic library: ' + e);
-#endif
DLFCN_DATA.isError = true;
return 0;
}