Revision: 17852
Author:   [email protected]
Date:     Tue Nov 19 02:26:10 2013 UTC
Log:      MIPS: Make HTypeofIsAndBranch accept any representation input

Port r17834 (cf97fcb6)

Original commit message:
Make HTypeofIsAndBranch accept any representation input
when the input is known unbox number value, eliminate the dynamic check

BUG=
[email protected]

Review URL: https://codereview.chromium.org/75943002
http://code.google.com/p/v8/source/detail?r=17852

Modified:
 /branches/bleeding_edge/src/mips/lithium-mips.cc

=======================================
--- /branches/bleeding_edge/src/mips/lithium-mips.cc Fri Nov 15 17:34:34 2013 UTC +++ /branches/bleeding_edge/src/mips/lithium-mips.cc Tue Nov 19 02:26:10 2013 UTC
@@ -2501,6 +2501,9 @@


LInstruction* LChunkBuilder::DoTypeofIsAndBranch(HTypeofIsAndBranch* instr) {
+  LInstruction* goto_instr = CheckElideControlInstruction(instr);
+  if (goto_instr != NULL) return goto_instr;
+
   return new(zone()) LTypeofIsAndBranch(UseTempRegister(instr->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