trackedStackPtrsContig = !compiler->opts.compDbgEnC;
#endif
+ if (compiler->opts.disAsm)
+ {
+ printf("; BEGIN METHOD %s\n", compiler->eeGetMethodFullName(compiler->info.compMethodHnd));
+ }
+
codeSize = GetEmitter()->emitEndCodeGen(compiler, trackedStackPtrsContig, GetInterruptible(),
IsFullPtrRegMapRequired(), compiler->compHndBBtabCount, &prologSize,
&epilogSize, codePtr, &coldCodePtr, &consPtr DEBUGARG(&instrCount));
((double)compiler->info.compTotalColdCodeSize * (double)PERFSCORE_CODESIZE_COST_COLD);
#endif // DEBUG || LATE_DISASM
+ if (compiler->opts.disAsm)
+ {
+ printf("; END METHOD %s\n", compiler->eeGetMethodFullName(compiler->info.compMethodHnd));
+ }
+
#ifdef DEBUG
if (compiler->opts.disAsm || verbose)
{
var methodName = methodDeclInfo.FullyQualifiedName.Replace("*", "{{.*}}"); // Change wild-card to FileCheck wild-card syntax.
// Create anchors from the first prefix.
- var startAnchorText = $"// {checkPrefixes[0]}-LABEL: for method {methodName}";
- var endAnchorText = $"// {checkPrefixes[0]}: for method {methodName}";
+ var beginAnchorText = $"// {checkPrefixes[0]}-LABEL: BEGIN METHOD {methodName}";
+ var endAnchorText = $"// {checkPrefixes[0]}: END METHOD {methodName}";
// Create temp source file based on the source text of the method.
// Newlines are added to pad the text so FileCheck's error messages will correspond
{
tmpSrc.AppendLine(String.Empty);
}
- tmpSrc.AppendLine(startAnchorText);
+ tmpSrc.AppendLine(beginAnchorText);
tmpSrc.AppendLine(TransformMethod(methodDecl, checkPrefixes));
tmpSrc.AppendLine(endAnchorText);