aboutsummaryrefslogtreecommitdiff
path: root/src/parseTools.js
diff options
context:
space:
mode:
authoralon@honor <none@none>2010-10-25 20:22:12 -0700
committeralon@honor <none@none>2010-10-25 20:22:12 -0700
commitd6aefb39d6df0abf9104882fa89998e8e8b05dea (patch)
treec2192412ac67b7b2907c18329093230c35c3a691 /src/parseTools.js
parentfcb71c83e999564738683adfd2de8e1a915467ec (diff)
fix for type of |inttoptr|,|ptrtoint|
Diffstat (limited to 'src/parseTools.js')
-rw-r--r--src/parseTools.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index fed60d77..3e65a039 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -288,7 +288,7 @@ function parseLLVMSegment(segment) {
return {
intertype: 'value',
ident: segment[0].text,
- type: '?',
+ type: isType(segment[0].text) ? segment[0].text : '?',
};
} else if (segment[0].text in PARSABLE_LLVM_FUNCTIONS) {
return parseLLVMFunctionCall([{text: '?'}].concat(segment));