aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-10-30 18:40:50 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-10-30 18:45:27 -0700
commitffde799134ebed5a4e2309d3d3fc791d36fd79f6 (patch)
tree75f2ba4f4be44be5820036069f2acd1aa3be8fd7
parentb5b84c93e5eededcd6a704c4580fef5c574a9718 (diff)
fix negative zero handling
-rw-r--r--src/parseTools.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index 86adaf19..238b6bd5 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -488,7 +488,7 @@ function parseParamTokens(params) {
segment = segment.slice(0, 2);
}
var parsed = parseLLVMSegment(segment);
- if (parsed.intertype === 'value' && !isIllegalType(parsed.type)) parsed.ident = parseNumerical(parsed.ident);
+ if (parsed.intertype === 'value' && !isIllegalType(parsed.type)) parsed.ident = parseNumerical(parsed.ident, parsed.type);
ret.push(parsed);
}
ret[ret.length-1].byVal = byVal;