Skip to content

Commit

Permalink
Typos: ablity -> ability (#101755)
Browse files Browse the repository at this point in the history
* Fix typo in extractor.cpp

ablity -> ability

* More typos

---------

Co-authored-by: Ikko Eltociear Ashimine <[email protected]>
  • Loading branch information
jkotas and eltociear committed May 1, 2024
1 parent a700005 commit 5e2b55f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/coreclr/jit/optimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5052,7 +5052,7 @@ void Compiler::optHoistCandidate(GenTree* tree,
FlowGraphNaturalLoop* loop,
LoopHoistContext* hoistCtxt)
{
// It must pass the hoistable profitablity tests for this loop level
// It must pass the hoistable profitability tests for this loop level
if (!optIsProfitableToHoistTree(tree, loop, hoistCtxt))
{
JITDUMP(" ... not profitable to hoist\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ bool WithCache(uint context)

Debug.Assert(context < CharKind.ContextLimit);

// If nullablity has been computed for the given context then return it
// If nullability has been computed for the given context then return it
byte b = Volatile.Read(ref _nullabilityCache[context]);
if (b != UndefinedByte)
{
Expand Down
2 changes: 1 addition & 1 deletion src/native/corehost/bundle/extractor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ void extractor_t::commit_dir()
// Retry the move operation with some wait in between the attempts. This is to workaround for possible file locking
// caused by AV software. Basically the extraction process above writes a bunch of executable files to disk
// and some AV software may decide to scan them on write. If this happens the files will be locked which blocks
// our ablity to move them.
// our ability to move them.

bool extracted_by_concurrent_process = false;
bool extracted_by_current_process =
Expand Down

0 comments on commit 5e2b55f

Please sign in to comment.