From 908245c286c5db92ba2de2113ad11788b066754f Mon Sep 17 00:00:00 2001 From: Andrew Au Date: Mon, 15 Oct 2018 11:45:01 -0700 Subject: [PATCH] Comment on jithelp.asm --- src/debug/ee/controller.cpp | 1 - src/vm/i386/jithelp.asm | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/debug/ee/controller.cpp b/src/debug/ee/controller.cpp index a017c70..611b71c 100644 --- a/src/debug/ee/controller.cpp +++ b/src/debug/ee/controller.cpp @@ -2960,7 +2960,6 @@ DPOSS_ACTION DebuggerController::DispatchPatchOrSingleStep(Thread *thread, CONTE if (withinWriteBarrierGroup || withinPatchedWriteBarrierGroup) { memcpy(&stash, context, sizeof(CONTEXT)); - // TODO: Comment on the JIT helper as well DWORD* esp = (DWORD*)context->Esp; if (withinWriteBarrierGroup) { #if defined(WRITE_BARRIER_CHECK) diff --git a/src/vm/i386/jithelp.asm b/src/vm/i386/jithelp.asm index 27b8668..09b3800 100644 --- a/src/vm/i386/jithelp.asm +++ b/src/vm/i386/jithelp.asm @@ -130,6 +130,8 @@ ENDM ; The code here is tightly coupled with AdjustContextForWriteBarrier, if you change ; anything here, you might need to change AdjustContextForWriteBarrier as well +; The code here is tightly coupled with DebuggerController::DispatchPatchOrSingleStep, if you change +; anything here, you might need to change DebuggerController::DispatchPatchOrSingleStep as well WriteBarrierHelper MACRO rg ALIGN 4 -- 2.7.4