aboutsummaryrefslogtreecommitdiff
path: root/src/intertyper.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-03-06 10:05:09 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-03-06 10:05:09 -0800
commit4f7c6aa50c0b591e366bc3062e3fdc46db313f55 (patch)
tree8a532e6ac068d5e57a182cc0f6a4a56b7d1aac86 /src/intertyper.js
parentaeb905a51654cd46866d853e62322e2cb77b2425 (diff)
ignore fence llvm items
Diffstat (limited to 'src/intertyper.js')
-rw-r--r--src/intertyper.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intertyper.js b/src/intertyper.js
index bd7b70f9..c5a9583b 100644
--- a/src/intertyper.js
+++ b/src/intertyper.js
@@ -334,6 +334,8 @@ function intertyper(data, sidePass, baseLineNums) {
return 'Phi';
if (tokensLength >= 3 && token0Text == 'landingpad')
return 'Landingpad';
+ if (token0Text == 'fence')
+ return '/dev/null';
} else if (item.indent === 0) {
if ((tokensLength >= 1 && token0Text.substr(-1) == ':') ||
(tokensLength >= 3 && token1Text == '<label>'))