diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-12-11 13:53:00 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-11 13:53:00 -0800 |
commit | 2c8c19f60585d4e8cb78af119faba664a35e2268 (patch) | |
tree | d5165021be34bcfe6d75a844b751cc0b9dfc430d /emscripten.py | |
parent | 33ca644b5b3e78af1998db308efda6a57c42bd28 (diff) | |
parent | 42b03394eb80db5183d2eb8c2c22b587cd85794e (diff) |
Merge branch 'incoming'
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 15beb4ee..98dcb6bb 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 |