From e53511355ff85e7e5d6b0b7db5a2a6291a051a4b Mon Sep 17 00:00:00 2001 From: "jkummerow@chromium.org" Date: Fri, 13 Jun 2014 13:39:01 +0000 Subject: [PATCH] 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 --- src/runtime.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/runtime.cc b/src/runtime.cc index ff9a367..9273862 100644 --- a/src/runtime.cc +++ b/src/runtime.cc @@ -8249,8 +8249,10 @@ RUNTIME_FUNCTION(Runtime_FunctionBindArguments) { Handle length_string = isolate->factory()->length_string(); PropertyAttributes attr = static_cast(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; } -- 2.7.4