Переглянути джерело

Remove '-oopjit-' flag from ChakraCore POGO training. Fixes #2213

Doug Ilijev 9 роки тому
батько
коміт
33447c8503
1 змінених файлів з 7 додано та 5 видалено
  1. 7 5
      Build/scripts/pgo/pogo_training.ps1

+ 7 - 5
Build/scripts/pgo/pogo_training.ps1

@@ -21,13 +21,15 @@ param (
     [Parameter(Mandatory=$True)]
     [string]$arch,
 
-    [ValidateSet("default", "codecoverage", "pogo")]
-    [string]$subtype = "default",
-
     # force callers to specify this in case of future use
     [Parameter(Mandatory=$True)]
     [string]$flavor,
 
+    [ValidateSet("default", "codecoverage", "pogo")]
+    [string]$subtype = "default",
+
+    [string]$pogoArgs = "",
+
     [string]$vcinstallroot = ${Env:ProgramFiles(x86)},
     [string]$vcbinpath = "Microsoft Visual Studio 14.0\VC\bin",
     [string]$dllname = "pgort140.dll",
@@ -66,7 +68,7 @@ for ($i = 0; $i -lt $scenarios.Length; $i = $i + 1) {
 
     for ($j = 0; $j -lt $items.Length; $j = $j + 1) {
         $testFile = $items[$j]
-        Write-Host "$binary -oopjit- $testFile"
-        iex "$binary -oopjit- $testFile"
+        Write-Host "$binary $pogoArgs $testFile"
+        iex "$binary $pogoArgs $testFile"
     }
 }