Index: src/factory.cc |
diff --git a/src/factory.cc b/src/factory.cc |
index b51fa73087e1063a4ad4da1e604a61a8a90f5010..85b2dca575720d61b4912be45af6094deed1eb24 100644 |
--- a/src/factory.cc |
+++ b/src/factory.cc |
@@ -2107,7 +2107,7 @@ Handle<SharedFunctionInfo> Factory::NewSharedFunctionInfo( |
share->set_function_data(*undefined_value(), SKIP_WRITE_BARRIER); |
share->set_script(*undefined_value(), SKIP_WRITE_BARRIER); |
share->set_debug_info(DebugInfo::uninitialized(), SKIP_WRITE_BARRIER); |
- share->set_inferred_name(*empty_string(), SKIP_WRITE_BARRIER); |
+ share->set_function_identifier(*undefined_value(), SKIP_WRITE_BARRIER); |
StaticFeedbackVectorSpec empty_spec; |
Handle<TypeFeedbackMetadata> feedback_metadata = |
TypeFeedbackMetadata::New(isolate(), &empty_spec); |