You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by gs...@apache.org on 2006/12/27 16:41:19 UTC
svn commit: r490519 -
/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/parse_arguments.cpp
Author: gshimansky
Date: Wed Dec 27 07:41:19 2006
New Revision: 490519
URL: http://svn.apache.org/viewvc?view=rev&rev=490519
Log:
Enabled -Xdumpfile: option
Modified:
harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/parse_arguments.cpp
Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/parse_arguments.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/parse_arguments.cpp?view=diff&rev=490519&r1=490518&r2=490519
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/parse_arguments.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/parse_arguments.cpp Wed Dec 27 07:41:19 2006
@@ -482,7 +482,7 @@
else if (strcmp(option, "-Xno_parallel_jit") == 0) {
parallel_jit = false;
}
- else if (strcmp(option, "-Xdumpfile:") == 0) {
+ else if (begins_with(option, "-Xdumpfile:")) {
const char* arg = option + strlen("-Xdumpfile:");
dump_file_name = arg;
}