Revision: 6624
Author: [email protected]
Date: Thu Feb 3 08:07:52 2011
Log: Don't use eax on x64. :)
TBR=ricow
Review URL: http://codereview.chromium.org/6312122
http://code.google.com/p/v8/source/detail?r=6624
Modified:
/branches/bleeding_edge/src/x64/lithium-codegen-x64.cc
=======================================
--- /branches/bleeding_edge/src/x64/lithium-codegen-x64.cc Thu Feb 3
07:40:20 2011
+++ /branches/bleeding_edge/src/x64/lithium-codegen-x64.cc Thu Feb 3
08:07:52 2011
@@ -1529,7 +1529,7 @@
__ movq(rsi, FieldOperand(rdi, JSFunction::kContextOffset));
}
- // Set eax to arguments count if adaption is not needed. Assumes that eax
+ // Set rax to arguments count if adaption is not needed. Assumes that rax
// is available to write to at this point.
if (!function->NeedsArgumentsAdaption()) {
__ Set(rax, arity);
@@ -1554,7 +1554,7 @@
void LCodeGen::DoCallConstantFunction(LCallConstantFunction* instr) {
- ASSERT(ToRegister(instr->result()).is(eax));
+ ASSERT(ToRegister(instr->result()).is(rax));
__ Move(rdi, instr->function());
CallKnownFunction(instr->function(), instr->arity(), instr);
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev