summaryrefslogtreecommitdiffstats
path: root/runtime/dex_method_iterator_test.cc
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-10-21 23:31:19 -0700
committerIan Rogers <irogers@google.com>2014-10-22 12:06:23 -0700
commitc7dd295a4e0cc1d15c0c96088e55a85389bade74 (patch)
tree0c08a2236bc9ba5d9a4dc75d4dd0ed2d76f8f1c6 /runtime/dex_method_iterator_test.cc
parent94e5af8602150efa95bde35cc9be9891ddf30135 (diff)
downloadart-c7dd295a4e0cc1d15c0c96088e55a85389bade74.zip
art-c7dd295a4e0cc1d15c0c96088e55a85389bade74.tar.gz
art-c7dd295a4e0cc1d15c0c96088e55a85389bade74.tar.bz2
Tidy up logging.
Move gVerboseMethods to CompilerOptions. Now "--verbose-methods=" option to dex2oat rather than runtime argument "-verbose-methods:". Move ToStr and Dumpable out of logging.h, move LogMessageData into logging.cc except for a forward declaration. Remove ConstDumpable as Dump methods are all const (and make this so if not currently true). Make LogSeverity an enum and improve compile time assertions and type checking. Remove log_severity.h that's only used in logging.h. With system headers gone from logging.h, go add to .cc files missing system header includes. Also, make operator new in ValueObject private for compile time instantiation checking. Change-Id: I3228f614500ccc9b14b49c72b9821c8b0db3d641
Diffstat (limited to 'runtime/dex_method_iterator_test.cc')
-rw-r--r--runtime/dex_method_iterator_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/dex_method_iterator_test.cc b/runtime/dex_method_iterator_test.cc
index b8f180b..b2b7138 100644
--- a/runtime/dex_method_iterator_test.cc
+++ b/runtime/dex_method_iterator_test.cc
@@ -39,7 +39,7 @@ TEST_F(DexMethodIteratorTest, Basic) {
InvokeType invoke_type = it.GetInvokeType();
uint32_t method_idx = it.GetMemberIndex();
if (false) {
- LG << invoke_type << " " << PrettyMethod(method_idx, dex_file);
+ LOG(INFO) << invoke_type << " " << PrettyMethod(method_idx, dex_file);
}
it.Next();
}