Remove DFG::SpeculativeJIT::isKnownNumeric(), since it's not called from anywhere.
authorfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Feb 2013 09:16:01 +0000 (09:16 +0000)
committerfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 18 Feb 2013 09:16:01 +0000 (09:16 +0000)
Rubber stamped by Andy Estes.

* dfg/DFGSpeculativeJIT.cpp:
(DFG):
* dfg/DFGSpeculativeJIT.h:
(SpeculativeJIT):

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp
Source/JavaScriptCore/dfg/DFGSpeculativeJIT.h

index 3a2b6b6..4e7fd73 100644 (file)
@@ -1,5 +1,16 @@
 2013-02-18  Filip Pizlo  <fpizlo@apple.com>
 
+        Remove DFG::SpeculativeJIT::isKnownNumeric(), since it's not called from anywhere.
+
+        Rubber stamped by Andy Estes.
+
+        * dfg/DFGSpeculativeJIT.cpp:
+        (DFG):
+        * dfg/DFGSpeculativeJIT.h:
+        (SpeculativeJIT):
+
+2013-02-18  Filip Pizlo  <fpizlo@apple.com>
+
         Remove DFG::SpeculativeJIT::isStrictInt32(), since it's not called from anywhere.
 
         Rubber stampted by Andy Estes.
index 9398572..40caa5e 100644 (file)
@@ -944,19 +944,6 @@ bool SpeculativeJIT::isKnownInteger(Node* node)
     return info.isJSInteger();
 }
 
-bool SpeculativeJIT::isKnownNumeric(Node* node)
-{
-    if (isInt32Constant(node) || isNumberConstant(node))
-        return true;
-
-    if (node->hasNumberResult())
-        return true;
-    
-    GenerationInfo& info = m_generationInfo[node->virtualRegister()];
-
-    return info.isJSInteger() || info.isJSDouble();
-}
-
 bool SpeculativeJIT::isKnownCell(Node* node)
 {
     return m_generationInfo[node->virtualRegister()].isJSCell();
index cacd620..03b725d 100644 (file)
@@ -525,7 +525,6 @@ public:
     }
     
     bool isKnownInteger(Node*);
-    bool isKnownNumeric(Node*);
     bool isKnownCell(Node*);
     
     bool isKnownNotInteger(Node*);