Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Commit

Permalink
Typos (#5529)
Browse files Browse the repository at this point in the history
* specical -> special

* runnning -> running

* regster -> register

* poitner -> pointer

* recognizeable -> recognizable

* registeres -> registers

* Retarting -> Restarting

* scnas -> scans

* rountine -> routine
  • Loading branch information
github-john-doe authored and jkotas committed Mar 12, 2018
1 parent 1c6352a commit d56451e
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/Native/Runtime/RHCodeMan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ bool EECodeManager::UnwindStackFrame(GCInfoHeader * pInfoHeader,
{
CalleeSavedRegMask regMask = pInfoHeader->GetSavedRegs();
ASSERT_MSG(ebpFrame || !(regMask & CSR_MASK_RBP), "We should never use EBP as a preserved register");
ASSERT_MSG(!(regMask & CSR_MASK_RBX) || !pInfoHeader->HasDynamicAlignment(), "Can't have EBX as preserved regster and dynamic alignment frame pointer")
ASSERT_MSG(!(regMask & CSR_MASK_RBX) || !pInfoHeader->HasDynamicAlignment(), "Can't have EBX as preserved register and dynamic alignment frame pointer")
if (regMask & CSR_MASK_RBX) { pContext->pRbx = (PTR_UIntNative)((PTR_UInt8)RSP - registerSaveDisplacement); ++RSP; } // registers saved at bottom of frame
if (regMask & CSR_MASK_RSI) { pContext->pRsi = (PTR_UIntNative)((PTR_UInt8)RSP - registerSaveDisplacement); ++RSP; } // registers saved at bottom of frame
if (regMask & CSR_MASK_RDI) { pContext->pRdi = (PTR_UIntNative)((PTR_UInt8)RSP - registerSaveDisplacement); ++RSP; } // registers saved at bottom of frame
Expand Down
2 changes: 1 addition & 1 deletion src/Native/Runtime/thread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ void Thread::ResetCachedTransitionFrame()
// This function simulates a PInvoke transition using a frame pointer from somewhere further up the stack that
// was passed in via the m_pHackPInvokeTunnel field. It is used to allow us to grandfather-in the set of GC
// code that runs in cooperative mode without having to rewrite it in managed code. The result is that the
// code that calls into this special mode must spill preserved registeres as if it's going to PInvoke, but
// code that calls into this special mode must spill preserved registers as if it's going to PInvoke, but
// record its transition frame pointer in m_pHackPInvokeTunnel and leave the thread in the cooperative
// mode. Later on, when this function is called, we effect the state transition to 'unmanaged' using the
// previously setup transition frame.
Expand Down
2 changes: 1 addition & 1 deletion src/Native/Runtime/windows/PalRedhawkCommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ REDHAWK_PALEXPORT void REDHAWK_PALAPI PalGetPDBInfo(HANDLE hOsHandle, _Out_ GUID
if (cbDebugData < size_t(&((CV_INFO_PDB70*)0)->magic) + sizeof(((CV_INFO_PDB70*)0)->magic))
{
// raw data too small to contain magic number at expected spot, so its format
// is not recognizeable. Skip
// is not recognizable. Skip
continue;
}

Expand Down
6 changes: 3 additions & 3 deletions src/Native/gc/gc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9617,7 +9617,7 @@ void gc_heap::restart_vm()
{
//assert (generation_allocation_pointer (youngest_generation) == 0);
dprintf (3, ("Restarting EE"));
STRESS_LOG0(LF_GC, LL_INFO10000, "Concurrent GC: Retarting EE\n");
STRESS_LOG0(LF_GC, LL_INFO10000, "Concurrent GC: Restarting EE\n");
ee_proceed_event.Set();
}

Expand Down Expand Up @@ -26667,7 +26667,7 @@ BOOL gc_heap::prepare_bgc_thread(gc_heap* gh)
gh->bgc_threads_timeout_cs.Enter();
if (!(gh->bgc_thread_running))
{
dprintf (2, ("GC thread not runnning"));
dprintf (2, ("GC thread not running"));
if ((gh->bgc_thread == 0) && create_bgc_thread(gh))
{
success = TRUE;
Expand Down Expand Up @@ -36708,7 +36708,7 @@ inline void testGCShadow(Object** ptr)
if (*ptr != 0 && (uint8_t*) shadow < g_GCShadowEnd && *ptr != *shadow)
{

// If you get this assertion, someone updated a GC poitner in the heap without
// If you get this assertion, someone updated a GC pointer in the heap without
// using the write barrier. To find out who, check the value of
// dd_collection_count (dynamic_data_of (0)). Also
// note the value of 'ptr'. Rerun the App that the previous GC just occurred.
Expand Down
2 changes: 1 addition & 1 deletion src/Native/gc/handletable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ void HndEnumHandles(HHANDLETABLE hTable, const uint32_t *puType, uint32_t uTypeC
*
* Multiple type scanning entrypoint for GC.
*
* This entrypoint is provided for GC-time scnas of the handle table ONLY. It
* This entrypoint is provided for GC-time scans of the handle table ONLY. It
* enables ephemeral scanning of the table, and optionally ages the write barrier
* as it scans.
*
Expand Down
2 changes: 1 addition & 1 deletion src/Native/libunwind/src/Unwind-EHABI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ decode_eht_entry(const uint32_t* data, size_t* off, size_t* len) {
// only by the personality routine. Fortunately, all existing assembler
// implementations, including GNU assembler, LLVM integrated assembler,
// and ARM assembler, assume that the unwind opcodes come after the
// personality rountine address.
// personality routine address.
*off = 1; // First byte is size data.
*len = (((data[1] >> 24) & 0xff) + 1) * 4;
data++; // Skip the first word, which is the prel31 offset.
Expand Down
2 changes: 1 addition & 1 deletion src/Native/libunwind/src/libunwind.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ _LIBUNWIND_EXPORT int unw_set_reg(unw_cursor_t *cursor, unw_regnum_t regNum,
AbstractUnwindCursor *co = (AbstractUnwindCursor *)cursor;
if (co->validReg(regNum)) {
co->setReg(regNum, (pint_t)value, 0);
// specical case altering IP to re-find info (being called by personality
// special case altering IP to re-find info (being called by personality
// function)
if (regNum == UNW_REG_IP)
co->setInfoBasedOnIPRegister(false);
Expand Down

0 comments on commit d56451e

Please sign in to comment.