aboutsummaryrefslogtreecommitdiff
path: root/src/parseTools.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-10-30 17:44:38 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-10-30 17:44:38 -0700
commit27fc24141afdff04c44a3d7536588ed19038fb71 (patch)
treeb11814d193d0220b7f30d26349e8a67df8fabdff /src/parseTools.js
parent367968d73d46595522d271ffb9d003a3be0ec12d (diff)
simplify parseParamTokens now that it uses parseLLVMSegment
Diffstat (limited to 'src/parseTools.js')
-rw-r--r--src/parseTools.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index 33b38937..86adaf19 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -483,12 +483,6 @@ function parseParamTokens(params) {
Types.needAnalysis[ret[ret.length-1].type] = 0;
anonymousIndex ++;
}
- } else if (segment[1].text in PARSABLE_LLVM_FUNCTIONS) {
- ret.push(parseLLVMFunctionCall(segment));
- } else if (segment[1].text === 'blockaddress') {
- ret.push(parseBlockAddress(segment));
- } else if (segment[1].type && segment[1].type == '{') {
- ret.push(parseLLVMSegment(segment));
} else {
if (segment[2] && segment[2].text == 'to') { // part of bitcast params
segment = segment.slice(0, 2);
@@ -496,7 +490,6 @@ function parseParamTokens(params) {
var parsed = parseLLVMSegment(segment);
if (parsed.intertype === 'value' && !isIllegalType(parsed.type)) parsed.ident = parseNumerical(parsed.ident);
ret.push(parsed);
- Types.needAnalysis[removeAllPointing(parsed.type)] = 0;
}
ret[ret.length-1].byVal = byVal;
}