Home | History | Annotate | Download | only in src

Lines Matching refs:Code

8 // - Redistributions of source code must retain the above copyright notice,
31 // The original source code covered by the above license above has been
680 RelocIterator::RelocIterator(Code* code, int mode_mask) {
681 rinfo_.host_ = code;
682 rinfo_.pc_ = code->instruction_start();
685 pos_ = code->relocation_start() + code->relocation_size();
686 end_ = code->relocation_start();
691 byte* sequence = code->FindCodeAgeSequence();
692 if (sequence != NULL && !Code::IsYoungSequence(sequence)) {
724 // Ensure there are no code targets or embedded objects present in the
725 // deoptimization entries, they would require relocation after code
747 return "code target (js construct call)";
749 return "code target (context)";
756 return "code target";
758 return "code target with id";
806 Code* code = Code::GetCodeFromTargetAddress(target_address());
807 PrintF(out, " (%s) (%p)", Code::Kind2String(code->kind()),
847 // convert inline target address to code object
850 // Check that we can find the right code object.
851 Code* code = Code::GetCodeFromTargetAddress(addr);
852 Object* found = code->GetIsolate()->FindCodeObject(addr);
854 CHECK(code->address() == HeapObject::cast(found)->address());
873 ASSERT(Code::IsYoungSequence(pc_) || code_age_stub()->IsCode());
904 // If this is changed, generated code must be adapted too.
1067 isolate, FUNCTION_ADDR(Code::MakeCodeAgeSequenceYoung)));
1530 // been done in generated code before bailing out here.