Unreviewed, build fix for non-DFG platforms.
authorfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Feb 2012 23:11:33 +0000 (23:11 +0000)
committerfpizlo@apple.com <fpizlo@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 14 Feb 2012 23:11:33 +0000 (23:11 +0000)
* assembler/MacroAssembler.h:
(MacroAssembler):

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/assembler/MacroAssembler.h

index 3427d3a..1b2ecd5 100644 (file)
@@ -1,5 +1,12 @@
 2012-02-14  Filip Pizlo  <fpizlo@apple.com>
 
+        Unreviewed, build fix for non-DFG platforms.
+
+        * assembler/MacroAssembler.h:
+        (MacroAssembler):
+
+2012-02-14  Filip Pizlo  <fpizlo@apple.com>
+
         Unreviewed, fix build and configuration goof.
 
         * assembler/MacroAssembler.h:
index fbd4638..347cd0e 100644 (file)
@@ -73,6 +73,9 @@ public:
     using MacroAssemblerBase::branchPtr;
     using MacroAssemblerBase::branchTestPtr;
 #endif
+
+    // Utilities used by the DFG JIT.
+#if ENABLE(DFG_JIT)
     using MacroAssemblerBase::invert;
     
     static DoubleCondition invert(DoubleCondition cond)
@@ -131,6 +134,7 @@ public:
             return Zero; // Make compiler happy for release builds.
         }
     }
+#endif
 
     // Platform agnostic onvenience functions,
     // described in terms of other macro assembly methods.