Revision: 23307
Author:   [email protected]
Date:     Fri Aug 22 11:48:52 2014 UTC
Log:      Change return-type of SetDataProperty to Handle.

BUG=
[email protected]

Review URL: https://codereview.chromium.org/494733005
https://code.google.com/p/v8/source/detail?r=23307

Modified:
 /branches/bleeding_edge/src/objects.cc
 /branches/bleeding_edge/src/objects.h

=======================================
--- /branches/bleeding_edge/src/objects.cc      Fri Aug 22 11:38:21 2014 UTC
+++ /branches/bleeding_edge/src/objects.cc      Fri Aug 22 11:48:52 2014 UTC
@@ -2932,8 +2932,8 @@
 }


-MaybeHandle<Object> Object::SetDataProperty(LookupIterator* it,
-                                            Handle<Object> value) {
+Handle<Object> Object::SetDataProperty(LookupIterator* it,
+                                       Handle<Object> value) {
// Proxies are handled on the WithHandler path. Other non-JSObjects cannot
   // have own properties.
   Handle<JSObject> receiver = Handle<JSObject>::cast(it->GetReceiver());
=======================================
--- /branches/bleeding_edge/src/objects.h       Fri Aug 22 11:38:21 2014 UTC
+++ /branches/bleeding_edge/src/objects.h       Fri Aug 22 11:48:52 2014 UTC
@@ -1486,8 +1486,8 @@
       StoreFromKeyed store_mode);
   MUST_USE_RESULT static MaybeHandle<Object> WriteToReadOnlyProperty(
       LookupIterator* it, Handle<Object> value, StrictMode strict_mode);
-  MUST_USE_RESULT static MaybeHandle<Object> SetDataProperty(
-      LookupIterator* it, Handle<Object> value);
+  static Handle<Object> SetDataProperty(LookupIterator* it,
+                                        Handle<Object> value);
   MUST_USE_RESULT static MaybeHandle<Object> AddDataProperty(
LookupIterator* it, Handle<Object> value, PropertyAttributes attributes,
       StrictMode strict_mode, StoreFromKeyed store_mode);

--
--
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