Revision: 24521
Author:   [email protected]
Date:     Fri Oct 10 10:35:30 2014 UTC
Log:      Set output representation of HIsStringAndBranch to tagged.

BUG=chromium:421877
LOG=N
[email protected]

Review URL: https://codereview.chromium.org/641313003
https://code.google.com/p/v8/source/detail?r=24521

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

=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.h Mon Oct 6 11:42:13 2014 UTC +++ /branches/bleeding_edge/src/hydrogen-instructions.h Fri Oct 10 10:35:30 2014 UTC
@@ -4477,11 +4477,12 @@
   virtual int RedefinedOperandIndex() { return 0; }

  private:
-  HIsStringAndBranch(HValue* value,
-                     HBasicBlock* true_target = NULL,
+  HIsStringAndBranch(HValue* value, HBasicBlock* true_target = NULL,
                      HBasicBlock* false_target = NULL)
-    : HUnaryControlInstruction(value, true_target, false_target),
-      known_successor_index_(kNoKnownSuccessorIndex) { }
+      : HUnaryControlInstruction(value, true_target, false_target),
+        known_successor_index_(kNoKnownSuccessorIndex) {
+    set_representation(Representation::Tagged());
+  }

   int known_successor_index_;
 };

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

Reply via email to