Skip to content

Commit 679f0b3

Browse files
committed
Comment cleanup
1 parent 806a772 commit 679f0b3

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

src/coreclr/gcinfo/arraylist.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
// FIXME: We have to put this up here because of some sort of interaction between precompiled headers
4+
// Interpreter-FIXME: We have to put this up here because of some sort of interaction between precompiled headers
55
// and an indirect dependency on safemath.h before the #include "safemath.h" further down - that one isn't including it
66
#undef _ASSERTE_SAFEMATH
77
#define _ASSERTE_SAFEMATH(expr) GCINFO_ASSERT(expr)

src/coreclr/gcinfo/gcinfoencoder.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,7 @@ struct CompareLifetimeTransitionsBySlot
845845
UINT32 firstOffset = first.CodeOffset;
846846
UINT32 secondOffset = second.CodeOffset;
847847

848-
// FIXME: GcInfoEncoding::
848+
// Interpreter-FIXME: GcInfoEncoding::
849849
// GCINFO_ASSERT(GetNormCodeOffsetChunk(firstOffset) == GetNormCodeOffsetChunk(secondOffset));
850850

851851
// Sort them by slot
@@ -2551,7 +2551,7 @@ void BitStreamWriter::CopyTo( BYTE* buffer )
25512551

25522552
inline void BitStreamWriter::AllocMemoryBlock()
25532553
{
2554-
// FIXME: Causes linker error in interpreter because IS_ALIGNED calls _ASSERTE
2554+
// Interpreter-FIXME: Causes linker error in interpreter because IS_ALIGNED calls _ASSERTE
25552555
// GCINFO_ASSERT( IS_ALIGNED( m_MemoryBlockSize, sizeof( size_t ) ) );
25562556
MemoryBlock* pMemBlock = m_MemoryBlocks.AppendNew(m_pAllocator, m_MemoryBlockSize);
25572557

src/coreclr/inc/gcinfotypes.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -975,20 +975,20 @@ struct InterpreterGcInfoEncoding {
975975
static const uint32_t NUM_NORM_CODE_OFFSETS_PER_CHUNK = (64);
976976

977977
static const uint32_t NUM_NORM_CODE_OFFSETS_PER_CHUNK_LOG2 = (6);
978-
// FIXME: Interpreter has fixed-size stack slots so we could normalize them based on that.
978+
// Interpreter-FIXME: Interpreter has fixed-size stack slots so we could normalize them based on that.
979979
static inline constexpr int32_t NORMALIZE_STACK_SLOT (int32_t x) { return (x); }
980980
static inline constexpr int32_t DENORMALIZE_STACK_SLOT (int32_t x) { return (x); }
981-
// FIXME: Interpreter has fixed-size opcodes so code length is a multiple of that.
981+
// Interpreter-FIXME: Interpreter has fixed-size opcodes so code length is a multiple of that.
982982
static inline constexpr uint32_t NORMALIZE_CODE_LENGTH (uint32_t x) { return (x); }
983983
static inline constexpr uint32_t DENORMALIZE_CODE_LENGTH (uint32_t x) { return (x); }
984984

985985
static inline constexpr uint32_t NORMALIZE_STACK_BASE_REGISTER (uint32_t x) { return (x); }
986986
static inline constexpr uint32_t DENORMALIZE_STACK_BASE_REGISTER (uint32_t x) { return (x); }
987-
// FIXME: Interpreter has fixed-size stack slots so we could normalize them based on that.
987+
// Interpreter-FIXME: Interpreter has fixed-size stack slots so we could normalize them based on that.
988988
static inline constexpr uint32_t NORMALIZE_SIZE_OF_STACK_AREA (uint32_t x) { return (x); }
989989
static inline constexpr uint32_t DENORMALIZE_SIZE_OF_STACK_AREA (uint32_t x) { return (x); }
990990
static const bool CODE_OFFSETS_NEED_NORMALIZATION = false;
991-
// FIXME: Interpreter has fixed-size opcodes so code length is a multiple of that.
991+
// Interpreter-FIXME: Interpreter has fixed-size opcodes so code length is a multiple of that.
992992
static inline constexpr uint32_t NORMALIZE_CODE_OFFSET (uint32_t x) { return (x); }
993993
static inline constexpr uint32_t DENORMALIZE_CODE_OFFSET (uint32_t x) { return (x); }
994994

@@ -1000,7 +1000,7 @@ struct InterpreterGcInfoEncoding {
10001000
static const int STACK_BASE_REGISTER_ENCBASE = 3;
10011001
static const int SIZE_OF_STACK_AREA_ENCBASE = 3;
10021002
static const int SIZE_OF_EDIT_AND_CONTINUE_PRESERVED_AREA_ENCBASE = 4;
1003-
// FIXME: This constant is only used on certain architectures.
1003+
// Interpreter-FIXME: This constant is only used on certain architectures.
10041004
static const int SIZE_OF_EDIT_AND_CONTINUE_FIXED_STACK_FRAME_ENCBASE = 4;
10051005
static const int REVERSE_PINVOKE_FRAME_ENCBASE = 6;
10061006
static const int NUM_REGISTERS_ENCBASE = 2;

src/coreclr/interpreter/compiler.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,12 @@ class InterpIAllocator : public IAllocator
7070
// Frees the block of memory pointed to by p.
7171
virtual void Free(void* p) override
7272
{
73-
// FIXME: m_pCompiler->FreeMethodData
73+
// Interpreter-FIXME: m_pCompiler->FreeMethodData
7474
free(p);
7575
}
7676
};
7777

78-
// FIXME Use specific allocators for their intended purpose
78+
// Interpreter-FIXME Use specific allocators for their intended purpose
7979
// Allocator for data that is kept alive throughout application execution,
8080
// being freed only if the associated method gets freed.
8181
void* InterpCompiler::AllocMethodData(size_t numBytes)
@@ -744,7 +744,7 @@ void InterpCompiler::BuildGCInfo(InterpMethod *pInterpMethod)
744744
// let's save the values anyway for debugging purposes
745745
gcInfoEncoder->Emit();
746746

747-
// FIXME: Why doesn't the JIT code do this? Is it because the placement new it uses automatically frees them
747+
// Interpreter-FIXME: Why doesn't the JIT code do this? Is it because the placement new it uses automatically frees them
748748
// at the end of JIT compilation?
749749
delete gcInfoEncoder;
750750
delete pAllocator;

src/coreclr/vm/interpexec.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -755,8 +755,8 @@ void InterpExecMethod(InterpreterFrame *pInterpreterFrame, InterpMethodContextFr
755755
break;
756756
}
757757
case INTOP_COLLECT: {
758-
// HACK: blocking gc of all generations
759-
// FIXME: currently hangs and stack walk does not ever reach the interpreter code manager
758+
// HACK: blocking gc of all generations to enable early stackwalk testing
759+
// Interpreter-TODO: Remove this
760760
InterpreterExitFrame exitFrame(pFrame);
761761
{
762762
GCX_COOP();

0 commit comments

Comments
 (0)