Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorBo committed Apr 13, 2023
1 parent 19e9876 commit 957fe5a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/coreclr/jit/importercalls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7256,7 +7256,7 @@ bool Compiler::impConsiderCallProbe(GenTreeCall* call, IL_OFFSET ilOffset)
//
// Arguments:
// call - The call
// speculative - result is using for guessing whether we will need probing or not
// speculative - result is used for guessing whether we will need probing or not
//
// Returns:
// The type of probe to use.
Expand Down
4 changes: 2 additions & 2 deletions src/coreclr/vm/method.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,7 @@ class MethodDesc
m_bFlags2 |= enum_flag2_IsUnboxingStub;
}


//================================================================
// Instantiating Stubs
//
Expand Down Expand Up @@ -1634,8 +1635,7 @@ class MethodDesc
enum_flag2_HasPrecode = 0x02, // Precode has been allocated for this method

enum_flag2_IsUnboxingStub = 0x04,

enum_flag2_NeedsNoInstrumentation = 0x08,
// unused = 0x08,

enum_flag2_IsIntrinsic = 0x10, // Jit may expand method as an intrinsic

Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/vm/tieredcompilation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ void TieredCompilationManager::AsyncPromoteToTier1(
{
if (currentNativeCodeVersion.NeedsNoInstrumentation())
{
// Method says it needs no instrumentation so the next tier will be Tier1
// Skip instrumentation on explicit request
nextTier = NativeCodeVersion::OptimizationTier1;
}
else if (ExecutionManager::IsReadyToRunCode(currentNativeCodeVersion.GetNativeCode()))
Expand Down

0 comments on commit 957fe5a

Please sign in to comment.