Fix compilation errors on some compilers
TBR=ager@chromium.org Review URL: http://codereview.chromium.org/462018 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3402 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
6437fc86cc
commit
4c26032c92
@ -397,7 +397,7 @@ TEST(ExternalShortStringAdd) {
|
||||
static const char* source =
|
||||
"function test() {"
|
||||
" var ascii_chars = 'aaaaaaaaaaaaaaaaaaaa';"
|
||||
" var non_ascii_chars = '\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234\u1234';" //NOLINT
|
||||
" var non_ascii_chars = '\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234\\u1234';" //NOLINT
|
||||
" if (ascii_chars.length != max_length) return 1;"
|
||||
" if (non_ascii_chars.length != max_length) return 2;"
|
||||
" var ascii = Array(max_length + 1);"
|
||||
|
Loading…
Reference in New Issue
Block a user