From: Julian Seward Date: Fri, 4 Feb 2005 01:40:03 +0000 (+0000) Subject: Fix wrong comment. X-Git-Tag: svn/VALGRIND_3_0_1^2~503 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5ce63674ddeb717cf04e433f6fd657884fe01857;p=thirdparty%2Fvalgrind.git Fix wrong comment. git-svn-id: svn://svn.valgrind.org/vex/trunk@831 --- diff --git a/VEX/priv/host-x86/hdefs.c b/VEX/priv/host-x86/hdefs.c index 0228c3eca3..0fd7454cfa 100644 --- a/VEX/priv/host-x86/hdefs.c +++ b/VEX/priv/host-x86/hdefs.c @@ -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());