summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Singleton <jpsingleton@users.noreply.github.com>2016-06-01 17:27:43 +0100
committerJan Kotas <jkotas@microsoft.com>2016-06-01 09:27:43 -0700
commited288543901c12177d9ae042bd961c6d14fcb33f (patch)
tree6f3ee5ca86f507494150adbae19d95237919dc6f
parent02c178325e13b9e4322e864bd410d757e97b5acd (diff)
downloadcoreclr-ed288543901c12177d9ae042bd961c6d14fcb33f.tar.gz
coreclr-ed288543901c12177d9ae042bd961c6d14fcb33f.tar.bz2
coreclr-ed288543901c12177d9ae042bd961c6d14fcb33f.zip
Remove duplicate avoid in comments from a few files (#5363)
Remove double avoid in comments
-rw-r--r--src/vm/amd64/JitHelpers_Slow.asm4
-rw-r--r--src/vm/array.cpp2
-rw-r--r--src/vm/i386/jitinterfacex86.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/vm/amd64/JitHelpers_Slow.asm b/src/vm/amd64/JitHelpers_Slow.asm
index 64b9a82e61..66b0e90d5d 100644
--- a/src/vm/amd64/JitHelpers_Slow.asm
+++ b/src/vm/amd64/JitHelpers_Slow.asm
@@ -277,7 +277,7 @@ NESTED_ENTRY AllocateStringFastMP, _TEXT
; Instead of doing elaborate overflow checks, we just limit the number of elements
; to (LARGE_OBJECT_SIZE - 256)/sizeof(WCHAR) or less.
- ; This will avoid avoid all overflow problems, as well as making sure
+ ; This will avoid all overflow problems, as well as making sure
; big string objects are correctly allocated in the big object heap.
cmp ecx, (ASM_LARGE_OBJECT_SIZE - 256)/2
@@ -588,7 +588,7 @@ LEAF_ENTRY AllocateStringFastUP, _TEXT
; Instead of doing elaborate overflow checks, we just limit the number of elements
; to (LARGE_OBJECT_SIZE - 256)/sizeof(WCHAR) or less.
- ; This will avoid avoid all overflow problems, as well as making sure
+ ; This will avoid all overflow problems, as well as making sure
; big string objects are correctly allocated in the big object heap.
cmp ecx, (ASM_LARGE_OBJECT_SIZE - 256)/2
diff --git a/src/vm/array.cpp b/src/vm/array.cpp
index 072f8b1a9b..889c355f08 100644
--- a/src/vm/array.cpp
+++ b/src/vm/array.cpp
@@ -527,7 +527,7 @@ MethodTable* Module::CreateArrayMethodTable(TypeHandle elemTypeHnd, CorElementTy
}
// The type is sufficiently initialized for most general purpose accessor methods to work.
- // Mark the type as restored to avoid avoid asserts. Note that this also enables IBC logging.
+ // Mark the type as restored to avoid asserts. Note that this also enables IBC logging.
pMTWriteableData->SetIsFullyLoadedForBuildMethodTable();
{
diff --git a/src/vm/i386/jitinterfacex86.cpp b/src/vm/i386/jitinterfacex86.cpp
index ff0ea93a3e..949b115ce2 100644
--- a/src/vm/i386/jitinterfacex86.cpp
+++ b/src/vm/i386/jitinterfacex86.cpp
@@ -1227,7 +1227,7 @@ void *JIT_TrialAlloc::GenAllocString(Flags flags)
// Instead of doing elaborate overflow checks, we just limit the number of elements
// to (LARGE_OBJECT_SIZE - 256)/sizeof(WCHAR) or less.
- // This will avoid avoid all overflow problems, as well as making sure
+ // This will avoid all overflow problems, as well as making sure
// big string objects are correctly allocated in the big object heap.
_ASSERTE(sizeof(WCHAR) == 2);