Home | History | Annotate | Download | only in heap

Lines Matching defs:function

434       // This function's code looks flushable. But we have to postpone
454 JSFunction* function = JSFunction::cast(object);
457 if (IsFlushable(heap, function)) {
458 // This function's code looks flushable. But we have to postpone
464 collector->code_flusher()->AddCandidate(function);
470 StaticVisitor::MarkObject(heap, function->shared()->code());
520 JSFunction* function) {
521 SharedFunctionInfo* shared_info = function->shared();
524 // by optimized version of function.
525 if (ObjectMarking::IsBlackOrGrey(function->code())) {
530 if (function->code() != shared_info->code()) {
535 if (FLAG_age_code && !function->code()->IsOld()) {
547 // by optimized version of function.
552 // The function must be compiled and have the source code available,
553 // to be able to recompile it in case we need the function again.
564 if (shared_info->code()->kind() != Code::FUNCTION) {
568 // Function must be lazy compilable.
580 // If this is a full script wrapped in a function we do not flush the code.
585 // The function must be user code.
595 // If this is a function initialized with %SetCode then the one-to-one