Index: src/typing-asm.cc |
diff --git a/src/typing-asm.cc b/src/typing-asm.cc |
index d98998520fae35bbc16c305979a6123df1be0cd7..b6eca744310c8e475f66e0b62c4aab5fb8c90fd8 100644 |
--- a/src/typing-asm.cc |
+++ b/src/typing-asm.cc |
@@ -603,7 +603,7 @@ void AsmTyper::VisitLiteral(Literal* expr, bool is_return) { |
} |
} else if (!is_return && value->IsString()) { |
RECURSE(IntersectResult(expr, Type::String())); |
- } else if (value->IsUndefined()) { |
+ } else if (value->IsUndefined(isolate_)) { |
RECURSE(IntersectResult(expr, Type::Undefined())); |
} else { |
FAIL(expr, "illegal literal"); |