Removing vestigial ContextInfo.

This commit is contained in:
Ben Vanik
2015-12-14 20:57:14 -08:00
parent 5e6c1f5a50
commit 9273359cdd
6 changed files with 4 additions and 82 deletions

View File

@@ -277,8 +277,7 @@ void X64Emitter::MarkSourceOffset(const Instr* i) {
void X64Emitter::EmitGetCurrentThreadId() {
// rcx must point to context. We could fetch from the stack if needed.
mov(ax,
word[rcx + processor_->frontend()->context_info()->thread_id_offset()]);
mov(ax, word[rcx + offsetof(frontend::PPCContext, thread_id)]);
}
void X64Emitter::EmitTraceUserCallReturn() {}