Chromium Code Reviews| Index: src/globals.h |
| diff --git a/src/globals.h b/src/globals.h |
| index c4f55522a14c8d5a71864a128fc10f113fdeb113..6fc93d92db2707cc09b0d3ef6f27141513220aa6 100644 |
| --- a/src/globals.h |
| +++ b/src/globals.h |
| @@ -272,7 +272,8 @@ |
| // The Strict Mode (ECMA-262 5th edition, 4.2.2). |
| -enum LanguageMode : uint32_t { SLOPPY, STRICT, LANGUAGE_END }; |
| +enum LanguageMode { SLOPPY, STRICT, LANGUAGE_END = 3 }; |
| + |
| inline std::ostream& operator<<(std::ostream& os, const LanguageMode& mode) { |
| switch (mode) { |