From b07ff9d8bceaaaec75a33b9ef9221be238f0d74e Mon Sep 17 00:00:00 2001 From: "mstarzinger@chromium.org" Date: Fri, 25 Nov 2011 13:21:56 +0000 Subject: [PATCH] Fix assertion broken by recent revision. R=yangguo@chromium.org TEST=mjsunit/keyed-call-ic Review URL: http://codereview.chromium.org/8688008 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10068 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/hydrogen-instructions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h index 4c47581..e2c5ff6 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()); } -- 2.7.4