X64: Always use rax as left register from DoInstanceOfKnownGlobal.
On IA32 we use InstanceofStub::left(), but on x64 we have just used rax and rdx directly. This fixes the assertion crashes on x64 crankshaft. Review URL: http://codereview.chromium.org/6596101 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7010 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
ed7265ea21
commit
33bc7f974f
@ -1158,7 +1158,7 @@ LInstruction* LChunkBuilder::DoInstanceOf(HInstanceOf* instr) {
|
|||||||
LInstruction* LChunkBuilder::DoInstanceOfKnownGlobal(
|
LInstruction* LChunkBuilder::DoInstanceOfKnownGlobal(
|
||||||
HInstanceOfKnownGlobal* instr) {
|
HInstanceOfKnownGlobal* instr) {
|
||||||
LInstanceOfKnownGlobal* result =
|
LInstanceOfKnownGlobal* result =
|
||||||
new LInstanceOfKnownGlobal(UseRegisterAtStart(instr->value()));
|
new LInstanceOfKnownGlobal(UseFixed(instr->value(), rax));
|
||||||
return MarkAsCall(DefineFixed(result, rax), instr);
|
return MarkAsCall(DefineFixed(result, rax), instr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user