]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix HReg <--> integer mixup. vreg2ireg returns an HReg not an integer.
authorFlorian Krohm <florian@eich-krohm.de>
Thu, 24 Jan 2013 04:59:49 +0000 (04:59 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Thu, 24 Jan 2013 04:59:49 +0000 (04:59 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@2655

VEX/priv/host_amd64_defs.c

index 47d3a20c1ed38d9316f8fbc28e0a16137fd30ada..09515c15a9874859d5fc3921aa7f1502be339036 100644 (file)
@@ -1940,7 +1940,7 @@ static UChar iregBits3210 ( HReg r )
    fakery which facilitates using functions that work on integer
    register numbers to be used when assembling SSE instructions
    too. */
-static UInt vreg2ireg ( HReg r )
+static HReg vreg2ireg ( HReg r )
 {
    UInt n;
    vassert(hregClass(r) == HRcVec128);
@@ -1951,7 +1951,7 @@ static UInt vreg2ireg ( HReg r )
 }
 
 //uu /* Ditto for ymm regs. */
-//uu static UInt dvreg2ireg ( HReg r )
+//uu static HReg dvreg2ireg ( HReg r )
 //uu {
 //uu    UInt n;
 //uu    vassert(hregClass(r) == HRcVec256);