Skip to content

Commit 40c4db3

Browse files
committed
Address warnings about --engine options which moved to --compiler
1 parent a9eaa9e commit 40c4db3

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

test/truffle/compiler/can-we-fold-yet.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
source test/truffle/common.sh.inc
44

5-
jt ruby --experimental-options --engine.IterativePartialEscape --engine.MultiTier=false test/truffle/compiler/can-we-fold-yet/can-we-fold-yet.rb < test/truffle/compiler/can-we-fold-yet/input.txt > actual.txt
5+
jt ruby --experimental-options --compiler.IterativePartialEscape --engine.MultiTier=false test/truffle/compiler/can-we-fold-yet/can-we-fold-yet.rb < test/truffle/compiler/can-we-fold-yet/input.txt > actual.txt
66

77
if ! cmp test/truffle/compiler/can-we-fold-yet/expected.txt actual.txt
88
then

test/truffle/compiler/can-we-fold-yet/can-we-fold-yet.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# GNU General Public License version 2, or
77
# GNU Lesser General Public License version 2.1.
88

9-
# Use --experimental-options --engine.IterativePartialEscape --engine.MultiTier=false
9+
# Use --experimental-options --compiler.IterativePartialEscape --engine.MultiTier=false
1010

1111
require 'readline'
1212

test/truffle/compiler/pe.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
source test/truffle/common.sh.inc
44

5-
jt ruby --experimental-options --check-compilation --engine.IterativePartialEscape --engine.MultiTier=false test/truffle/compiler/pe/pe.rb "$@"
5+
jt ruby --experimental-options --check-compilation --compiler.IterativePartialEscape --engine.MultiTier=false test/truffle/compiler/pe/pe.rb "$@"

test/truffle/compiler/pe/pe.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#
2525
# Run with:
2626
#
27-
# jt --env jvm-ce ruby --experimental-options --engine.TraceCompilation --check-compilation --engine.IterativePartialEscape --engine.MultiTier=false test.rb
27+
# jt --env jvm-ce ruby --experimental-options --engine.TraceCompilation --check-compilation --compiler.IterativePartialEscape --engine.MultiTier=false test.rb
2828

2929
require_relative 'pe_harness'
3030

tool/docker.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def docker(*args)
264264
end
265265

266266
configs.each do |c|
267-
lines << "RUN ruby #{c} --experimental-options --engine.CompilationFailureAction=ExitVM --engine.TreatPerformanceWarningsAsErrors=all --engine.IterativePartialEscape --engine.MultiTier=false pe/pe.rb || true"
267+
lines << "RUN ruby #{c} --experimental-options --engine.CompilationFailureAction=ExitVM --compiler.TreatPerformanceWarningsAsErrors=all --compiler.IterativePartialEscape --engine.MultiTier=false pe/pe.rb || true"
268268
end
269269
end
270270

tool/jt.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ def rebuild(*options)
10161016
when '--check-compilation'
10171017
add_experimental_options.call
10181018
vm_args << '--engine.CompilationFailureAction=ExitVM'
1019-
vm_args << '--engine.TreatPerformanceWarningsAsErrors=all'
1019+
vm_args << '--compiler.TreatPerformanceWarningsAsErrors=all'
10201020
when '--stress'
10211021
add_experimental_options.call
10221022
vm_args << '--engine.CompileImmediately'
@@ -1035,7 +1035,7 @@ def rebuild(*options)
10351035
if truffleruby_jvm?
10361036
vm_args << '--vm.XX:+UnlockDiagnosticVMOptions' << '--vm.XX:+DebugNonSafepoints'
10371037
end
1038-
vm_args << '--engine.NodeSourcePositions=true'
1038+
vm_args << '--compiler.NodeSourcePositions=true'
10391039
when '--fg'
10401040
add_experimental_options.call
10411041
vm_args << '--engine.BackgroundCompilation=false'
@@ -2186,7 +2186,7 @@ def graph(*args)
21862186
'--engine.BackgroundCompilation=false',
21872187
"--engine.CompileOnly=#{method}",
21882188
'--engine.MultiTier=false',
2189-
'--engine.NodeSourcePositions',
2189+
'--compiler.NodeSourcePositions',
21902190
'--vm.Dgraal.PrintGraphWithSchedule=true',
21912191
*('--vm.Dgraal.PrintBackendCFG=true' if cfg2asm),
21922192
'--vm.Dgraal.Dump=Truffle:1',

0 commit comments

Comments
 (0)