Fix stupidity

R=jkummerow@chromium.org
BUG=

Review URL: https://codereview.chromium.org/18801004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15560 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
rossberg@chromium.org 2013-07-08 15:41:06 +00:00
parent 65170b3b9e
commit b04abd892f

View File

@ -15850,8 +15850,8 @@ MaybeObject* PropertyCell::SetValueInferType(Object* value,
&PropertyCell::UpdateType,
Handle<PropertyCell>(this),
Handle<Object>(value, GetIsolate()));
Type* new_type;
if (maybe_type->To(&new_type)) return maybe_type;
Type* new_type = NULL;
if (!maybe_type->To(&new_type)) return maybe_type;
set_type(new_type);
}
return value;