Chromium Code Reviews| Index: src/hydrogen-instructions.h |
| diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
| index 257233b0f6a87e676b023fe9793e9f310fde83c6..b6ab4548acf1b6d8cbc164050cc35349a4c1b5fc 100644 |
| --- a/src/hydrogen-instructions.h |
| +++ b/src/hydrogen-instructions.h |
| @@ -6550,8 +6550,9 @@ class HToFastProperties: public HUnaryOperation { |
| private: |
| explicit HToFastProperties(HValue* value) : HUnaryOperation(value) { |
| - // This instruction is not marked as having side effects, but |
| - // changes the map of the input operand. Use it only when creating |
| + SetFlag(kChangesNewSpacePromotion); |
|
Michael Starzinger
2013/08/13 16:21:52
This should be s/SetFlag/SetGVNFlag/ here. Also fo
|
| + // This instruction is not marked as kChangesMaps, but does |
| + // change the map of the input operand. Use it only when creating |
| // object literals via a runtime call. |
| ASSERT(value->IsCallRuntime()); |
| #ifdef DEBUG |