Skip to content

Commit 9229523

Browse files
committedJan 6, 2014
ignore new readnone attribute in llvm 3.4
1 parent c6cba03 commit 9229523

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/parseTools.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ function parseLLVMSegment(segment) {
627627
}
628628

629629
function cleanSegment(segment) {
630-
while (segment.length >= 2 && ['noalias', 'sret', 'nocapture', 'nest', 'zeroext', 'signext'].indexOf(segment[1].text) != -1) {
630+
while (segment.length >= 2 && ['noalias', 'sret', 'nocapture', 'nest', 'zeroext', 'signext', 'readnone'].indexOf(segment[1].text) != -1) {
631631
segment.splice(1, 1);
632632
}
633633
return segment;

0 commit comments

Comments
 (0)
Please sign in to comment.