| Index: src/globals.h
|
| ===================================================================
|
| --- src/globals.h (revision 9809)
|
| +++ src/globals.h (working copy)
|
| @@ -358,6 +358,20 @@
|
| class FreeStoreAllocationPolicy;
|
| template <typename T, class P = FreeStoreAllocationPolicy> class List;
|
|
|
| +// -----------------------------------------------------------------------------
|
| +// Declarations for use in both the preparser and the rest of V8.
|
| +
|
| +// The Strict Mode (ECMA-262 5th edition, 4.2.2).
|
| +enum StrictModeFlag {
|
| + kNonStrictMode,
|
| + kStrictMode,
|
| + // This value is never used, but is needed to prevent GCC 4.5 from failing
|
| + // to compile when we assert that a flag is either kNonStrictMode or
|
| + // kStrictMode.
|
| + kInvalidStrictFlag
|
| +};
|
| +
|
| +
|
| } } // namespace v8::internal
|
|
|
| #endif // V8_GLOBALS_H_
|
|
|