diff --git a/src/alloy/backend/ivm/ivm_intcode.cc b/src/alloy/backend/ivm/ivm_intcode.cc index cae092909..211f466c7 100644 --- a/src/alloy/backend/ivm/ivm_intcode.cc +++ b/src/alloy/backend/ivm/ivm_intcode.cc @@ -417,7 +417,7 @@ int TranslateInvalid(TranslationContext& ctx, Instr* i) { uint32_t IntCode_COMMENT(IntCodeState& ics, const IntCode* i) { char* value = (char*)(i->src1_reg | ((uint64_t)i->src2_reg << 32)); - IPRINT("XE[t] :%d: %s\n", ics.thread_state->GetThreadID(), value); + IPRINT("XE[t] :%d: %s\n", ics.thread_state->thread_id(), value); IFLUSH(); return IA_NEXT; } diff --git a/src/alloy/backend/x64/lowering/tracers.cc b/src/alloy/backend/x64/lowering/tracers.cc index b4c0ae74c..f1c18f882 100644 --- a/src/alloy/backend/x64/lowering/tracers.cc +++ b/src/alloy/backend/x64/lowering/tracers.cc @@ -39,7 +39,7 @@ namespace lowering { void TraceString(void* raw_context, const char* str) { auto thread_state = *((ThreadState**)raw_context); - IPRINT("XE[t] :%d: %s\n", thread_state->GetThreadID(), str); + IPRINT("XE[t] :%d: %s\n", thread_state->thread_id(), str); IFLUSH(); }