Commit e2fd02ac authored by plind44@gmail.com's avatar plind44@gmail.com

MIPS: Turn HCompareHoleAndBranch into a HUnaryControlInstruction.

Port r16805 (b106027)

BUG=
R=plind44@gmail.com

Review URL: https://codereview.chromium.org/23876029

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16838 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 4aabca0d
......@@ -1657,8 +1657,8 @@ LInstruction* LChunkBuilder::DoCompareObjectEqAndBranch(
LInstruction* LChunkBuilder::DoCompareHoleAndBranch(
HCompareHoleAndBranch* instr) {
LOperand* object = UseRegisterAtStart(instr->object());
return new(zone()) LCmpHoleAndBranch(object);
LOperand* value = UseRegisterAtStart(instr->value());
return new(zone()) LCmpHoleAndBranch(value);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment