fix ilgen after: "Add the capability to specify JIT options from smpi command line"
authordotnet-bot <dotnet-bot@microsoft.com>
Fri, 15 Sep 2017 18:17:00 +0000 (11:17 -0700)
committerdotnet-bot <dotnet-bot@microsoft.com>
Fri, 15 Sep 2017 18:17:00 +0000 (11:17 -0700)
[tfs-changeset: 1674327]

Commit migrated from https://github.com/dotnet/coreclr/commit/429f1efd3c77fa970c5af8baf3fb71bae33809d7

src/coreclr/src/ToolBox/superpmi/superpmi/superpmi.cpp

index a8363a6..9c44222 100644 (file)
@@ -285,9 +285,9 @@ int __cdecl main(int argc, char* argv[])
 
         if (jit == nullptr)
         {
-            SimpleTimer st4;
+            SimpleTimer stInitJit;
 
-            jit = JitInstance::InitJit(o.nameOfJit, o.breakOnAssert, &st4, mc, o.jitOptions);
+            jit = JitInstance::InitJit(o.nameOfJit, o.breakOnAssert, &stInitJit, mc, o.jitOptions);
             if (jit == nullptr)
             {
                 // InitJit already printed a failure message
@@ -296,7 +296,7 @@ int __cdecl main(int argc, char* argv[])
 
             if (o.nameOfJit2 != nullptr)
             {
-                jit2 = JitInstance::InitJit(o.nameOfJit2, o.breakOnAssert, &st4, mc, o.jit2Options);
+                jit2 = JitInstance::InitJit(o.nameOfJit2, o.breakOnAssert, &stInitJit, mc, o.jit2Options);
                 if (jit2 == nullptr)
                 {
                     // InitJit already printed a failure message