Revision: 14616
Author:   [email protected]
Date:     Fri May 10 05:19:34 2013
Log:      Clear new-space promotion if the type is smi.

[email protected]

Review URL: https://chromiumcodereview.appspot.com/15098002
http://code.google.com/p/v8/source/detail?r=14616

Modified:
 /branches/bleeding_edge/src/hydrogen-instructions.cc

=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.cc Fri May 10 02:52:08 2013 +++ /branches/bleeding_edge/src/hydrogen-instructions.cc Fri May 10 05:19:34 2013
@@ -1678,6 +1678,7 @@
       !value()->CheckFlag(HInstruction::kUint32) &&
       input_range != NULL && input_range->IsInSmiRange()) {
     set_type(HType::Smi());
+    ClearGVNFlag(kChangesNewSpacePromotion);
   }
   Range* result = (input_range != NULL)
       ? input_range->Copy(zone)

--
--
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