| Index: src/hydrogen.h
|
| diff --git a/src/hydrogen.h b/src/hydrogen.h
|
| index 2d08dc8e79ee7faa8435a687722711107d384adc..92dd6612a109b230f2d405b61bfabf98ababc5e9 100644
|
| --- a/src/hydrogen.h
|
| +++ b/src/hydrogen.h
|
| @@ -779,7 +779,8 @@ class HGraphBuilder: public AstVisitor {
|
| function_state()->ClearInlinedTestContext();
|
| }
|
| StrictModeFlag function_strict_mode_flag() {
|
| - return function_state()->compilation_info()->strict_mode_flag();
|
| + return function_state()->compilation_info()->is_classic_mode()
|
| + ? kNonStrictMode : kStrictMode;
|
| }
|
|
|
| // Generators for inline runtime functions.
|
|
|