Title: [243053] trunk/Source/_javascript_Core
Revision
243053
Author
[email protected]
Date
2019-03-17 16:45:23 -0700 (Sun, 17 Mar 2019)

Log Message

ParserError can be shrunk by 8 bytes
https://bugs.webkit.org/show_bug.cgi?id=195496

Reviewed by Mark Lam.

* parser/ParserError.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (243052 => 243053)


--- trunk/Source/_javascript_Core/ChangeLog	2019-03-17 12:06:48 UTC (rev 243052)
+++ trunk/Source/_javascript_Core/ChangeLog	2019-03-17 23:45:23 UTC (rev 243053)
@@ -1,3 +1,12 @@
+2019-03-17  Robin Morisset  <[email protected]>
+
+        ParserError can be shrunk by 8 bytes
+        https://bugs.webkit.org/show_bug.cgi?id=195496
+
+        Reviewed by Mark Lam.
+
+        * parser/ParserError.h:
+
 2019-03-17  Diego Pino Garcia  <[email protected]>
 
         Fix WPE and GTK Debug builds after r243049

Modified: trunk/Source/_javascript_Core/parser/ParserError.h (243052 => 243053)


--- trunk/Source/_javascript_Core/parser/ParserError.h	2019-03-17 12:06:48 UTC (rev 243052)
+++ trunk/Source/_javascript_Core/parser/ParserError.h	2019-03-17 23:45:23 UTC (rev 243053)
@@ -35,7 +35,7 @@
 
 class ParserError {
 public:
-    enum SyntaxErrorType {
+    enum SyntaxErrorType : uint8_t {
         SyntaxErrorNone,
         SyntaxErrorIrrecoverable,
         SyntaxErrorUnterminatedLiteral,
@@ -42,7 +42,7 @@
         SyntaxErrorRecoverable
     };
 
-    enum ErrorType {
+    enum ErrorType : uint8_t {
         ErrorNone,
         StackOverflow,
         EvalError,
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to