enable shared modules in emterpreter

This commit is contained in:
Alon Zakai 2015-05-03 17:57:47 -07:00
Родитель e352ef8c08
Коммит 3dde1610b1
2 изменённых файлов: 0 добавлений и 8 удалений

1
emcc
Просмотреть файл

@ -982,7 +982,6 @@ try:
js_opts = True
logging.debug('enabling js opts for EMTERPRETIFY')
assert closure is not 2, 'EMTERPRETIFY requires valid asm.js, and is incompatible with closure 2 which disables that'
assert not shared.Settings.RELOCATABLE
if shared.Settings.DEAD_FUNCTIONS and not js_opts:
js_opts = True

Просмотреть файл

@ -2839,9 +2839,6 @@ The current type of b is: 9
self.do_run(main, 'supp: 54,2\nmain: 56\nsupp see: 543\nmain see: 76\nok.')
def can_dlfcn(self):
if self.is_emterpreter():
self.skip('no dlfcn support in emterpreter yet')
return False
if self.emcc_args:
self.emcc_args += ['--memory-init-file', '0']
@ -3606,10 +3603,6 @@ ok
''', post_build=self.dlfcn_post_build)
def dylink_test(self, main, side, expected, header=None, main_emcc_args=[], force_c=False, need_reverse=True):
if self.is_emterpreter():
self.skip('no dylink support in emterpreter yet')
return
if header:
open('header.h', 'w').write(header)