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:
parent
65170b3b9e
commit
b04abd892f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user