aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-06 11:29:57 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-06 11:34:01 -0800
commit9229523e85304f0e4032f6b64ef064380288c9ee (patch)
tree36a36843ed4b2a4db42bdb5e0615e4e40c1386a2
parentc6cba031d9a745413f082ac9d46fe61d2fc62413 (diff)
ignore new readnone attribute in llvm 3.4
-rw-r--r--src/parseTools.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parseTools.js b/src/parseTools.js
index 874514b1..1e680fd0 100644
--- a/src/parseTools.js
+++ b/src/parseTools.js
@@ -627,7 +627,7 @@ function parseLLVMSegment(segment) {
}
function cleanSegment(segment) {
- while (segment.length >= 2 && ['noalias', 'sret', 'nocapture', 'nest', 'zeroext', 'signext'].indexOf(segment[1].text) != -1) {
+ while (segment.length >= 2 && ['noalias', 'sret', 'nocapture', 'nest', 'zeroext', 'signext', 'readnone'].indexOf(segment[1].text) != -1) {
segment.splice(1, 1);
}
return segment;