Index: src/compiler/typer.cc |
diff --git a/src/compiler/typer.cc b/src/compiler/typer.cc |
index 99f4f8924175597a81545d0ea209d33adb3ae435..97b43f4aefb989ac69e732a14c3fa77b954920a9 100644 |
--- a/src/compiler/typer.cc |
+++ b/src/compiler/typer.cc |
@@ -1264,7 +1264,7 @@ Bounds Typer::Visitor::TypeJSCreateModuleContext(Node* node) { |
} |
-Bounds Typer::Visitor::TypeJSCreateGlobalContext(Node* node) { |
+Bounds Typer::Visitor::TypeJSCreateScriptContext(Node* node) { |
Bounds outer = ContextOperand(node); |
return Bounds(Type::Context(outer.upper, zone())); |
} |