Fix build on ia32
authorSimon Hausmann <simon.hausmann@digia.com>
Mon, 28 Jan 2013 12:49:03 +0000 (13:49 +0100)
committerLars Knoll <lars.knoll@digia.com>
Mon, 28 Jan 2013 14:08:11 +0000 (15:08 +0100)
loadArgument(PointToValue) is architecture independent :)

Change-Id: I6ce8b7900088bc7052002a9ae60cbebdd5357d8d
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
qv4isel_masm_p.h

index 347db94..5a4a29b 100644 (file)
@@ -199,7 +199,6 @@ public:
         addPtr(TrustedImm32(ptr.offset), ptr.base, dest);
     }
 
-#ifdef VALUE_FITS_IN_REGISTER
     void loadArgument(PointerToValue temp, RegisterID dest)
     {
         assert(temp.value);
@@ -208,6 +207,7 @@ public:
         loadArgument(addr, dest);
     }
 
+#ifdef VALUE_FITS_IN_REGISTER
     void loadArgument(IR::Temp* temp, RegisterID dest)
     {
         if (!temp) {