Mercurial > hg > truffle
comparison mx/mx_graal.py @ 21349:25bd9e2320de
Merge
author | Stefan Anzinger <stefan.anzinger@oracle.com> |
---|---|
date | Tue, 12 May 2015 20:56:04 +0200 |
parents | 326a1f374198 |
children | f172a195a8a9 |
comparison
equal
deleted
inserted
replaced
21348:d24e4f349cbc | 21349:25bd9e2320de |
---|---|
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) |