Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 7d120b7f81749248831427c13e952e86df40e850..154027f56e7d866b239b61ca9510bb05598ef9a3 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -8164,7 +8164,7 @@ void HOptimizedGraphBuilder::VisitCompareOperation(CompareOperation* expr) { |
if (expr->IsLiteralCompareTypeof(&sub_expr, &check)) { |
return HandleLiteralCompareTypeof(expr, sub_expr, check); |
} |
- if (expr->IsLiteralCompareUndefined(&sub_expr)) { |
+ if (expr->IsLiteralCompareUndefined(&sub_expr, isolate())) { |
return HandleLiteralCompareNil(expr, sub_expr, kUndefinedValue); |
} |
if (expr->IsLiteralCompareNull(&sub_expr)) { |