| Index: src/ia32/codegen-ia32.h
|
| ===================================================================
|
| --- src/ia32/codegen-ia32.h (revision 3613)
|
| +++ src/ia32/codegen-ia32.h (working copy)
|
| @@ -266,7 +266,7 @@
|
|
|
|
|
| // -------------------------------------------------------------------------
|
| -// Arguments allocation mode
|
| +// Arguments allocation mode.
|
|
|
| enum ArgumentsAllocationMode {
|
| NO_ARGUMENTS_ALLOCATION,
|
| @@ -475,7 +475,9 @@
|
| void StoreUnsafeSmiToLocal(int offset, Handle<Object> value);
|
| void PushUnsafeSmi(Handle<Object> value);
|
|
|
| - void CallWithArguments(ZoneList<Expression*>* arguments, int position);
|
| + void CallWithArguments(ZoneList<Expression*>* arguments,
|
| + CallFunctionFlags flags,
|
| + int position);
|
|
|
| // Use an optimized version of Function.prototype.apply that avoid
|
| // allocating the arguments object and just copies the arguments
|
| @@ -620,39 +622,6 @@
|
| };
|
|
|
|
|
| -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() { }
|
| -
|
| - void Generate(MacroAssembler* masm);
|
| -
|
| - private:
|
| - Major MajorKey() { return ToBoolean; }
|
| - int MinorKey() { return 0; }
|
| -};
|
| -
|
| -
|
| // Flag that indicates how to generate code for the stub GenericBinaryOpStub.
|
| enum GenericBinaryFlags {
|
| NO_GENERIC_BINARY_FLAGS = 0,
|
|
|