Unreviewed, fix typo in r244481
authorysuzuki@apple.com <ysuzuki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Apr 2019 05:09:59 +0000 (05:09 +0000)
committerysuzuki@apple.com <ysuzuki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Apr 2019 05:09:59 +0000 (05:09 +0000)
https://bugs.webkit.org/show_bug.cgi?id=196837

* bmalloc/IsoHeapImplInlines.h:
(bmalloc::IsoHeapImpl<Config>::allocateFromShared):

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

Source/bmalloc/ChangeLog
Source/bmalloc/bmalloc/IsoHeapImplInlines.h

index b0afa48..3fa44e8 100644 (file)
@@ -1,3 +1,11 @@
+2019-04-24  Yusuke Suzuki  <ysuzuki@apple.com>
+
+        Unreviewed, fix typo in r244481
+        https://bugs.webkit.org/show_bug.cgi?id=196837
+
+        * bmalloc/IsoHeapImplInlines.h:
+        (bmalloc::IsoHeapImpl<Config>::allocateFromShared):
+
 2019-04-21  Yusuke Suzuki  <ysuzuki@apple.com>
 
         [bmalloc] Use StaticPerProcess' mutex as bmalloc::Heap does with PerProcess
index 23e2b3c..f650280 100644 (file)
@@ -284,7 +284,7 @@ void* IsoHeapImpl<Config>::allocateFromShared(bool abortOnFailure)
     unsigned indexPlusOne = __builtin_ffs(m_usableBits);
     BASSERT(indexPlusOne);
     unsigned index = indexPlusOne - 1;
-    void* result = result = m_sharedCells[index];
+    void* result = m_sharedCells[index];
     if (result) {
         if (verbose)
             fprintf(stderr, "%p: allocated %p from shared again of size %u\n", this, result, Config::objectSize);