Lines Matching defs:optimization
455 const CallOptimization& optimization,
462 const CallOptimization& optimization,
469 Handle<JSFunction> function = optimization.constant_function();
475 Handle<CallHandlerInfo> api_call_info = optimization.api_call_info();
496 GenerateFastApiCallBody(masm, optimization, argc, false);
502 // the version above. It is an optimization that should will be removed
505 const CallOptimization& optimization,
512 ASSERT(optimization.is_simple_api_call());
545 Handle<JSFunction> function = optimization.constant_function();
552 Handle<CallHandlerInfo> api_call_info = optimization.api_call_info();
578 GenerateFastApiCallBody(masm, optimization, argc, true);
583 const CallOptimization& optimization,
610 Handle<CallHandlerInfo> api_call_info = optimization.api_call_info();
672 CallOptimization optimization(lookup);
673 if (optimization.is_constant_call()) {
675 holder, lookup, name, optimization, miss);
692 const CallOptimization& optimization,
694 ASSERT(optimization.is_constant_call());
700 if (optimization.is_simple_api_call() &&
702 depth1 = optimization.GetPrototypeDepthOfExpectedType(
705 depth2 = optimization.GetPrototypeDepthOfExpectedType(
756 GenerateFastApiCall(masm, optimization, arguments_.immediate());
758 Handle<JSFunction> fun = optimization.constant_function();
2404 const CallOptimization& optimization,
2410 ASSERT(optimization.is_simple_api_call());
2416 int depth = optimization.GetPrototypeDepthOfExpectedType(
2449 GenerateFastApiCall(masm(), optimization, argc);