Lines Matching refs:candidate
91 JSFunction** CodeFlusher::GetNextCandidateSlot(JSFunction* candidate) {
93 HeapObject::RawField(candidate, JSFunction::kNextFunctionLinkOffset));
97 JSFunction* CodeFlusher::GetNextCandidate(JSFunction* candidate) {
98 Object* next_candidate = candidate->next_function_link();
103 void CodeFlusher::SetNextCandidate(JSFunction* candidate,
105 candidate->set_next_function_link(next_candidate, UPDATE_WEAK_WRITE_BARRIER);
109 void CodeFlusher::ClearNextCandidate(JSFunction* candidate, Object* undefined) {
110 DCHECK(undefined->IsUndefined(candidate->GetIsolate()));
111 candidate->set_next_function_link(undefined, SKIP_WRITE_BARRIER);
116 SharedFunctionInfo* candidate) {
117 Object* next_candidate = candidate->code()->gc_metadata();
122 void CodeFlusher::SetNextCandidate(SharedFunctionInfo* candidate,
124 candidate->code()->set_gc_metadata(next_candidate);
128 void CodeFlusher::ClearNextCandidate(SharedFunctionInfo* candidate) {
129 candidate->code()->set_gc_metadata(NULL, SKIP_WRITE_BARRIER);