| Index: test/cctest/compiler/function-tester.h
|
| diff --git a/test/cctest/compiler/function-tester.h b/test/cctest/compiler/function-tester.h
|
| index b48b4d298adce13fbac90732374b13dd19ed8c57..c6093ce6e4976c73e7cf8774441a133d2f588d62 100644
|
| --- a/test/cctest/compiler/function-tester.h
|
| +++ b/test/cctest/compiler/function-tester.h
|
| @@ -206,11 +206,10 @@ class FunctionTester : public InitializedHandleScope {
|
| std::string BuildFunction(int param_count) {
|
| std::string function_string = "(function(";
|
| if (param_count > 0) {
|
| - char next = 'a';
|
| - function_string += next;
|
| - while (param_count-- > 0) {
|
| + function_string += 'a';
|
| + for (int i = 1; i < param_count; i++) {
|
| function_string += ',';
|
| - function_string += ++next;
|
| + function_string += static_cast<char>('a' + i);
|
| }
|
| }
|
| function_string += "){})";
|
|
|