Chromium Code Reviews| Index: src/property.h |
| diff --git a/src/property.h b/src/property.h |
| index 124775faec753abdb4ff680fb054565422b06544..f853fc8ba035519cbcbfe1288a0027ee3cc91e8e 100644 |
| --- a/src/property.h |
| +++ b/src/property.h |
| @@ -203,6 +203,8 @@ class LookupResult BASE_EMBEDDED { |
| } |
| bool CanHoldValue(Handle<Object> value) { |
| + if (IsNormal()) return true; |
| + ASSERT(!IsTransition()); |
| return value->FitsRepresentation(details_.representation()); |
| } |