Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions src/coreclr/jit/compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4588,9 +4588,6 @@ void Compiler::compCompile(void** methodCodePtr, uint32_t* methodCodeSize, JitFl
lvaRefCountState = RCS_INVALID;
fgLocalVarLivenessDone = false;

// Decide the kind of code we want to generate
fgSetOptions();

fgExpandQmarkNodes(/*early*/ false);

#ifdef DEBUG
Expand Down Expand Up @@ -4675,6 +4672,12 @@ void Compiler::compCompile(void** methodCodePtr, uint32_t* methodCodeSize, JitFl
fgDebugCheckLinks();
#endif

// Decide the kind of code we want to generate. Done here, after the second
// round of empty-EH removal above, so that EH eliminated post-morph doesn't
// force fully-interruptible codegen / a frame pointer.
Comment thread
AndyAyersMS marked this conversation as resolved.
//
fgSetOptions();

// Morph multi-dimensional array operations.
// (Consider deferring all array operation morphing, including single-dimensional array ops,
// from global morph to here, so cloning doesn't have to deal with morphed forms.)
Expand Down
Loading