Index: src/stub-cache.h |
diff --git a/src/stub-cache.h b/src/stub-cache.h |
index 223a7fc216f8ccad4b2f36ada3fd9fa1b2058712..1c15750f45ef254cf55b7b436a65563c024f06da 100644 |
--- a/src/stub-cache.h |
+++ b/src/stub-cache.h |
@@ -918,7 +918,16 @@ class CallStubCompiler: public StubCompiler { |
Label* miss); |
void HandlerFrontendFooter(Label* miss); |
- void CompileHandlerBackend(Handle<JSFunction> function); |
+ void GenerateCallFunction(Handle<Object> object, |
+ Handle<JSFunction> function); |
+ void GenerateCallFunction(Handle<Object> object, |
+ Register function, |
+ Label* miss); |
+ // Use to call |actual_closure|, a closure with the same shared function info |
+ // as |function|. |
+ void GenerateCallFunction(Handle<Object> object, |
+ Register actual_closure, |
+ Handle<JSFunction> function); |
Handle<Code> CompileCallConstant(Handle<Object> object, |
Handle<JSObject> holder, |
@@ -967,6 +976,8 @@ class CallStubCompiler: public StubCompiler { |
Handle<JSFunction> function, |
Handle<String> name); |
+ CallKind call_kind(); |
+ |
Handle<Code> GetCode(Code::StubType type, Handle<Name> name); |
Handle<Code> GetCode(Handle<JSFunction> function); |
@@ -980,6 +991,8 @@ class CallStubCompiler: public StubCompiler { |
Handle<JSFunction> function, |
Label* miss); |
+ void GenerateFunctionCheck(Register function, Register scratch, Label* miss); |
+ |
// Generates a jump to CallIC miss stub. |
void GenerateMissBranch(); |