Index: test/cctest/test-alloc.cc |
diff --git a/test/cctest/test-alloc.cc b/test/cctest/test-alloc.cc |
index c8d7354c87160acc747db282e9214c6500f29768..8cabd3d9e93b5efaae849dff93aa63f1b503e568 100644 |
--- a/test/cctest/test-alloc.cc |
+++ b/test/cctest/test-alloc.cc |
@@ -121,7 +121,7 @@ TEST(StressJS) { |
v8::HandleScope scope; |
env->Enter(); |
Handle<JSFunction> function = |
- FACTORY->NewFunction(FACTORY->function_symbol(), FACTORY->null_value()); |
+ FACTORY->NewFunction(FACTORY->function_string(), FACTORY->null_value()); |
// Force the creation of an initial map and set the code to |
// something empty. |
FACTORY->NewJSObject(function); |