diff options
author | 2016-09-02 12:38:38 +0100 | |
---|---|---|
committer | 2016-09-02 15:15:28 +0100 | |
commit | 3a21e386fa55a8b86dffa5250985b263fcfd2155 (patch) | |
tree | ce6fecaae067f86e094ae7844ee5fa4ae8ee63e8 /runtime/stack.h | |
parent | f94a4cf18946bda4a4f19378436d2bf131a492ca (diff) |
Clean up some includes.
Remove some unnecessary includes from header files, replace
others with forward references and add includes to source
files as needed. Reduce dependency on stack.h by pulling
StackReference<> out to its own file.
Test: m test-art-host
Change-Id: I0fb182145e328870cbd918b0ef6ae2950223c1b2
Diffstat (limited to 'runtime/stack.h')
-rw-r--r-- | runtime/stack.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/runtime/stack.h b/runtime/stack.h index 5dee147d6f..e9ed497094 100644 --- a/runtime/stack.h +++ b/runtime/stack.h @@ -25,9 +25,9 @@ #include "base/mutex.h" #include "dex_file.h" #include "gc_root.h" -#include "mirror/object_reference.h" #include "quick/quick_method_frame_info.h" #include "read_barrier.h" +#include "stack_reference.h" #include "verify_object.h" namespace art { @@ -45,6 +45,7 @@ class ScopedObjectAccess; class ShadowFrame; class StackVisitor; class Thread; +union JValue; // The kind of vreg being accessed in calls to Set/GetVReg. enum VRegKind { @@ -61,11 +62,6 @@ enum VRegKind { }; std::ostream& operator<<(std::ostream& os, const VRegKind& rhs); -// A reference from the shadow stack to a MirrorType object within the Java heap. -template<class MirrorType> -class MANAGED StackReference : public mirror::CompressedReference<MirrorType> { -}; - // Forward declaration. Just calls the destructor. struct ShadowFrameDeleter; using ShadowFrameAllocaUniquePtr = std::unique_ptr<ShadowFrame, ShadowFrameDeleter>; |