Skip to content

Commit

Permalink
Remove defunct hasInlineJS check (#5649)
Browse files Browse the repository at this point in the history
See #5642
  • Loading branch information
erikdubbelboer authored and kripken committed Oct 12, 2017
1 parent 18c8d1f commit 559ac73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -316,5 +316,5 @@ a license to everyone to use it as detailed in LICENSE.)
* Kamil Klimek <[email protected]>
* José Carlos Pujol <josecpujol(at)gmail.com>
* Dannii Willis <[email protected]>

* Erik Dubbelboer <[email protected]>

2 changes: 1 addition & 1 deletion emscripten.py
Original file line number Diff line number Diff line change
Expand Up @@ -1498,7 +1498,7 @@ def create_asm_start_pre(asm_setup, the_global, sending, metadata, settings):
'var asm = (function(global, env, buffer) {')

use_asm = "'almost asm';"
if not metadata.get('hasInlineJS') and settings['ASM_JS'] == 1:
if settings['ASM_JS'] == 1:
use_asm = "'use asm';"

lines = [
Expand Down

0 comments on commit 559ac73

Please sign in to comment.