diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-06 11:29:57 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-06 11:34:01 -0800 |
commit | 9229523e85304f0e4032f6b64ef064380288c9ee (patch) | |
tree | 36a36843ed4b2a4db42bdb5e0615e4e40c1386a2 | |
parent | c6cba031d9a745413f082ac9d46fe61d2fc62413 (diff) |
ignore new readnone attribute in llvm 3.4
-rw-r--r-- | src/parseTools.js | 2 |
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; |