Mercurial > hg > truffle
comparison mx/mx_graal.py @ 21298:7e72615e0441
Merge
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Mon, 11 May 2015 17:56:16 -0700 |
parents | 326a1f374198 |
children | f172a195a8a9 |
comparison
equal
deleted
inserted
replaced
21297:bea2f27524ba | 21298:7e72615e0441 |
---|---|
1604 defaultCtwopts = '-Inline' | 1604 defaultCtwopts = '-Inline' |
1605 | 1605 |
1606 parser = ArgumentParser(prog='mx ctw') | 1606 parser = ArgumentParser(prog='mx ctw') |
1607 parser.add_argument('--ctwopts', action='store', help='space separated Graal options used for CTW compilations (default: --ctwopts="' + defaultCtwopts + '")', default=defaultCtwopts, metavar='<options>') | 1607 parser.add_argument('--ctwopts', action='store', help='space separated Graal options used for CTW compilations (default: --ctwopts="' + defaultCtwopts + '")', default=defaultCtwopts, metavar='<options>') |
1608 parser.add_argument('--jar', action='store', help='jar of classes to compiled instead of rt.jar', metavar='<path>') | 1608 parser.add_argument('--jar', action='store', help='jar of classes to compiled instead of rt.jar', metavar='<path>') |
1609 parser.add_argument('vmargs', nargs=REMAINDER, metavar='VM options...') | |
1610 | 1609 |
1611 args, vmargs = parser.parse_known_args(args) | 1610 args, vmargs = parser.parse_known_args(args) |
1612 | 1611 |
1613 if args.ctwopts: | 1612 if args.ctwopts: |
1614 vmargs.append('-G:CompileTheWorldConfig=' + args.ctwopts) | 1613 vmargs.append('-G:CompileTheWorldConfig=' + args.ctwopts) |