| Index: src/hydrogen.h
|
| diff --git a/src/hydrogen.h b/src/hydrogen.h
|
| index 4e6c32e1ef0e6cb0364b8dc793ffc6f13f8e1ca3..e6a560f77a32f6e1b24e4aac8534f57c652db364 100644
|
| --- a/src/hydrogen.h
|
| +++ b/src/hydrogen.h
|
| @@ -2109,9 +2109,8 @@ class HOptimizedGraphBuilder : public HGraphBuilder, public AstVisitor {
|
| void ClearInlinedTestContext() {
|
| function_state()->ClearInlinedTestContext();
|
| }
|
| - StrictModeFlag function_strict_mode_flag() {
|
| - return function_state()->compilation_info()->is_sloppy_mode()
|
| - ? kSloppyMode : kStrictMode;
|
| + StrictMode function_strict_mode() {
|
| + return function_state()->compilation_info()->strict_mode();
|
| }
|
|
|
| // Generators for inline runtime functions.
|
|
|