Home | History | Annotate | Download | only in src

Lines Matching refs:pc

369                                    Address pc,
373 isolate->pc_to_code_cache()->GetCacheEntry(pc);
376 entry->safepoint_entry = entry->code->GetSafepointEntry(pc);
379 ASSERT(entry->safepoint_entry.Equals(entry->code->GetSafepointEntry(pc)));
399 Address pc = *pc_address;
400 ASSERT(holder->contains(pc));
401 unsigned pc_offset = static_cast<unsigned>(pc - holder->instruction_start());
406 pc = holder->instruction_start() + pc_offset;
407 *pc_address = pc;
579 isolate(), pc(), &safepoint_entry, &stack_slots);
678 int offset = static_cast<int>(pc() - code_pointer->address());
795 if (!code->contains(pc())) {
796 code = isolate()->pc_to_code_cache()->GcSafeFindCodeForPc(pc());
801 SafepointEntry safepoint_entry = code->GetSafepointEntry(pc());
899 Address pc = this->pc();
901 pc >= code->instruction_start() && pc < code->instruction_end()) {
902 int source_pos = code->SourcePosition(pc);
1112 Code* PcToCodeCache::GcSafeCastToCode(HeapObject* object, Address pc) {
1114 ASSERT(code != NULL && code->contains(pc));
1119 Code* PcToCodeCache::GcSafeFindCodeForPc(Address pc) {
1121 // Check if the pc points into a large object chunk.
1122 LargeObjectChunk* chunk = heap->lo_space()->FindChunkContainingPc(pc);
1123 if (chunk != NULL) return GcSafeCastToCode(chunk->GetObject(), pc);
1126 // object starting after the pc.
1127 Page* page = Page::FromAddress(pc);
1132 if (next == NULL || next->address() >= pc) {
1133 return GcSafeCastToCode(previous, pc);
1140 PcToCodeCache::PcToCodeCacheEntry* PcToCodeCache::GetCacheEntry(Address pc) {
1144 static_cast<uint32_t>(reinterpret_cast<uintptr_t>(pc)));
1147 if (entry->pc == pc) {
1149 ASSERT(entry->code == GcSafeFindCodeForPc(pc));
1152 // also queries the cache, we cannot update pc before the code has
1155 entry->code = GcSafeFindCodeForPc(pc);
1157 entry->pc = pc;