Skip to content

Commit 35de73f

Browse files
committed
Fix build
1 parent 1ecd091 commit 35de73f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/coreclr/jit/emit.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,11 @@ struct insGroup
247247
double igPerfScore; // The PerfScore for this insGroup
248248
#endif
249249

250+
#ifdef DEBUG
251+
BasicBlock* lastGeneratedBlock; // The last block that generated code into this insGroup.
252+
jitstd::list<BasicBlock*> igBlocks; // All the blocks that generated code into this insGroup.
253+
#endif
254+
250255
UNATIVE_OFFSET igNum; // for ordering (and display) purposes
251256
UNATIVE_OFFSET igOffs; // offset of this group within method
252257
unsigned int igFuncIdx; // Which function/funclet does this belong to? (Index into Compiler::compFuncInfos array.)
@@ -349,11 +354,6 @@ struct insGroup
349354
return (igFlags & IGF_LOOP_ALIGN) != 0;
350355
}
351356

352-
#ifdef DEBUG
353-
BasicBlock* lastGeneratedBlock; // The last block that generated code into this insGroup.
354-
jitstd::list<BasicBlock*> igBlocks; // All the blocks that generated code into this insGroup.
355-
#endif
356-
357357
}; // end of struct insGroup
358358

359359
// For AMD64 the maximum prolog/epilog size supported on the OS is 256 bytes

src/coreclr/jit/instr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ const char* CodeGen::genInsDisplayName(emitter::instrDesc* id)
9292
instruction ins = id->idIns();
9393
const char* insName = genInsName(ins);
9494

95+
#ifdef TARGET_XARCH
9596
const int TEMP_BUFFER_LEN = 40;
9697
static unsigned curBuf = 0;
9798
static char buf[4][TEMP_BUFFER_LEN];
9899
const char* retbuf;
99100

100-
#ifdef TARGET_XARCH
101101
if (GetEmitter()->IsAVXInstruction(ins) && !GetEmitter()->IsBMIInstruction(ins))
102102
{
103103
sprintf_s(buf[curBuf], TEMP_BUFFER_LEN, "v%s", insName);

0 commit comments

Comments
 (0)