Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 2906:0017f484608c
Made boolean options more robust to also allow -G:Time or -G:Meter.
author | Thomas Wuerthinger <thomas@wuerthinger.net> |
---|---|
date | Wed, 08 Jun 2011 17:42:07 +0200 |
parents | d577d07cedec |
children | 1305cb3809c1 |
comparison
equal
deleted
inserted
replaced
2905:8681191723f3 | 2906:0017f484608c |
---|---|
2697 sprintf(temp, "%s/graal/com.oracle.max.graal.graph/bin", graal_dir); | 2697 sprintf(temp, "%s/graal/com.oracle.max.graal.graph/bin", graal_dir); |
2698 scp_p->add_prefix(temp); | 2698 scp_p->add_prefix(temp); |
2699 sprintf(temp, "%s/graal/com.oracle.max.graal.graphviz/bin", graal_dir); | 2699 sprintf(temp, "%s/graal/com.oracle.max.graal.graphviz/bin", graal_dir); |
2700 scp_p->add_prefix(temp); | 2700 scp_p->add_prefix(temp); |
2701 *scp_assembly_required_p = true; | 2701 *scp_assembly_required_p = true; |
2702 } else if (match_option(option, "-G:", &tail)) { // -graal:xxxx | 2702 } else if (match_option(option, "-G:", &tail)) { // -G:XXX |
2703 // Option for the graal compiler. | 2703 // Option for the graal compiler. |
2704 if (PrintVMOptions) { | 2704 if (PrintVMOptions) { |
2705 tty->print_cr("graal option %s", tail); | 2705 tty->print_cr("graal option %s", tail); |
2706 } | 2706 } |
2707 Arguments::add_graal_arg(tail); | 2707 Arguments::add_graal_arg(tail); |