Fix test-parsing/TooManyArguments.
(Asan.) R=machenbach@chromium.org BUG= Review URL: https://codereview.chromium.org/199213002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19907 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
7539de4981
commit
305b7a31ab
@ -2355,11 +2355,12 @@ TEST(TooManyArguments) {
|
||||
};
|
||||
|
||||
using v8::internal::Code;
|
||||
char statement[Code::kMaxArguments * 2];
|
||||
char statement[Code::kMaxArguments * 2 + 1];
|
||||
for (int i = 0; i < Code::kMaxArguments; ++i) {
|
||||
statement[2 * i] = '0';
|
||||
statement[2 * i + 1] = ',';
|
||||
}
|
||||
statement[Code::kMaxArguments * 2] = 0;
|
||||
|
||||
const char* statement_data[] = {
|
||||
statement,
|
||||
|
Loading…
Reference in New Issue
Block a user