Chromium Code Reviews| Index: src/globals.h |
| diff --git a/src/globals.h b/src/globals.h |
| index 6fc93d92db2707cc09b0d3ef6f27141513220aa6..ca133ad3dac07402a8e7dcf9134f482aba61dba9 100644 |
| --- a/src/globals.h |
| +++ b/src/globals.h |
| @@ -272,8 +272,7 @@ template <typename T, class P = FreeStoreAllocationPolicy> class List; |
| // The Strict Mode (ECMA-262 5th edition, 4.2.2). |
| -enum LanguageMode { SLOPPY, STRICT, LANGUAGE_END = 3 }; |
| - |
| +enum LanguageMode { SLOPPY, STRICT, LANGUAGE_END = 2 }; |
|
neis
2016/08/17 16:47:34
Why do we explicitly write down the number here? T
Toon Verwaest
2016/08/17 21:26:11
Done.
|
| inline std::ostream& operator<<(std::ostream& os, const LanguageMode& mode) { |
| switch (mode) { |