aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-06-29 20:28:57 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-06-29 20:28:57 -0700
commita326e6a1ec7c124dd4e74a38d3c8948b3ace92bc (patch)
treef95402e3c50a04c59921813389daef29efe51552 /src/library.js
parent0e9344a42800afd65b3c74c86e79ed78c15161f0 (diff)
backout previous broken commit
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;
}