Revision: 20445
Author:   [email protected]
Date:     Wed Apr  2 16:36:16 2014 UTC
Log:      Remove dead Object::GetPropertyOrFail.

[email protected]

Review URL: https://codereview.chromium.org/215973004
http://code.google.com/p/v8/source/detail?r=20445

Modified:
 /branches/bleeding_edge/src/heap-inl.h
 /branches/bleeding_edge/src/objects.cc
 /branches/bleeding_edge/src/objects.h

=======================================
--- /branches/bleeding_edge/src/heap-inl.h      Tue Mar 25 09:09:24 2014 UTC
+++ /branches/bleeding_edge/src/heap-inl.h      Wed Apr  2 16:36:16 2014 UTC
@@ -687,13 +687,6 @@
   CALL_AND_RETRY_OR_DIE(ISOLATE, FUNCTION_CALL, return, return)


-#define CALL_HEAP_FUNCTION_PASS_EXCEPTION(ISOLATE, FUNCTION_CALL) \
-  CALL_AND_RETRY(ISOLATE,                                         \
-                 FUNCTION_CALL,                                   \
-                 return __object__,                               \
-                 return __maybe_object__)
-
-
 void ExternalStringTable::AddString(String* string) {
   ASSERT(string->IsExternalString());
   if (heap_->InNewSpace(string)) {
=======================================
--- /branches/bleeding_edge/src/objects.cc      Wed Apr  2 14:47:26 2014 UTC
+++ /branches/bleeding_edge/src/objects.cc      Wed Apr  2 16:36:16 2014 UTC
@@ -841,18 +841,6 @@
       object->GetProperty(*receiver, result, *key, attributes),
       Object);
 }
-
-
-MaybeObject* Object::GetPropertyOrFail(Handle<Object> object,
-                                       Handle<Object> receiver,
-                                       LookupResult* result,
-                                       Handle<Name> key,
-                                       PropertyAttributes* attributes) {
-  Isolate* isolate = result->isolate();
-  CALL_HEAP_FUNCTION_PASS_EXCEPTION(
-      isolate,
-      object->GetProperty(*receiver, result, *key, attributes));
-}


 // TODO(yangguo): handlify this and get rid of.
=======================================
--- /branches/bleeding_edge/src/objects.h       Wed Apr  2 13:30:36 2014 UTC
+++ /branches/bleeding_edge/src/objects.h       Wed Apr  2 16:36:16 2014 UTC
@@ -1556,13 +1556,6 @@
                                     Handle<Name> key,
                                     PropertyAttributes* attributes);

-  MUST_USE_RESULT static MaybeObject* GetPropertyOrFail(
-      Handle<Object> object,
-      Handle<Object> receiver,
-      LookupResult* result,
-      Handle<Name> key,
-      PropertyAttributes* attributes);
-
   MUST_USE_RESULT MaybeObject* GetProperty(Object* receiver,
                                            LookupResult* result,
                                            Name* key,

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