Index: src/crankshaft/hydrogen.cc |
diff --git a/src/crankshaft/hydrogen.cc b/src/crankshaft/hydrogen.cc |
index c8c3618201fbf08333754139457ca5df790e801f..e7d91f786af2ddd532f3c3e6f3dbb14acbcba2f3 100644 |
--- a/src/crankshaft/hydrogen.cc |
+++ b/src/crankshaft/hydrogen.cc |
@@ -8238,13 +8238,13 @@ |
// Parse and allocate variables. |
// Use the same AstValueFactory for creating strings in the sub-compilation |
// step, but don't transfer ownership to target_info. |
- Handle<SharedFunctionInfo> target_shared(target->shared()); |
- ParseInfo parse_info(zone(), target_shared); |
+ ParseInfo parse_info(zone(), target); |
parse_info.set_ast_value_factory( |
top_info()->parse_info()->ast_value_factory()); |
parse_info.set_ast_value_factory_owned(false); |
CompilationInfo target_info(&parse_info, target); |
+ Handle<SharedFunctionInfo> target_shared(target->shared()); |
if (inlining_kind != CONSTRUCT_CALL_RETURN && |
IsClassConstructor(target_shared->kind())) { |