summaryrefslogtreecommitdiffstats
path: root/runtime/parsed_options.cc
diff options
context:
space:
mode:
authorHiroshi Yamauchi <yamauchi@google.com>2014-03-27 21:07:51 -0700
committerHiroshi Yamauchi <yamauchi@google.com>2014-03-27 21:07:51 -0700
commitd5307ec41c8344be0c32273ec4f574064036187d (patch)
tree9c80a692e2b142b3149b6efb660065fc73170a58 /runtime/parsed_options.cc
parent0fd52d5d0cf01e5a109851098a43a79f5615dc0f (diff)
downloadart-d5307ec41c8344be0c32273ec4f574064036187d.zip
art-d5307ec41c8344be0c32273ec4f574064036187d.tar.gz
art-d5307ec41c8344be0c32273ec4f574064036187d.tar.bz2
An empty collector skeleton for a read barrier-based collector.
Bug: 12687968 Change-Id: Ic2a3a7b9943ca64e7f60f4d6ed552a316ea4a6f3
Diffstat (limited to 'runtime/parsed_options.cc')
-rw-r--r--runtime/parsed_options.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/parsed_options.cc b/runtime/parsed_options.cc
index 9b1c013..e2086f1 100644
--- a/runtime/parsed_options.cc
+++ b/runtime/parsed_options.cc
@@ -107,6 +107,8 @@ static gc::CollectorType ParseCollectorType(const std::string& option) {
return gc::kCollectorTypeSS;
} else if (option == "GSS") {
return gc::kCollectorTypeGSS;
+ } else if (option == "CC") {
+ return gc::kCollectorTypeCC;
} else {
return gc::kCollectorTypeNone;
}