R=mstarzinger@chromium.org
Review URL: https://codereview.chromium.org/
330793003
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21842
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
Handle<String> length_string = isolate->factory()->length_string();
PropertyAttributes attr =
static_cast<PropertyAttributes>(DONT_DELETE | DONT_ENUM | READ_ONLY);
- JSObject::SetOwnPropertyIgnoreAttributes(bound_function, length_string,
- new_length, attr);
+ RETURN_FAILURE_ON_EXCEPTION(
+ isolate,
+ JSObject::SetOwnPropertyIgnoreAttributes(bound_function, length_string,
+ new_length, attr));
return *bound_function;
}