Index: src/crankshaft/hydrogen.h |
diff --git a/src/crankshaft/hydrogen.h b/src/crankshaft/hydrogen.h |
index 931dd01dcbe8b78ce73e945d9be74703caed209e..48f83d08be29f1fca6eb75e90ea33d1ea3a3184b 100644 |
--- a/src/crankshaft/hydrogen.h |
+++ b/src/crankshaft/hydrogen.h |
@@ -35,7 +35,7 @@ class Scope; |
class HCompilationJob final : public CompilationJob { |
public: |
explicit HCompilationJob(Handle<JSFunction> function) |
- : CompilationJob(&info_, "Crankshaft"), |
+ : CompilationJob(function->GetIsolate(), &info_, "Crankshaft"), |
zone_(function->GetIsolate()->allocator()), |
parse_info_(&zone_, function), |
info_(&parse_info_, function), |