summaryrefslogtreecommitdiff
path: root/src/parser/bounded_token_buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/bounded_token_buffer.cpp')
-rw-r--r--src/parser/bounded_token_buffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/bounded_token_buffer.cpp b/src/parser/bounded_token_buffer.cpp
index 88a7c6463..112d9b0ed 100644
--- a/src/parser/bounded_token_buffer.cpp
+++ b/src/parser/bounded_token_buffer.cpp
@@ -241,7 +241,7 @@ static pANTLR3_COMMON_TOKEN tokLT(pANTLR3_TOKEN_STREAM ts, ANTLR3_INT32 k) {
}
/* Initialize the buffer on our first call. */
- if( EXPECT_FALSE(buffer->empty == ANTLR3_TRUE) ) {
+ if( __builtin_expect( (buffer->empty == ANTLR3_TRUE), false ) ) {
assert( buffer->tokenBuffer != NULL );
buffer->tokenBuffer[ 0 ] = nextToken(buffer);
buffer->maxIndex = 0;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback