Commit 305b7a31 authored by marja@chromium.org's avatar marja@chromium.org

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
parent 7539de49
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment