aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-09-27 20:11:21 -0700
committeralon@honor <none@none>2010-09-27 20:11:21 -0700
commitcc72cb44f12fe732309bc839f01f102a6bb645d2 (patch)
treead8d856c92297fed6b123807b49c36330212775e /src
parent500a86d20a4e0426adc1925b4efa1622d6393beb (diff)
missing udiv
Diffstat (limited to 'src')
-rw-r--r--src/intertyper.js2
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'))