Reviewers: Michael Starzinger,
Message:
Is there a clang built bot for v8? I'm working on a Mac and seeing these
clang-only build errors show up fairly often...
Description:
Fix clang build: remove unused static function
The last call to GetOwnPropertyImplementation() was removed in r12990.
Please review this at https://codereview.chromium.org/11411038/
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/runtime.cc
Index: src/runtime.cc
diff --git a/src/runtime.cc b/src/runtime.cc
index
b16c6855974a59660f07d854677a0fc7a7485beb..c647abd57f3a2c78a04ccce48eec7bd67c5710e0
100644
--- a/src/runtime.cc
+++ b/src/runtime.cc
@@ -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()) {
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev