Unreviewed, add a comment to describe something I learned about a confusingly-named...
authorfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 Aug 2015 19:58:50 +0000 (19:58 +0000)
committerfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 27 Aug 2015 19:58:50 +0000 (19:58 +0000)
* dfg/DFGUseKind.h:
(JSC::DFG::isCell):

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/dfg/DFGUseKind.h

index 51a8129..f3315cf 100644 (file)
@@ -1,3 +1,10 @@
+2015-08-27  Filip Pizlo  <fpizlo@apple.com>
+
+        Unreviewed, add a comment to describe something I learned about a confusingly-named function.
+
+        * dfg/DFGUseKind.h:
+        (JSC::DFG::isCell):
+
 2015-08-27  Basile Clement  <basile_clement@apple.com>
 
         REGRESSION(r184779): Possible read-after-free in JavaScriptCore/dfg/DFGClobberize.h
index 14c1e95..800dcbb 100644 (file)
@@ -191,6 +191,8 @@ inline bool isDouble(UseKind kind)
     }
 }
 
+// Returns true if the use kind only admits cells, and is therefore appropriate for
+// SpeculateCellOperand in the DFG or lowCell() in the FTL.
 inline bool isCell(UseKind kind)
 {
     switch (kind) {