Revision: 12997 Author: [email protected] Date: Mon Nov 19 01:46:58 2012 Log: Fix clang build: remove unused static function
The last call to GetOwnPropertyImplementation() was removed in r12990. Review URL: https://codereview.chromium.org/11411038 Patch from Adam Klein <[email protected]>. http://code.google.com/p/v8/source/detail?r=12997 Modified: /branches/bleeding_edge/src/runtime.cc ======================================= --- /branches/bleeding_edge/src/runtime.cc Mon Nov 19 01:43:56 2012 +++ /branches/bleeding_edge/src/runtime.cc Mon Nov 19 01:46:58 2012 @@ -965,23 +965,6 @@ V = prototype; } } - - -// Recursively traverses hidden prototypes if property is not found -static void GetOwnPropertyImplementation(JSObject* obj, - String* name, - LookupResult* result) { - obj->LocalLookupRealNamedProperty(name, result); - - if (result->IsFound()) return; - - Object* proto = obj->GetPrototype(); - if (proto->IsJSObject() && - JSObject::cast(proto)->map()->is_hidden_prototype()) { - GetOwnPropertyImplementation(JSObject::cast(proto), - name, result); - } -} static bool CheckAccessException(Object* callback, -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
