Index: src/crankshaft/hydrogen.h |
diff --git a/src/crankshaft/hydrogen.h b/src/crankshaft/hydrogen.h |
index d2f1637d113a250eead2d6d096bac29cd849cdfe..864a98df4e8dbb9164f476f40174f940b5f492a5 100644 |
--- a/src/crankshaft/hydrogen.h |
+++ b/src/crankshaft/hydrogen.h |
@@ -38,7 +38,7 @@ class HCompilationJob final : public CompilationJob { |
explicit HCompilationJob(Handle<JSFunction> function) |
: CompilationJob(function->GetIsolate(), &info_, "Crankshaft"), |
zone_(function->GetIsolate()->allocator()), |
- parse_info_(&zone_, function), |
+ parse_info_(&zone_, handle(function->shared())), |
info_(&parse_info_, function), |
graph_(nullptr), |
chunk_(nullptr) {} |