Reviewers: Michael Starzinger,

Message:
Committed patchset #1 manually as r21842 (presubmit successful).

Description:
Fix clang build after r21839

[email protected]

Committed: https://code.google.com/p/v8/source/detail?r=21842

Please review this at https://codereview.chromium.org/330793003/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+4, -2 lines):
  M src/runtime.cc


Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index ff9a3672cb75db42c423b92da39a46d4ee354895..927386289ac392254281077665c980768294f946 100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -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;
 }



--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to