Code Review feedback
authorBrian Sullivan <briansul@microsoft.com>
Fri, 11 Jan 2019 00:02:10 +0000 (16:02 -0800)
committerBrian Sullivan <briansul@microsoft.com>
Fri, 11 Jan 2019 00:02:10 +0000 (16:02 -0800)
Change test priority to 0

src/jit/compiler.h
src/jit/importer.cpp
tests/src/JIT/Regression/JitBlue/DevDiv_754566/DevDiv_754566.ilprog

index 5f42bb5..7f51332 100644 (file)
@@ -3330,7 +3330,7 @@ public:
                              CORINFO_CONTEXT_HANDLE* contextHandle,
                              CORINFO_CONTEXT_HANDLE* exactContextHandle,
                              bool                    isLateDevirtualization,
-                             bool                    isTailCall);
+                             bool                    isExplicitTailCall);
 
     //=========================================================================
     //                          PROTECTED
index be735a2..27ea06a 100644 (file)
@@ -5276,7 +5276,7 @@ BOOL Compiler::verIsSDArray(typeInfo ti)
 
 typeInfo Compiler::verGetArrayElemType(typeInfo arrayObjectType)
 {
-    assert(!arrayObjectType.IsNullObjRef()); // you need to check for null explictly since that is a success case
+    assert(!arrayObjectType.IsNullObjRef()); // you need to check for null explicitly since that is a success case
 
     if (!verIsSDArray(arrayObjectType))
     {
@@ -20175,7 +20175,7 @@ bool Compiler::IsMathIntrinsic(GenTree* tree)
 //     contextHandle -- [IN/OUT] context handle for the call. Updated iff call devirtualized.
 //     exactContextHnd -- [OUT] updated context handle iff call devirtualized
 //     isLateDevirtualization -- if devirtualization is happening after importation
-//     isTailCall -- [IN/OUT] true if we plan on using a tail call
+//     isExplicitTailCalll -- [IN] true if we plan on using an explicit tail call
 //
 // Notes:
 //     Virtual calls in IL will always "invoke" the base class method.
@@ -20210,7 +20210,7 @@ void Compiler::impDevirtualizeCall(GenTreeCall*            call,
                                    CORINFO_CONTEXT_HANDLE* contextHandle,
                                    CORINFO_CONTEXT_HANDLE* exactContextHandle,
                                    bool                    isLateDevirtualization,
-                                   bool                    isTailCall)
+                                   bool                    isExplicitTailCall)
 {
     assert(call != nullptr);
     assert(method != nullptr);
@@ -20561,9 +20561,9 @@ void Compiler::impDevirtualizeCall(GenTreeCall*            call,
     {
         JITDUMP("Now have direct call to boxed entry point, looking for unboxed entry point\n");
 
-        if (isTailCall)
+        if (isExplicitTailCall)
         {
-            JITDUMP("Call is an explcit tail call, we cannot perform an unbox\n");
+            JITDUMP("Call is an explicit tail call, we cannot perform an unbox\n");
             return;
         }
 
index 9199c02..d30b4ae 100644 (file)
@@ -10,7 +10,7 @@
     <OutputType>Exe</OutputType>
     <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
     <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
-    <CLRTestPriority>1</CLRTestPriority>
+    <CLRTestPriority>0</CLRTestPriority>
   </PropertyGroup>
   <!-- Default configurations to help VS understand the configurations -->
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "></PropertyGroup>