summaryrefslogtreecommitdiff
path: root/runtime/runtime_common.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2017-06-01 13:45:54 -0700
committer Andreas Gampe <agampe@google.com> 2017-06-02 08:24:02 -0700
commitb486a98aadc95d80548953410cf23edba62259fa (patch)
treeb113b7d50a4a015502873b7742c9ece00d293e84 /runtime/runtime_common.cc
parent1656ca9e6996cb555b4463e5efd4bd7e3f4fb816 (diff)
ART: Introduce thread-current-inl.h
Factor out Thread::Current() code into its own -inl file to remove transitive includes. This requires at the same time correcting mutex.h, i.e., moving some functions into mutex-inl.h. Test: m test-art-host Change-Id: I88f888b604e0897368d9b483edce6ce4332dd9c9
Diffstat (limited to 'runtime/runtime_common.cc')
-rw-r--r--runtime/runtime_common.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/runtime_common.cc b/runtime/runtime_common.cc
index 5511fb7b6d..940e4611f6 100644
--- a/runtime/runtime_common.cc
+++ b/runtime/runtime_common.cc
@@ -29,7 +29,8 @@
#include "base/macros.h"
#include "base/mutex.h"
#include "native_stack_dump.h"
-#include "thread-inl.h"
+#include "runtime.h"
+#include "thread-current-inl.h"
#include "thread_list.h"
namespace art {