Fix clang build after r21839

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
parent a290cf8c
......@@ -8249,8 +8249,10 @@ RUNTIME_FUNCTION(Runtime_FunctionBindArguments) {
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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment