Merge r2636 to trunk.
Review URL: http://codereview.chromium.org/164146
git-svn-id: http://v8.googlecode.com/svn/trunk@2649 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/include/v8.h b/include/v8.h
index 87e7103..83d5bed 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -1099,6 +1099,12 @@
Local<Value> GetPrototype();
/**
+ * Finds an instance of the given function template in the prototype
+ * chain.
+ */
+ Local<Object> FindInstanceInPrototypeChain(Handle<FunctionTemplate> tmpl);
+
+ /**
* Call builtin Object.prototype.toString on this object.
* This is different from Value::ToString() that may call
* user-defined toString function. This one does not.