diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-12-11 14:01:06 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-11 14:01:06 -0800 |
commit | c83b1d4e9ef4525c35adbbf5a697aa46418bb7f1 (patch) | |
tree | 2172c7cacd15592c2210d26a87da8d21565f06be /emscripten.py | |
parent | d9e1837c619bc70f9424489787ca80766c998789 (diff) | |
parent | 42b03394eb80db5183d2eb8c2c22b587cd85794e (diff) |
Merge branch 'incoming' into asm_js
Diffstat (limited to 'emscripten.py')
-rwxr-xr-x | emscripten.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/emscripten.py b/emscripten.py index ea685718..e200ddd9 100755 --- a/emscripten.py +++ b/emscripten.py @@ -110,6 +110,7 @@ def emscript(infile, settings, outfile, libraries=[]): elif line.find(' = type { ') > 0: pre.append(line) # type elif line.startswith('!'): + if line.startswith('!llvm.module'): continue # we can ignore that meta.append(line) # metadata else: pre.append(line) # pre needs it so we know about globals in pre and funcs. So emit globals there |