Index: src/crankshaft/hydrogen.h |
diff --git a/src/crankshaft/hydrogen.h b/src/crankshaft/hydrogen.h |
index dd839253cfaa4b4f63ba23fefdb53196b6365648..876a0e71da5991c75a652cf462b4596735617e50 100644 |
--- a/src/crankshaft/hydrogen.h |
+++ b/src/crankshaft/hydrogen.h |
@@ -2246,7 +2246,7 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor { |
function_state()->ClearInlinedTestContext(); |
} |
LanguageMode function_language_mode() { |
- return function_state()->compilation_info()->language_mode(); |
+ return function_state()->compilation_info()->parse_info()->language_mode(); |
} |
#define FOR_EACH_HYDROGEN_INTRINSIC(F) \ |