Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index ae940841680622d5531a972af483859610348780..4d9bc9bc64ef3b693e59c4d66645873af43a0cbf 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -7625,7 +7625,7 @@ bool HOptimizedGraphBuilder::TryInline(CallKind call_kind, |
TraceInline(target, caller, "could not generate deoptimization info"); |
return false; |
} |
- if (target_shared->scope_info() == ScopeInfo::Empty()) { |
+ if (target_shared->scope_info() == ScopeInfo::Empty(isolate())) { |
// The scope info might not have been set if a lazily compiled |
// function is inlined before being called for the first time. |
Handle<ScopeInfo> target_scope_info = |