| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 8c63022db8a0ac94928987882ddf258aabc599fd..0b81674e44983e36e56fbeb40d39e2ac1092e613 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -4170,6 +4170,10 @@ class SharedFunctionInfo: public HeapObject {
|
| inline bool optimization_disabled();
|
| inline void set_optimization_disabled(bool value);
|
|
|
| + // Indicates whether the function is a strict mode function.
|
| + inline bool strict_mode();
|
| + inline void set_strict_mode(bool value);
|
| +
|
| // Indicates whether or not the code in the shared function support
|
| // deoptimization.
|
| inline bool has_deoptimization_support();
|
| @@ -4351,6 +4355,7 @@ class SharedFunctionInfo: public HeapObject {
|
| static const int kCodeAgeShift = 4;
|
| static const int kCodeAgeMask = 0x7;
|
| static const int kOptimizationDisabled = 7;
|
| + static const int kStrictModeFunction = 8;
|
|
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(SharedFunctionInfo);
|
| };
|
|
|