Lines Matching refs:arguments
30 // arguments into two types for a given SloppyArgumentsElements object:
36 // Mapped arguments are actual arguments. Unmapped arguments are values added
37 // to the arguments object after it was created for the call. Mapped arguments
39 // Unmapped arguments are stored as regular indexed properties in the arguments
40 // array which can be accessed from elements.arguments.
48 // If key >= elements.length then attempt to look in the unmapped arguments
50 // arguments array is not a fixed array or if key >= elements.arguments.length.
53 // entry has been deleted fron the arguments object, and value is looked up in
54 // the unmapped arguments array, as described above. Otherwise, t is a Smi
59 // corresponding unmapped arguments FixedArray:
65 // | FixedArray arguments +----+ HOLEY_ELEMENTS
75 // The elements.arguments backing store kind depends on the ElementsKind of
82 arguments: FixedArray|NumberDictionary;
87 length: Smi, context: Context, arguments: FixedArray,
90 SloppyArgumentsElements{length, context, arguments, mapped_entries: ...it};
100 namespace arguments {
155 // Copy the parameter slots and the holes in the arguments.
177 if (this.current == this.arguments.length) goto NoMore;
178 return this.arguments[this.current++];
181 const arguments: Arguments;
186 mappedCount: intptr, arguments: Arguments): ParameterValueIterator {
189 arguments,
197 const arguments = GetFrameArguments(frame, argumentCount);
198 const it = ArgumentsIterator{arguments, current: 0};
209 const arguments = GetFrameArguments(frame, argumentCount);
210 const it = ArgumentsIterator{arguments, current: formalParameterCount};
226 const arguments = GetFrameArguments(frame, argumentCount);
227 const it = ArgumentsIterator{arguments, current: 0};
241 const arguments = GetFrameArguments(frame, argumentCount);
243 const it = ArgumentsIterator{arguments, current: 0};
247 const it = NewParameterValueIterator(mappedCount, arguments);
255 const parameterValues = arguments::NewSloppyArgumentsElements(
270 } // namespace arguments
275 return arguments::NewAllArguments(frame, argc);
282 return arguments::NewRestArguments(info);
289 return arguments::NewStrictArguments(info);
296 return arguments::NewSloppyArguments(info, f);
302 return arguments::NewSloppyArgumentsElements(
309 return arguments::NewStrictArgumentsElements(
316 return arguments::NewRestArgumentsElements(
339 typeswitch (elements.arguments) {
343 case (arguments: FixedArray): {
344 if (OutOfBounds(key, arguments.length)) goto Bailout;
345 if (arguments.objects[key] == TheHole) goto Bailout;
346 return &(arguments.objects[key]);