AsyncStackTrace can be shrunk by 8 bytes
authorrmorisset@apple.com <rmorisset@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 9 Mar 2019 17:24:16 +0000 (17:24 +0000)
committerrmorisset@apple.com <rmorisset@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 9 Mar 2019 17:24:16 +0000 (17:24 +0000)
https://bugs.webkit.org/show_bug.cgi?id=195491

Reviewed by Mark Lam.

* inspector/AsyncStackTrace.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242672 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/inspector/AsyncStackTrace.h

index 1bc8bde..0f25451 100644 (file)
@@ -1,3 +1,12 @@
+2019-03-09  Robin Morisset  <rmorisset@apple.com>
+
+        AsyncStackTrace can be shrunk by 8 bytes
+        https://bugs.webkit.org/show_bug.cgi?id=195491
+
+        Reviewed by Mark Lam.
+
+        * inspector/AsyncStackTrace.h:
+
 2019-03-08  Mark Lam  <mark.lam@apple.com>
 
         Stack overflow crash in JSC::JSObject::hasInstance.
index 22b3fe7..6ede6c4 100644 (file)
@@ -35,7 +35,7 @@ class ScriptCallStack;
 
 class JS_EXPORT_PRIVATE AsyncStackTrace : public RefCounted<AsyncStackTrace> {
 public:
-    enum class State {
+    enum class State : uint8_t {
         Pending,
         Active,
         Dispatched,