Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit fe2ffd6

Browse files
hoyosjsKoundinya Veluri
authored andcommitted
Port PR #17617 from 3.0
1 parent 2e066fa commit fe2ffd6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/inc/daccess.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2414,7 +2414,7 @@ typedef DPTR(RUNTIME_FUNCTION) PTR_RUNTIME_FUNCTION;
24142414
//----------------------------------------------------------------------------
24152415
//
24162416
// A PCODE is a valid PC/IP value -- a pointer to an instruction, possibly including some processor mode bits.
2417-
// (On ARM, for example, a PCODE value should should have the low-order THUMB_CODE bit set if the code should
2417+
// (On ARM, for example, a PCODE value should have the low-order THUMB_CODE bit set if the code should
24182418
// be executed in that mode.)
24192419
//
24202420
typedef TADDR PCODE;

src/vm/codeman.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4166,7 +4166,7 @@ PCODE ExecutionManager::GetCodeStartAddress(PCODE currentPC)
41664166
EECodeInfo codeInfo(currentPC);
41674167
if (!codeInfo.IsValid())
41684168
return NULL;
4169-
return (PCODE)codeInfo.GetStartAddress();
4169+
return PINSTRToPCODE(codeInfo.GetStartAddress());
41704170
}
41714171

41724172
//**************************************************************************

0 commit comments

Comments
 (0)