projects
/
cacao.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
290f4fa
)
* src/vm/vm.cpp (OPT_XCHECK_JNI): New option.
author
Christian Thalinger
<twisti@complang.tuwien.ac.at>
Mon, 20 Oct 2008 14:09:47 +0000
(16:09 +0200)
committer
Christian Thalinger
<twisti@complang.tuwien.ac.at>
Mon, 20 Oct 2008 14:09:47 +0000
(16:09 +0200)
(VM::VM): Handle new option.
src/vm/vm.cpp
patch
|
blob
|
history
diff --git
a/src/vm/vm.cpp
b/src/vm/vm.cpp
index 5610a49fc12bf112355ba225824f25062c458f81..b5a4cc27e14ed54b9a4330ed86e12fd25f0e43a4 100644
(file)
--- a/
src/vm/vm.cpp
+++ b/
src/vm/vm.cpp
@@
-189,6
+189,8
@@
enum {
OPT_MS,
OPT_MX,
+ OPT_XCHECK_JNI,
+
/* CACAO options */
OPT_VERBOSE1,
@@
-379,6
+381,8
@@
opt_struct opts[] = {
{ "Xss", true, OPT_SS },
{ "ss", true, OPT_SS },
+ { "Xcheck:jni", false, OPT_XCHECK_JNI },
+
#if defined(ENABLE_PROFILING)
{ "Xprof:", true, OPT_PROF_OPTION },
{ "Xprof", false, OPT_PROF },
@@
-979,6
+983,10
@@
VM::VM(JavaVMInitArgs* vm_args)
}
break;
+ case OPT_XCHECK_JNI:
+ // HotSpot compatibility option.
+ break;
+
case OPT_VERBOSE1:
opt_verbose = true;
break;