Skip to content

Commit

Permalink
Stop generating CLS_VAR (#66298)
Browse files Browse the repository at this point in the history
  • Loading branch information
SingleAccretion authored Mar 14, 2022
1 parent 39fb7f7 commit cbc856d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/coreclr/jit/morph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6335,8 +6335,7 @@ GenTree* Compiler::fgMorphField(GenTree* tree, MorphAddrContext* mac)
CLANG_FORMAT_COMMENT_ANCHOR;

#ifdef TARGET_64BIT
bool preferIndir =
isBoxedStatic || isStaticReadOnlyInited || (IMAGE_REL_BASED_REL32 != eeGetRelocTypeHint(fldAddr));
bool preferIndir = true;
#else // !TARGET_64BIT
bool preferIndir = isBoxedStatic;
#endif // !TARGET_64BIT
Expand Down

0 comments on commit cbc856d

Please sign in to comment.