diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-08-19 12:18:43 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-08-19 12:18:43 -0700 |
commit | 5bbd07d73bff8e8d3a63b35358ed19bbc80234bc (patch) | |
tree | defd02427555d638e8d0f9e93c358a1cd204344e /src/compiler.js | |
parent | cc8297b311c8deaf6bf991796f93b3177ff94cd1 (diff) | |
parent | f6416d822bd5178065272877505de4428b4aee2a (diff) |
Merge pull request #1528 from inolen/shared_lib_fixes
re-enabled non-asm.js shared lib support
Diffstat (limited to 'src/compiler.js')
-rw-r--r-- | src/compiler.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler.js b/src/compiler.js index 2390f4c9..0baec95e 100644 --- a/src/compiler.js +++ b/src/compiler.js @@ -185,8 +185,7 @@ if (ASM_JS) { assert(!ALLOW_MEMORY_GROWTH, 'Cannot grow asm.js heap'); assert((TOTAL_MEMORY&(TOTAL_MEMORY-1)) == 0, 'asm.js heap must be power of 2'); } -assert(!BUILD_AS_SHARED_LIB, 'shared libs are deprecated'); -//assert(!(!NAMED_GLOBALS && BUILD_AS_SHARED_LIB), 'shared libraries must have named globals'); +assert(!(!NAMED_GLOBALS && BUILD_AS_SHARED_LIB), 'shared libraries must have named globals'); // Output some info and warnings based on settings |