Index: src/interpreter/bytecode-generator.cc |
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc |
index 3c3c2843e45b39205bd6f33b982832c116451d50..221ff108506b78ef8ebc546c89b6a5aeecee81a2 100644 |
--- a/src/interpreter/bytecode-generator.cc |
+++ b/src/interpreter/bytecode-generator.cc |
@@ -1112,7 +1112,7 @@ void BytecodeGenerator::VisitForInAssignment(Expression* expr, |
void BytecodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
if (stmt->subject()->IsNullLiteral() || |
- stmt->subject()->IsUndefinedLiteral(isolate())) { |
+ stmt->subject()->IsUndefinedLiteral()) { |
// ForIn generates lots of code, skip if it wouldn't produce any effects. |
return; |
} |