| Index: src/hydrogen-instructions.h
|
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h
|
| index 621efa9535d57bb90eb6f55497d96171866b14b9..3420061acd851de3f81e39ed66f9c52753aba37b 100644
|
| --- a/src/hydrogen-instructions.h
|
| +++ b/src/hydrogen-instructions.h
|
| @@ -4623,6 +4623,7 @@ class HStringAdd: public HBinaryOperation {
|
| set_representation(Representation::Tagged());
|
| SetFlag(kUseGVN);
|
| SetGVNFlag(kDependsOnMaps);
|
| + SetGVNFlag(kChangesNewSpacePromotion);
|
| }
|
|
|
| virtual Representation RequiredInputRepresentation(int index) {
|
| @@ -4706,7 +4707,6 @@ class HStringLength: public HUnaryOperation {
|
| set_representation(Representation::Tagged());
|
| SetFlag(kUseGVN);
|
| SetGVNFlag(kDependsOnMaps);
|
| - SetGVNFlag(kChangesNewSpacePromotion);
|
| }
|
|
|
| virtual Representation RequiredInputRepresentation(int index) {
|
|
|