Home | History | Annotate | Download | only in interpreter

Lines Matching defs:args

871       RegisterList args = register_allocator()->NewRegisterList(2);
874 .StoreAccumulatorInRegister(args[0]);
876 builder()->StoreAccumulatorInRegister(args[1]).CallRuntime(
877 Runtime::kDeclareEvalFunction, args);
924 RegisterList args = register_allocator()->NewRegisterList(3);
927 .StoreAccumulatorInRegister(args[0])
929 .StoreAccumulatorInRegister(args[1])
930 .MoveRegister(Register::function_closure(), args[2])
931 .CallRuntime(Runtime::kDeclareGlobalsForInterpreter, args);
1187 RegisterList args = register_allocator()->NewRegisterList(4);
1188 builder()->StoreAccumulatorInRegister(args[3]);
1191 VisitForRegisterValue(super_property->this_var(), args[0]);
1192 VisitForRegisterValue(super_property->home_object(), args[1]);
1195 .StoreAccumulatorInRegister(args[2])
1196 .CallRuntime(StoreToSuperRuntimeId(), args);
1201 RegisterList args = register_allocator()->NewRegisterList(4);
1202 builder()->StoreAccumulatorInRegister(args[3]);
1205 VisitForRegisterValue(super_property->this_var(), args[0]);
1206 VisitForRegisterValue(super_property->home_object(), args[1]);
1207 VisitForRegisterValue(property->key(), args[2]);
1208 builder()->CallRuntime(StoreKeyedToSuperRuntimeId(), args);
1394 RegisterList args = register_allocator()->NewRegisterList(2);
1395 Register literal = args[0];
1396 Register prototype = args[1];
1419 RegisterList args = register_allocator()->NewRegisterList(4);
1421 builder()->StoreAccumulatorInRegister(args[0]);
1422 VisitForRegisterValue(expr->constructor(), args[1]);
1425 .StoreAccumulatorInRegister(args[2])
1427 .StoreAccumulatorInRegister(args[3])
1428 .CallRuntime(Runtime::kDefineClass, args);
1435 RegisterList args = register_allocator()->NewRegisterList(5);
1436 Register receiver = args[0], key = args[1], value = args[2], attr = args[3],
1437 set_function_name = args[4];
1485 .CallRuntime(Runtime::kDefineDataPropertyInLiteral, args);
1490 args.Truncate(4));
1495 args.Truncate(4));
1624 RegisterList args = register_allocator()->NewRegisterList(4);
1626 builder()->MoveRegister(literal, args[0]);
1627 VisitForRegisterValue(property->key(), args[1]);
1628 VisitForRegisterValue(property->value(), args[2]);
1632 .StoreAccumulatorInRegister(args[3])
1633 .CallRuntime(Runtime::kSetProperty, args);
1634 Register value = args[2];
1642 RegisterList args = register_allocator()->NewRegisterList(2);
1643 builder()->MoveRegister(literal, args[0]);
1644 VisitForRegisterValue(property->value(), args[1]);
1645 builder()->CallRuntime(Runtime::kInternalSetPrototype, args);
1666 RegisterList args = register_allocator()->NewRegisterList(5);
1667 builder()->MoveRegister(literal, args[0]);
1668 VisitForRegisterValue(it->first, args[1]);
1669 VisitObjectLiteralAccessor(literal, it->second->getter, args[2]);
1670 VisitObjectLiteralAccessor(literal, it->second->setter, args[3]);
1673 .StoreAccumulatorInRegister(args[4])
1674 .CallRuntime(Runtime::kDefineAccessorPropertyUnchecked, args);
1692 RegisterList args = register_allocator()->NewRegisterList(2);
1693 builder()->MoveRegister(literal, args[0]);
1694 VisitForRegisterValue(property->value(), args[1]);
1695 builder()->CallRuntime(Runtime::kInternalSetPrototype, args);
1703 RegisterList args = register_allocator()->NewRegisterList(5);
1704 builder()->MoveRegister(literal, args[0]);
1706 builder()->ConvertAccumulatorToName(args[1]);
1707 VisitForRegisterValue(property->value(), args[2]);
1708 VisitSetHomeObject(args[2], literal, property);
1711 .StoreAccumulatorInRegister(args[3])
1713 .StoreAccumulatorInRegister(args[4]);
1714 builder()->CallRuntime(Runtime::kDefineDataPropertyInLiteral, args);
1719 RegisterList args = register_allocator()->NewRegisterList(4);
1720 builder()->MoveRegister(literal, args[0]);
1722 builder()->ConvertAccumulatorToName(args[1]);
1723 VisitForRegisterValue(property->value(), args[2]);
1724 VisitSetHomeObject(args[2], literal, property);
1727 .StoreAccumulatorInRegister(args[3]);
1732 args);
2240 RegisterList args = register_allocator()->NewRegisterList(2);
2242 ->MoveRegister(input, args[0])
2244 .StoreAccumulatorInRegister(args[1])
2245 .CallRuntime(Runtime::kInlineCreateIterResultObject, args);
2309 RegisterList args = register_allocator()->NewRegisterList(3);
2310 VisitForRegisterValue(super_property->this_var(), args[0]);
2311 VisitForRegisterValue(super_property->home_object(), args[1]);
2314 .StoreAccumulatorInRegister(args[2])
2315 .CallRuntime(Runtime::kLoadFromSuper, args);
2318 builder()->MoveRegister(args[0], opt_receiver_out);
2327 RegisterList args = register_allocator()->NewRegisterList(3);
2328 VisitForRegisterValue(super_property->this_var(), args[0]);
2329 VisitForRegisterValue(super_property->home_object(), args[1]);
2330 VisitForRegisterValue(property->key(), args[2]);
2331 builder()->CallRuntime(Runtime::kLoadKeyedFromSuper, args);
2334 builder()->MoveRegister(args[0], opt_receiver_out);
2349 void BytecodeGenerator::VisitArguments(ZoneList<Expression*>* args,
2352 for (int i = 0; i < static_cast<int>(args->length()); i++) {
2353 VisitAndPushIntoRegisterList(args->at(i), arg_regs);
2366 // Grow the args list as we visit receiver / arguments to avoid allocating all
2370 RegisterList args = register_allocator()->NewGrowableRegisterList();
2378 VisitAndPushIntoRegisterList(property->obj(), &args);
2379 VisitPropertyLoadForRegister(args[0], property, callee);
2384 BuildPushUndefinedIntoRegisterList(&args);
2394 Register receiver = register_allocator()->GrowRegisterList(&args);
2414 BuildPushUndefinedIntoRegisterList(&args);
2419 Register receiver = register_allocator()->GrowRegisterList(&args);
2426 Register receiver = register_allocator()->GrowRegisterList(&args);
2437 // Evaluate all arguments to the function call and store in sequential args
2439 VisitArguments(expr->arguments(), &args);
2440 CHECK_EQ(expr->arguments()->length() + 1, args.register_count());
2452 .MoveRegister(args[1], runtime_call_args[1])
2471 builder()->Call(callee, args, feedback_slot_index, call_type,
2486 RegisterList args = register_allocator()->NewGrowableRegisterList();
2487 VisitArguments(expr->arguments(), &args);
2502 builder()->New(constructor, args, feedback_slot_index);
2507 RegisterList args = register_allocator()->NewGrowableRegisterList();
2508 VisitArguments(expr->arguments(), &args);
2515 .New(constructor, args, feedback_index(expr->CallNewFeedbackSlot()));
2520 RegisterList args = register_allocator()->NewGrowableRegisterList();
2522 BuildPushUndefinedIntoRegisterList(&args);
2523 VisitArguments(expr->arguments(), &args);
2524 builder()->CallJSRuntime(expr->context_index(), args);
2527 RegisterList args = register_allocator()->NewGrowableRegisterList();
2528 VisitArguments(expr->arguments(), &args);
2530 builder()->CallRuntime(function_id, args);
2911 RegisterList args = register_allocator()->NewRegisterList(2);
2914 .StoreAccumulatorInRegister(args[0])
2916 .StoreAccumulatorInRegister(args[1])
2917 .CallRuntime(Runtime::kNewScriptContext, args);
2924 RegisterList args = register_allocator()->NewRegisterList(3);
2926 ->MoveRegister(builder()->Parameter(1), args[0])
2928 .StoreAccumulatorInRegister(args[1])
2930 .StoreAccumulatorInRegister(args[2])
2931 .CallRuntime(Runtime::kPushModuleContext, args);