Index: src/hydrogen.h |
diff --git a/src/hydrogen.h b/src/hydrogen.h |
index 51665a7a046cc72270fb26ec72b2cdcaffd64e12..7a6eae449c5b8952b90669f9d346b98db0222b77 100644 |
--- a/src/hydrogen.h |
+++ b/src/hydrogen.h |
@@ -2189,8 +2189,8 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor { |
void ClearInlinedTestContext() { |
function_state()->ClearInlinedTestContext(); |
} |
- StrictMode function_strict_mode() { |
- return function_state()->compilation_info()->strict_mode(); |
+ LanguageMode function_language_mode() { |
+ return function_state()->compilation_info()->language_mode(); |
} |
// Generators for inline runtime functions. |