diff options
author | Igor Murashkin <iam@google.com> | 2015-01-26 10:55:53 -0800 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2015-02-04 13:29:19 -0800 |
commit | aaebaa0121be3b9d9f13630585304482cbcaeb4b (patch) | |
tree | 0f47257e497fdf920c8d703d2d00adab53934a76 /runtime/java_vm_ext.h | |
parent | babecc483276b46d84cb83d4f01e577228827305 (diff) | |
download | android_art-aaebaa0121be3b9d9f13630585304482cbcaeb4b.tar.gz android_art-aaebaa0121be3b9d9f13630585304482cbcaeb4b.tar.bz2 android_art-aaebaa0121be3b9d9f13630585304482cbcaeb4b.zip |
art: Refactor RuntimeOptions/ParsedOptions
Refactor the RuntimeOptions to be a
type-safe map (VariantMap, see runtime_options.h) and the ParsedOptions
to delegate the parsing to CmdlineParser (see cmdline/cmdline_parser.h).
This is the start of a command line parsing refactor, and may include
more in the future (dex2oat, patchoat, etc).
For more details of the command line parsing generator usage see cmdline/README.md
Change-Id: Ic67c6bca5e1f33bf2ec60e2e3ff8c366bab91563
Diffstat (limited to 'runtime/java_vm_ext.h')
-rw-r--r-- | runtime/java_vm_ext.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/java_vm_ext.h b/runtime/java_vm_ext.h index c3f0a82e66..037fbe5f4b 100644 --- a/runtime/java_vm_ext.h +++ b/runtime/java_vm_ext.h @@ -34,10 +34,11 @@ namespace mirror { class Libraries; class ParsedOptions; class Runtime; +struct RuntimeArgumentMap; class JavaVMExt : public JavaVM { public: - JavaVMExt(Runtime* runtime, ParsedOptions* options); + JavaVMExt(Runtime* runtime, const RuntimeArgumentMap& runtime_options); ~JavaVMExt(); bool ForceCopy() const { |