aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/intertyper.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/intertyper.js b/src/intertyper.js
index 6b46cdbb..d295a872 100644
--- a/src/intertyper.js
+++ b/src/intertyper.js
@@ -521,13 +521,12 @@ function intertyper(data, sidePass, baseLineNums) {
ret.ctors.push(segment[1].tokens.slice(-1)[0].text);
});
}
- } else {
- if (!item.tokens[3]) throw 'Did you run llvm-dis with -show-annotations? (b)'; // XXX: do we still need annotations?
+ } else if (!external) {
if (item.tokens[3].text == 'c')
item.tokens.splice(3, 1);
if (item.tokens[3].text in PARSABLE_LLVM_FUNCTIONS) {
ret.value = parseLLVMFunctionCall(item.tokens.slice(2));
- } else if (!external) {
+ } else {
ret.value = scanConst(item.tokens[3], ret.type);
}
}