Title: [98220] trunk/Source/_javascript_Core
Revision
98220
Author
[email protected]
Date
2011-10-24 00:42:00 -0700 (Mon, 24 Oct 2011)

Log Message

Interpreter build fix after r98179.

* bytecode/CodeBlock.h:
Moved CodeBlock::baselineVersion() into ENABLE(JIT) block,
since it is only used there.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (98219 => 98220)


--- trunk/Source/_javascript_Core/ChangeLog	2011-10-24 06:59:15 UTC (rev 98219)
+++ trunk/Source/_javascript_Core/ChangeLog	2011-10-24 07:42:00 UTC (rev 98220)
@@ -1,3 +1,11 @@
+2011-10-24  Patrick Gansterer  <[email protected]>
+
+        Interpreter build fix after r98179.
+
+        * bytecode/CodeBlock.h:
+        Moved CodeBlock::baselineVersion() into ENABLE(JIT) block,
+        since it is only used there.
+
 2011-10-23  Geoffrey Garen  <[email protected]>
 
         Fixed a typo Darin spotted.

Modified: trunk/Source/_javascript_Core/bytecode/CodeBlock.h (98219 => 98220)


--- trunk/Source/_javascript_Core/bytecode/CodeBlock.h	2011-10-24 06:59:15 UTC (rev 98219)
+++ trunk/Source/_javascript_Core/bytecode/CodeBlock.h	2011-10-24 07:42:00 UTC (rev 98220)
@@ -246,11 +246,12 @@
 
     public:
         virtual ~CodeBlock();
-        
+
         CodeBlock* alternative() { return m_alternative.get(); }
         PassOwnPtr<CodeBlock> releaseAlternative() { return m_alternative.release(); }
         void setAlternative(PassOwnPtr<CodeBlock> alternative) { m_alternative = alternative; }
-        
+
+#if ENABLE(JIT)
         CodeBlock* baselineVersion()
         {
             CodeBlock* result = replacement();
@@ -262,7 +263,8 @@
             ASSERT(result->getJITType() == JITCode::BaselineJIT);
             return result;
         }
-        
+#endif
+
         void visitAggregate(SlotVisitor&);
 
         static void dumpStatistics();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to