Remove FTL::LowerDFGToLLVM::compileJSConstant()
authorfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Nov 2013 21:03:17 +0000 (21:03 +0000)
committerfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 5 Nov 2013 21:03:17 +0000 (21:03 +0000)
https://bugs.webkit.org/show_bug.cgi?id=123817

Reviewed by Geoffrey Garen.

* ftl/FTLLowerDFGToLLVM.cpp:

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/ftl/FTLLowerDFGToLLVM.cpp

index de77668..089d189 100644 (file)
@@ -1,3 +1,12 @@
+2013-11-05  Filip Pizlo  <fpizlo@apple.com>
+
+        Remove FTL::LowerDFGToLLVM::compileJSConstant()
+        https://bugs.webkit.org/show_bug.cgi?id=123817
+
+        Reviewed by Geoffrey Garen.
+
+        * ftl/FTLLowerDFGToLLVM.cpp:
+
 2013-11-04  Filip Pizlo  <fpizlo@apple.com>
 
         FTL should support PutById
index 28ad8a9..2f10a0b 100644 (file)
@@ -533,15 +533,6 @@ private:
         }
     }
     
-    void compileJSConstant()
-    {
-        JSValue value = m_graph.valueOfJSConstant(m_node);
-        if (value.isDouble())
-            setDouble(m_out.constDouble(value.asDouble()));
-        else
-            setJSValue(m_out.constInt64(JSValue::encode(value)));
-    }
-    
     void compileWeakJSConstant()
     {
         setJSValue(weakPointer(m_node->weakConstant()));