diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-08-26 18:26:32 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-08-26 18:26:32 -0700 |
commit | 0269efbd05ddad154e55a8802172eb9ddd701b3e (patch) | |
tree | 6bcd6f8d22ece776b05ccbd3e2fa6aa898ca8749 /src | |
parent | 718e1e913f359bbc13529cc0ecf46760910a209c (diff) |
parse llvm structural types in parameter tokens
Diffstat (limited to 'src')
-rw-r--r-- | src/parseTools.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parseTools.js b/src/parseTools.js index 046dac1b..66354dca 100644 --- a/src/parseTools.js +++ b/src/parseTools.js @@ -430,6 +430,8 @@ function parseParamTokens(params) { 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); |