http://codereview.chromium.org/547024/diff/2002/2009
File src/ia32/regexp-macro-assembler-ia32.cc (right):

http://codereview.chromium.org/547024/diff/2002/2009#newcode547
src/ia32/regexp-macro-assembler-ia32.cc:547: ASSERT_EQ(0,
word_character_map[0]);  // Character '\0' is not a word char.
I'll put it in the comment at the table declaration that entries must be
0 or 255.
The important test here is that '\0' isn't a word character, so it
doesn't matter that:
  is_word_char(character) ::= (character & table[character]) != 0
gives false independently of the table.

http://codereview.chromium.org/547024
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to