Fix typo `_TARGET_ARM` to `_TARGET_ARM_`. This happens mostly in comments except...
authorEgor Chesakov <Egor.Chesakov@microsoft.com>
Thu, 7 Dec 2017 21:20:28 +0000 (13:20 -0800)
committerEgor Chesakov <Egor.Chesakov@microsoft.com>
Fri, 8 Dec 2017 22:05:09 +0000 (14:05 -0800)
src/jit/codegencommon.cpp
src/jit/lclvars.cpp
src/jit/lsra.cpp
src/jit/regalloc.cpp
src/vm/exceptionhandling.cpp
src/zap/zapimage.cpp

index c741a66..7be0f4f 100644 (file)
@@ -5397,7 +5397,7 @@ void CodeGen::genEnregisterIncomingStackArgs()
             otherReg          = genRegPairHi(regPair);
         }
         else
-#endif // _TARGET_ARM
+#endif // _TARGET_ARM_
         {
             regNum   = varDsc->lvArgInitReg;
             otherReg = REG_NA;
index 959cd6e..5618eb9 100644 (file)
@@ -1531,7 +1531,7 @@ void Compiler::lvaCanPromoteStructType(CORINFO_CLASS_HANDLE    typeHnd,
         // On ARM, we have a requirement on the struct alignment; see below.
         unsigned structAlignment =
             roundUp(info.compCompHnd->getClassAlignmentRequirement(typeHnd), TARGET_POINTER_SIZE);
-#endif // _TARGET_ARM
+#endif // _TARGET_ARM_
 
         bool isHole[MaxOffset]; // isHole[] is initialized to true for every valid offset in the struct and false for
                                 // the rest
index 9fdef4a..0dc5c43 100644 (file)
@@ -6356,7 +6356,7 @@ regNumber LinearScan::allocateBusyReg(Interval* current, RefPosition* refPositio
                     // need to be spilled as they are already in memory and
                     // codegen considers them as contained memory operands.
                     CLANG_FORMAT_COMMENT_ANCHOR;
-#ifdef _TARGET_ARM
+#ifdef _TARGET_ARM_
                     // TODO-CQ-ARM: Just conservatively "and" two condition. We may implement better condision later.
                     isBetterLocation = true;
                     if (recentAssignedRef != nullptr)
index 6be476a..9961353 100644 (file)
@@ -4392,7 +4392,7 @@ regMaskTP Compiler::rpPredictTreeRegUse(GenTreePtr   tree,
                 }
                 tree->gtUsedRegs = (regMaskSmall)(regMask | tmpMask);
                 goto RETURN_CHECK;
-#else  // !_TARGET_ARM
+#else  // !_TARGET_ARM_
                 goto GENERIC_UNARY;
 #endif // _TARGET_ARM_
             }
index 8112379..38a2a43 100644 (file)
@@ -1837,7 +1837,7 @@ CLRUnwindStatus ExceptionTracker::ProcessOSExceptionNotification(
                     pICFForUnwindTarget = pFrame;
                 }
             }
-#endif // defined(_TARGET_ARM)
+#endif // defined(_TARGET_ARM_)
 
             cfThisFrame.CheckGSCookies();
 
index 98b9e92..b2e779c 100644 (file)
@@ -537,7 +537,7 @@ void ZapImage::AllocateVirtualSections()
 
         //ILMetadata/Resources sections are reported as a statically known warm ranges for now.
         m_pILMetaDataSection = NewVirtualSection(pTextSection, IBCProfiledSection | HotColdSortedRange | ILMetadataSection, sizeof(DWORD));
-#endif  // _TARGET_ARM
+#endif  // _TARGET_ARM_
 
 #if defined(_TARGET_ARM_)
         if (!bigResourceSection) // for ARM, put the resource section at the end if it's very large - see comment above