diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-11-10 11:47:39 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-11-10 11:47:39 -0800 |
commit | cd5487b5349a3b33a8fb693f43e2bfdb41be8401 (patch) | |
tree | 85cd95b121dca8ea2e34cc845194582252867c76 /src/modules.js | |
parent | 0e32b09c3de18a8f8ee331ac00a6308b94ff9ccb (diff) |
fixes; i64 passes
Diffstat (limited to 'src/modules.js')
-rw-r--r-- | src/modules.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules.js b/src/modules.js index f04731f8..75cf1ad2 100644 --- a/src/modules.js +++ b/src/modules.js @@ -10,7 +10,8 @@ var LLVM = { PARAM_ATTR: set('noalias', 'signext', 'zeroext', 'inreg', 'sret', 'nocapture', 'nest'), CALLING_CONVENTIONS: set('ccc', 'fastcc', 'coldcc', 'cc10', 'x86_fastcallcc', 'x86_stdcallcc'), ACCESS_OPTIONS: set('volatile', 'atomic'), - INVOKE_MODIFIERS: set('alignstack', 'alwaysinline', 'inlinehint', 'naked', 'noimplicitfloat', 'noinline', 'alwaysinline attribute.', 'noredzone', 'noreturn', 'nounwind', 'optsize', 'readnone', 'readonly', 'ssp', 'sspreq') + INVOKE_MODIFIERS: set('alignstack', 'alwaysinline', 'inlinehint', 'naked', 'noimplicitfloat', 'noinline', 'alwaysinline attribute.', 'noredzone', 'noreturn', 'nounwind', 'optsize', 'readnone', 'readonly', 'ssp', 'sspreq'), + SHIFTS: set('ashr', 'lshr', 'shl'), }; LLVM.GLOBAL_MODIFIERS = set(keys(LLVM.LINKAGES).concat(['constant', 'global', 'hidden'])); |