Mercurial > hg > truffle
diff mx/sanitycheck.py @ 9810:b49fdcee6cb0
Merge
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Thu, 23 May 2013 14:44:01 +0200 |
parents | 8e33b4ebfef1 |
children | d9fcc82766da |
line wrap: on
line diff
--- a/mx/sanitycheck.py Fri May 17 16:47:13 2013 +0200 +++ b/mx/sanitycheck.py Thu May 23 14:44:01 2013 +0200 @@ -235,15 +235,15 @@ args = ['-XX:+CompileTheWorld', '-Xbootclasspath/p:' + rtjar] - if not vm.endswith('-nograal'): + if commands.isGraalEnabled(vm): args += ['-XX:+BootstrapGraal', '-G:-Debug'] if mode >= CTWMode.NoInline: - if vm.endswith('-nograal'): + if not commands.isGraalEnabled(vm): args.append('-XX:-Inline') else: args.append('-G:-Inline') if mode >= CTWMode.NoComplex: - if not vm.endswith('-nograal'): + if commands.isGraalEnabled(vm): args += ['-G:-OptLoopTransform', '-G:-OptTailDuplication', '-G:-FullUnroll', '-G:-MemoryAwareScheduling', '-G:-PartialEscapeAnalysis'] return Test("CompileTheWorld", args, successREs=[time], scoreMatchers=[scoreMatcher], benchmarkCompilationRate=False)