Index: src/x64/codegen-x64.h |
=================================================================== |
--- src/x64/codegen-x64.h (revision 3181) |
+++ src/x64/codegen-x64.h (working copy) |
@@ -633,8 +633,27 @@ |
// times by generated code to perform common tasks, often the slow |
// case of a JavaScript operation. They are all subclasses of CodeStub, |
// which is declared in code-stubs.h. |
+class CallFunctionStub: public CodeStub { |
+ public: |
+ CallFunctionStub(int argc, InLoopFlag in_loop) |
+ : argc_(argc), in_loop_(in_loop) { } |
+ void Generate(MacroAssembler* masm); |
+ private: |
+ int argc_; |
+ InLoopFlag in_loop_; |
+ |
+#ifdef DEBUG |
+ void Print() { PrintF("CallFunctionStub (args %d)\n", argc_); } |
+#endif |
+ |
+ Major MajorKey() { return CallFunction; } |
+ int MinorKey() { return argc_; } |
+ InLoopFlag InLoop() { return in_loop_; } |
+}; |
+ |
+ |
class ToBooleanStub: public CodeStub { |
public: |
ToBooleanStub() { } |