Fix WPE and GTK Debug builds after r243049
authordpino@igalia.com <dpino@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 17 Mar 2019 12:06:48 +0000 (12:06 +0000)
committerdpino@igalia.com <dpino@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 17 Mar 2019 12:06:48 +0000 (12:06 +0000)
https://bugs.webkit.org/show_bug.cgi?id=195860

Unreviewed, build fix after r243049.

* runtime/StringPrototype.cpp:
(JSC::normalizationAffects8Bit):

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/StringPrototype.cpp

index 62d7b4c..9687b92 100644 (file)
@@ -1,3 +1,13 @@
+2019-03-17  Diego Pino Garcia  <dpino@igalia.com>
+
+        Fix WPE and GTK Debug builds after r243049
+        https://bugs.webkit.org/show_bug.cgi?id=195860
+
+        Unreviewed, build fix after r243049.
+
+        * runtime/StringPrototype.cpp:
+        (JSC::normalizationAffects8Bit):
+
 2019-03-17  Yusuke Suzuki  <ysuzuki@apple.com>
 
         REGRESSION: !vm.isInitializingObject() void* JSC::tryAllocateCellHelper<JSC::Structure> JSC::Structure::create
index 3affccb..8dccd01 100644 (file)
@@ -1818,8 +1818,9 @@ static constexpr bool normalizationAffects8Bit(NormalizationForm form)
         return false;
     case NormalizationForm::NFKD:
         return true;
+    default:
+        ASSERT_NOT_REACHED();
     }
-    ASSERT_NOT_REACHED();
     return true;
 }