Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index a03c55d7f3debdbdf64d3cc0c3db5d5811569678..04bc986ff30590911526b4b9aa805413befa429c 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -4353,7 +4353,7 @@ class HToFastProperties: public HUnaryOperation { |
// This instruction is not marked as having side effects, but |
// changes the map of the input operand. Use it only when creating |
// object literals. |
- ASSERT(value->IsObjectLiteralGeneric()); |
+ ASSERT(value->IsObjectLiteralGeneric() || value->IsObjectLiteralFast()); |
set_representation(Representation::Tagged()); |
} |