Revision: 25153
Author: [email protected]
Date: Wed Nov 5 13:23:15 2014 UTC
Log: HPhis with HParameter inputs must have Tagged representation
BUG=v8:3670
LOG=n
[email protected]
Review URL: https://codereview.chromium.org/702053002
https://code.google.com/p/v8/source/detail?r=25153
Modified:
/branches/bleeding_edge/src/hydrogen-instructions.h
=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.h Wed Nov 5 12:40:56
2014 UTC
+++ /branches/bleeding_edge/src/hydrogen-instructions.h Wed Nov 5 13:23:15
2014 UTC
@@ -5355,6 +5355,12 @@
virtual Representation RequiredInputRepresentation(int index) OVERRIDE {
return Representation::None();
}
+
+ virtual Representation KnownOptimalRepresentation() OVERRIDE {
+ // If a parameter is an input to a phi, that phi should not
+ // choose any more optimistic representation than Tagged.
+ return Representation::Tagged();
+ }
DECLARE_CONCRETE_INSTRUCTION(Parameter)
--
--
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/d/optout.