Home | History | Annotate | Download | only in src

Lines Matching refs:ARGUMENTS

338     // Declare 'arguments' variable which exists in all functions.
345 Variable::ARGUMENTS,
1141 Variable* arguments = LocalLookup(isolate_->factory()->arguments_symbol());
1142 ASSERT(arguments != NULL); // functions have 'arguments' declared implicitly
1146 if (MustAllocate(arguments) && !HasArgumentsParameter()) {
1147 // 'arguments' is used. Unless there is also a parameter called
1148 // 'arguments', we must be conservative and allocate all parameters to
1149 // the context assuming they will be captured by the arguments object.
1150 // If we have a parameter named 'arguments', a (new) value is always
1151 // assigned to it via the function invocation. Then 'arguments' denotes
1153 // parameters, which is why we don't need to allocate an arguments
1156 // We are using 'arguments'. Tell the code generator that is needs to
1157 // allocate the arguments object by setting 'arguments_'.
1158 arguments_ = arguments;
1160 // In strict mode 'arguments' does not alias formal parameters.
1161 // Therefore in strict mode we allocate parameters as if 'arguments'