Unreviewed, follow-up change after r250198
authorysuzuki@apple.com <ysuzuki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 22 Sep 2019 09:08:28 +0000 (09:08 +0000)
committerysuzuki@apple.com <ysuzuki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 22 Sep 2019 09:08:28 +0000 (09:08 +0000)
https://bugs.webkit.org/show_bug.cgi?id=201633

* b3/testb3_5.cpp:
(testCheckAddRemoveCheckWithSExt16):

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/b3/testb3_5.cpp

index b69c929..126e443 100644 (file)
@@ -1,3 +1,11 @@
+2019-09-22  Yusuke Suzuki  <ysuzuki@apple.com>
+
+        Unreviewed, follow-up change after r250198
+        https://bugs.webkit.org/show_bug.cgi?id=201633
+
+        * b3/testb3_5.cpp:
+        (testCheckAddRemoveCheckWithSExt16):
+
 2019-09-21  Yusuke Suzuki  <ysuzuki@apple.com>
 
         [JSC] Remove CheckAdd in JetStream2/async-fs's Math.random function
index 0637c62..62a7ca3 100644 (file)
@@ -965,7 +965,7 @@ void testCheckAddRemoveCheckWithSExt16(int16_t value)
 
     auto code = compileProc(proc);
 
-    CHECK(invoke<int64_t>(*code, value) == 2ll * value);
+    CHECK(invoke<int64_t>(*code, value) == 2ll * static_cast<int32_t>(value));
 }
 
 void testCheckAddRemoveCheckWithSExt32(int32_t value)