| Index: src/hydrogen.h
|
| diff --git a/src/hydrogen.h b/src/hydrogen.h
|
| index 1b2c76a746c71d220d91a20c662aecb6e7d14968..4af4478349574799c6dc72e81d9f94f183dfafae 100644
|
| --- a/src/hydrogen.h
|
| +++ b/src/hydrogen.h
|
| @@ -709,6 +709,9 @@ class HGraphBuilder: public AstVisitor {
|
| void ClearInlinedTestContext() {
|
| function_state()->ClearInlinedTestContext();
|
| }
|
| + bool function_strict_mode() {
|
| + return function_state()->compilation_info()->is_strict_mode();
|
| + }
|
|
|
| // Generators for inline runtime functions.
|
| #define INLINE_FUNCTION_GENERATOR_DECLARATION(Name, argc, ressize) \
|
|
|