Index: src/ic.h |
=================================================================== |
--- src/ic.h (revision 184) |
+++ src/ic.h (working copy) |
@@ -183,6 +183,11 @@ |
Handle<Object> object, |
Handle<String> name); |
+ // Returns a JSFunction if the object can be called as a function, |
+ // patches the stack to be ready for the call. |
Kasper Lund
2008/09/08 05:27:21
and patches...
|
+ // Otherwise, it returns the undefined value. |
+ Object* TryCallAsFunction(Object* object); |
+ |
static void Clear(Address address, Code* target); |
friend class IC; |
}; |