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 <adamk@chromium.org>. git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12997 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
3e8047ec88
commit
f9bc4d3bf2
@ -967,23 +967,6 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_IsInPrototypeChain) {
|
||||
}
|
||||
|
||||
|
||||
// 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::AccessType access_type) {
|
||||
if (callback->IsAccessorInfo()) {
|
||||
|
Loading…
Reference in New Issue
Block a user