Lines Matching defs:argCount

794     int argCount = 1 + args.size(); // implicit "this" parameter
795 size_t registerOffset = argCount + RegisterFile::CallFrameHeaderSize;
819 newCallFrame = slideRegisterWindowForCall(newCodeBlock, &m_registerFile, newCallFrame, registerOffset, argCount);
825 newCallFrame->init(newCodeBlock, 0, callDataScopeChain, callFrame->addHostCallFrameFlag(), argCount, function);
855 newCallFrame->init(0, 0, scopeChain, callFrame->addHostCallFrameFlag(), argCount, function);
884 int argCount = 1 + args.size(); // implicit "this" parameter
885 size_t registerOffset = argCount + RegisterFile::CallFrameHeaderSize;
908 newCallFrame = slideRegisterWindowForCall(newCodeBlock, &m_registerFile, newCallFrame, registerOffset, argCount);
914 newCallFrame->init(newCodeBlock, 0, constructDataScopeChain, callFrame->addHostCallFrameFlag(), argCount, constructor);
947 newCallFrame->init(0, 0, scopeChain, callFrame->addHostCallFrameFlag(), argCount, constructor);
971 CallFrameClosure Interpreter::prepareForRepeatCall(FunctionExecutable* FunctionExecutable, CallFrame* callFrame, JSFunction* function, int argCount, ScopeChainNode* scopeChain)
983 int argc = 1 + argCount; // implicit "this" parameter
1516 /* new_array dst(r) firstArg(r) argCount(n)
1520 The array will contain argCount elements with values
1525 int argCount = vPC[3].u.operand;
1526 ArgList args(callFrame->registers() + firstArg, argCount);
3816 /* call_eval func(r) argCount(n) registerOffset(n)
3828 int argCount = vPC[2].u.operand;
3835 Register* argv = newCallFrame - RegisterFile::CallFrameHeaderSize - argCount;
3840 JSValue result = callEval(callFrame, registerFile, argv, argCount, registerOffset);
3854 /* call func(r) argCount(n) registerOffset(n)
3865 int argCount = vPC[2].u.operand;
3884 callFrame = slideRegisterWindowForCall(newCodeBlock, registerFile, callFrame, registerOffset, argCount);
3891 callFrame->init(newCodeBlock, vPC + OPCODE_LENGTH(op_call), callDataScopeChain, previousCallFrame, argCount, asFunction(v));
3911 newCallFrame->init(0, vPC + OPCODE_LENGTH(op_call), scopeChain, callFrame, argCount, asObject(v));
3936 uint32_t argCount = 0;
3938 argCount = (uint32_t)(callFrame->argumentCount());
3939 argCount = min<uint32_t>(argCount, Arguments::MaxArguments);
3940 int32_t sizeDelta = argsOffset + argCount + RegisterFile::CallFrameHeaderSize;
3948 int32_t inplaceArgs = min(static_cast<int32_t>(argCount), expectedParams);
3956 for (; i < static_cast<int32_t>(argCount); i++)
3957 argStore[i] = callFrame->registers()[i - RegisterFile::CallFrameHeaderSize - expectedParams - static_cast<int32_t>(argCount) - 1];
3965 argCount = args->numProvidedArguments(callFrame);
3966 argCount = min<uint32_t>(argCount, Arguments::MaxArguments);
3967 int32_t sizeDelta = argsOffset + argCount + RegisterFile::CallFrameHeaderSize;
3973 args->copyToRegisters(callFrame, callFrame->registers() + argsOffset, argCount);
3976 argCount = array->length();
3977 argCount = min<uint32_t>(argCount, Arguments::MaxArguments);
3978 int32_t sizeDelta = argsOffset + argCount + RegisterFile::CallFrameHeaderSize;
3984 array->copyToRegisters(callFrame, callFrame->registers() + argsOffset, argCount);
3987 argCount = argObject->get(callFrame, callFrame->propertyNames().length).toUInt32(callFrame);
3988 argCount = min<uint32_t>(argCount, Arguments::MaxArguments);
3989 int32_t sizeDelta = argsOffset + argCount + RegisterFile::CallFrameHeaderSize;
3996 for (uint32_t i = 0; i < argCount; ++i) {
4006 callFrame->uncheckedR(argCountDst) = Register::withInt(argCount + 1);
4027 int argCount = callFrame->r(argCountReg).i();
4028 registerOffset += argCount;
4043 callFrame = slideRegisterWindowForCall(newCodeBlock, registerFile, callFrame, registerOffset, argCount);
4050 callFrame->init(newCodeBlock, vPC + OPCODE_LENGTH(op_call_varargs), callDataScopeChain, previousCallFrame, argCount, asFunction(v));
4069 newCallFrame->init(0, vPC + OPCODE_LENGTH(op_call_varargs), scopeChain, callFrame, argCount, asObject(v));
4350 /* construct func(r) argCount(n) registerOffset(n) proto(r) thisRegister(r)
4356 value is passed. In either case, the argCount and registerOffset
4365 int argCount = vPC[2].u.operand;
4384 callFrame = slideRegisterWindowForCall(newCodeBlock, registerFile, callFrame, registerOffset, argCount);
4391 callFrame->init(newCodeBlock, vPC + OPCODE_LENGTH(op_construct), callDataScopeChain, previousCallFrame, argCount, asFunction(v));
4408 newCallFrame->init(0, vPC + OPCODE_LENGTH(op_construct), scopeChain, callFrame, argCount, asObject(v));