diff options
author | alon@honor <none@none> | 2010-09-27 20:11:21 -0700 |
---|---|---|
committer | alon@honor <none@none> | 2010-09-27 20:11:21 -0700 |
commit | cc72cb44f12fe732309bc839f01f102a6bb645d2 (patch) | |
tree | ad8d856c92297fed6b123807b49c36330212775e /src | |
parent | 500a86d20a4e0426adc1925b4efa1622d6393beb (diff) |
missing udiv
Diffstat (limited to 'src')
-rw-r--r-- | src/intertyper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intertyper.js b/src/intertyper.js index 9c91b22a..2d0271e6 100644 --- a/src/intertyper.js +++ b/src/intertyper.js @@ -181,7 +181,7 @@ function intertyper(data) { if (!item.intertype && item.indent === -1 && item.tokens && item.tokens.length >= 3 && item.tokens[0].text == 'phi') return 'Phi'; if (item.indent === -1 && item.tokens && item.tokens.length >= 3 && - ['add', 'sub', 'sdiv', 'mul', 'icmp', 'zext', 'urem', 'srem', 'fadd', 'fsub', 'fmul', 'fdiv', 'fcmp', 'uitofp', 'sitofp', 'fpext', 'fptrunc', 'fptoui', 'fptosi', 'trunc', 'sext', 'select', 'shl', 'shr', 'ashl', 'ashr', 'lshr', 'lshl', 'xor', 'or', 'and', 'ptrtoint', 'inttoptr'].indexOf(item.tokens[0].text) != -1 && !item.intertype) + ['add', 'sub', 'sdiv', 'udiv', 'mul', 'icmp', 'zext', 'urem', 'srem', 'fadd', 'fsub', 'fmul', 'fdiv', 'fcmp', 'uitofp', 'sitofp', 'fpext', 'fptrunc', 'fptoui', 'fptosi', 'trunc', 'sext', 'select', 'shl', 'shr', 'ashl', 'ashr', 'lshr', 'lshl', 'xor', 'or', 'and', 'ptrtoint', 'inttoptr'].indexOf(item.tokens[0].text) != -1 && !item.intertype) return 'Mathops'; if (item.indent === 2 && item.tokens && item.tokens.length >= 5 && (item.tokens[0].text == 'store' || item.tokens[1].text == 'store')) |