Lines Matching refs:Function
594 if (FLAG_trace_bailout) PrintF("Function is too big\n");
1980 // a (possibly inlined) function.
1992 // State for an inline function.
2217 Bailout("function with illegal redeclaration");
2244 VisitStatements(info()->function()->body());
2355 // We don't yet handle the function name for named function expressions.
2356 if (scope->function() != NULL) BAILOUT("named function expression");
2526 // Return from an inlined function, visit the subexpression in the
3615 Handle<JSFunction> function(lookup.GetConstantFunctionFromMap(*map));
3616 return new(zone()) HConstant(function, Representation::Tagged());
3800 Bailout("arguments access in inlined function");
3861 HValue* function = Pop();
3862 AddInstruction(new(zone()) HCheckNonSmi(function));
3863 instr = new(zone()) HLoadFunctionPrototype(function);
3995 // We are currently in the context of inlined function thus we have
3999 function_state()->outer()->compilation_info()->function()->
4005 info()->function()->debug_name()->ToCString();
4073 // Parse or scope error, never optimize this function.
4085 FunctionLiteral* function = target_info.function();
4106 if (function->scope()->arguments() != NULL ||
4113 for (int i = 0, count = function->body()->length(); i < count; ++i) {
4114 if (!function->body()->at(i)->IsInlineable()) {
4121 // the target function if we don't already have it.
4138 // for the inlined function.
4147 environment()->CopyForInlining(target, function, true, undefined);
4153 AddInstruction(new(zone()) HEnterInlined(target, function));
4154 VisitStatements(function->body());
4156 // Bail out if the inline function did, as we cannot residualize a call
4194 // Fix up the function exits.
4229 // Try to inline calls like Math.* as operations in the calling function.
4348 Bailout("Function.prototype.apply optimization in inlined function");
4355 HValue* function = Pop();
4361 AddCheckConstantFunction(expr, function, function_map, true);
4363 new(zone()) HApplyArguments(function, receiver, length, elements);
4378 // Keyed function call.
4401 // Named function call.
4475 // access check is not enabled we assume that the function will not change
4476 // and generate optimized code for calling the function.
4495 HValue* function = Pop();
4496 AddInstruction(new(zone()) HCheckFunction(function, expr->target()));
4548 // The constructor function is also used as the receiver argument to the
4585 BAILOUT("call to a JavaScript runtime function");
4588 const Runtime::Function* function = expr->function();
4589 ASSERT(function != NULL);
4590 if (function->intrinsic_type == Runtime::INLINE) {
4593 // Call to an inline function.
4594 int lookup_index = static_cast<int>(function->function_id) -
4604 ASSERT(function->intrinsic_type == Runtime::RUNTIME);
4611 new(zone()) HCallRuntime(name, function, argument_count);
5099 // Check to see if the rhs of the instanceof is a global function not
5100 // residing in new space. If it is we assume that the function will stay the
5116 // If the function is in new space we assume it's more likely to
5124 // If the target is not null we have found a known global function that is
5261 BAILOUT("inlined runtime function: IsNonNegativeSmi");
5266 BAILOUT("inlined runtime function: IsUndetectableObject");
5272 BAILOUT("inlined runtime function: IsStringWrapperSafeForDefaultValueOf");
5280 // We are generating graph for inlined function. Currently
5294 // function is blacklisted by AstNode::IsInlineable.
5306 // function is blacklisted by AstNode::IsInlineable.
5323 BAILOUT("inlined runtime function: ClassOf");
5337 BAILOUT("inlined runtime function: SetValueOf");
5397 BAILOUT("inlined runtime function: RandomHeapNumber");
5470 BAILOUT("inlined runtime function: GetFromCache");
5492 BAILOUT("inlined runtime function: SwapElements");
5498 BAILOUT("inlined runtime function: CallFunction");
5557 BAILOUT("inlined runtime function: MathSqrt");
5563 BAILOUT("inlined runtime function: IsRegExpEquivalent");
5577 BAILOUT("inlined runtime function: FastAsciiArrayJoin");
5742 FunctionLiteral* function,
5746 int arity = function->scope()->num_parameters();
5752 new(zone) HEnvironment(outer, function->scope(), target);
5767 int local_count = function->scope()->num_stack_slots();
5802 void HTracer::TraceCompilation(FunctionLiteral* function) {
5804 Handle<String> name = function->debug_name();