| Index: src/ic.h
|
| diff --git a/src/ic.h b/src/ic.h
|
| index 115405ef3555b4005f2cffe9b7046c3ec8a92e7b..5cb2eefb3bd6fdd2cc6d7784d7f9e51a884ba3db 100644
|
| --- a/src/ic.h
|
| +++ b/src/ic.h
|
| @@ -203,6 +203,7 @@ class CallICBase: public IC {
|
| : IC(EXTRA_CALL_FRAME, isolate), kind_(kind) {}
|
|
|
| public:
|
| + // Returns a JSFunction or a Failure.
|
| MUST_USE_RESULT MaybeObject* LoadFunction(State state,
|
| Code::ExtraICState extra_ic_state,
|
| Handle<Object> object,
|
| @@ -222,18 +223,18 @@ class CallICBase: public IC {
|
| Handle<Object> object,
|
| Handle<String> name);
|
|
|
| - // Update the inline cache and the global stub cache based on the
|
| - // lookup result.
|
| + // Update the inline cache and the global stub cache based on the lookup
|
| + // result.
|
| void UpdateCaches(LookupResult* lookup,
|
| State state,
|
| Code::ExtraICState extra_ic_state,
|
| Handle<Object> object,
|
| Handle<String> name);
|
|
|
| - // Returns a JSFunction if the object can be called as a function,
|
| - // and patches the stack to be ready for the call.
|
| - // Otherwise, it returns the undefined value.
|
| - Object* TryCallAsFunction(Object* object);
|
| + // Returns a JSFunction if the object can be called as a function, and
|
| + // patches the stack to be ready for the call. Otherwise, it returns the
|
| + // undefined value.
|
| + Handle<Object> TryCallAsFunction(Handle<Object> object);
|
|
|
| void ReceiverToObjectIfRequired(Handle<Object> callee, Handle<Object> object);
|
|
|
|
|