Revision: 15950
Author: [email protected]
Date: Tue Jul 30 02:06:42 2013
Log: HasNonSmiUse should ignore tagged uses
[email protected]
Review URL: https://chromiumcodereview.appspot.com/21105006
Patch from Weiliang Lin <[email protected]>.
http://code.google.com/p/v8/source/detail?r=15950
Modified:
/branches/bleeding_edge/src/hydrogen-instructions.cc
=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.cc Mon Jul 29
06:56:51 2013
+++ /branches/bleeding_edge/src/hydrogen-instructions.cc Tue Jul 30
02:06:42 2013
@@ -4375,7 +4375,11 @@
// We check for observed_input_representation elsewhere.
Representation use_rep =
it.value()->RequiredInputRepresentation(it.index());
- if (!use_rep.IsNone() && !use_rep.IsSmi()) return true;
+ if (!use_rep.IsNone() &&
+ !use_rep.IsSmi() &&
+ !use_rep.IsTagged()) {
+ return true;
+ }
}
return false;
}
--
--
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.