]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix wrong comment.
authorJulian Seward <jseward@acm.org>
Fri, 4 Feb 2005 01:40:03 +0000 (01:40 +0000)
committerJulian Seward <jseward@acm.org>
Fri, 4 Feb 2005 01:40:03 +0000 (01:40 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@831

VEX/priv/host-x86/hdefs.c

index 0228c3eca3a3a1f37ca19cd4e83052b71db04bf3..0fd7454cfa3f7c0ef06603eae21261b0fba1c443 100644 (file)
@@ -1189,8 +1189,9 @@ void getRegUsage_X86Instr (HRegUsage* u, X86Instr* i)
          return;
       case Xin_Call:
          /* This is a bit subtle. */
-         /* First off, claim it trashes all the callee-saved regs */
-         /* which I believe to be %eax,%ecx,%edx. */
+         /* First off, claim it trashes all the caller-saved regs
+            which fall within the register allocator's jurisdiction.
+            These I believe to be %eax,%ecx,%edx. */
          addHRegUse(u, HRmWrite, hregX86_EAX());
          addHRegUse(u, HRmWrite, hregX86_ECX());
          addHRegUse(u, HRmWrite, hregX86_EDX());