Fix warning in Altivec code when building with GCC 4.8.2 on Ubuntu 14.04.
llvm-svn: 220855
This commit is contained in:
parent
95338a09c0
commit
6af95d3864
|
@ -2319,7 +2319,7 @@ bool Lexer::SkipBlockComment(Token &Result, const char *CurPtr,
|
|||
'/', '/', '/', '/', '/', '/', '/', '/'
|
||||
};
|
||||
while (CurPtr+16 <= BufferEnd &&
|
||||
!vec_any_eq(*(vector unsigned char*)CurPtr, Slashes))
|
||||
!vec_any_eq(*(const vector unsigned char*)CurPtr, Slashes))
|
||||
CurPtr += 16;
|
||||
#else
|
||||
// Scan for '/' quickly. Many block comments are very large.
|
||||
|
|
Loading…
Reference in New Issue