Reviewers: danno, Benedikt Meurer, Paul Lind, kisg, palfia,

Description:
MIPS: Turn HCompareHoleAndBranch into a HUnaryControlInstruction.

Port r16805 (b106027)

BUG=

Please review this at https://codereview.chromium.org/23876029/

SVN Base: https://github.com/v8/v8.git@gbl

Affected files (+2, -2 lines):
  M src/mips/lithium-mips.cc


Index: src/mips/lithium-mips.cc
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc
index a7319aeb5e70b3477d1903f4f905a0f612d37044..7da924555455da5cfa2b495575d0f0ee254402bf 100644
--- a/src/mips/lithium-mips.cc
+++ b/src/mips/lithium-mips.cc
@@ -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);
 }




--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to