Home | History | Annotate | Download | only in src

Lines Matching refs:Code

6 //     * Redistributions of source code must retain the above copyright
406 // CodeFlusher collects candidates for code flushing during marking and
408 // reset those functions referencing code objects that would otherwise
409 // be unreachable. Code objects can be referenced in three ways:
410 // - SharedFunctionInfo references unoptimized code.
411 // - JSFunction references either unoptimized or optimized code.
412 // - OptimizedCodeMap references optimized code.
413 // We are not allowed to flush unoptimized code for functions that got
414 // optimized or inlined into optimized code, because we might bailout
415 // into the unoptimized code again during deoptimization.
432 ASSERT(function->code() == function->shared()->code());
493 Object* next_candidate = candidate->code()->gc_metadata();
499 candidate->code()->set_gc_metadata(next_candidate);
503 candidate->code()->set_gc_metadata(NULL, SKIP_WRITE_BARRIER);
688 void RecordCodeEntrySlot(Address slot, Code* target);
689 void RecordCodeTargetPatch(Address pc, Code* target);
707 void InvalidateCode(Code* code);
748 bool WillBeDeoptimized(Code* code);
819 // Mark code objects that are active on the stack to prevent them
861 // If the call-site of the top optimized code was not prepared for
862 // deoptimization, then treat the maps in the code as strong pointers,
863 // otherwise a map can die and deoptimize the code.
955 List<Code*> invalidated_code_;