summaryrefslogtreecommitdiff
path: root/cmdline/unit.h
diff options
context:
space:
mode:
author Roland Levillain <rpl@google.com> 2018-05-22 16:46:43 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-05-22 16:46:43 +0000
commitf31343f1eab771010b3f293366149d2524f30902 (patch)
tree5187b2bceee4c7d5347750dc6ba0020172d5ef51 /cmdline/unit.h
parente816389b61d17b9a82d8e61426ddfcce20e1238c (diff)
parent8268cb677bd92bfbcfec7e803775c29687494e53 (diff)
Merge "Remove support for Valgrind in ART."
Diffstat (limited to 'cmdline/unit.h')
-rw-r--r--cmdline/unit.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmdline/unit.h b/cmdline/unit.h
index ad6a03d12f..f73981fbd3 100644
--- a/cmdline/unit.h
+++ b/cmdline/unit.h
@@ -21,8 +21,9 @@ namespace art {
// Used for arguments that simply indicate presence (e.g. "-help") without any values.
struct Unit {
- // Avoid 'Conditional jump or move depends on uninitialised value(s)' errors
- // when running valgrind by specifying a user-defined constructor.
+ // Historical note: We specified a user-defined constructor to avoid
+ // 'Conditional jump or move depends on uninitialised value(s)' errors
+ // when running Valgrind.
Unit() {}
Unit(const Unit&) = default;
~Unit() {}