Reviewers: Jakob,
Message:
PTAL
Description:
Set output representation of HIsStringAndBranch to tagged.
BUG=chromium:421877
LOG=N
Please review this at https://codereview.chromium.org/641313003/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+5, -4 lines):
M src/hydrogen-instructions.h
Index: src/hydrogen-instructions.h
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
index
af95c71310d9a2a46e4add2b4e40531054793844..3b0b53cc5063687d3397a2c3be0522659ce6d101
100644
--- a/src/hydrogen-instructions.h
+++ b/src/hydrogen-instructions.h
@@ -4477,11 +4477,12 @@ class HIsStringAndBranch FINAL : public
HUnaryControlInstruction {
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.