summaryrefslogtreecommitdiffstats
path: root/runtime/stack.h
diff options
context:
space:
mode:
authorSebastien Hertz <shertz@google.com>2013-10-04 10:40:37 +0200
committerSebastien Hertz <shertz@google.com>2013-10-09 19:48:54 +0200
commit74e256b8e442417d4ba2054c771c1e4f41062768 (patch)
tree8060d58f101c7d0ea7493728c658aad7bfa535d3 /runtime/stack.h
parent9f69b62e6b009b29e6420c49e7444e91466a6a33 (diff)
downloadart-74e256b8e442417d4ba2054c771c1e4f41062768.zip
art-74e256b8e442417d4ba2054c771c1e4f41062768.tar.gz
art-74e256b8e442417d4ba2054c771c1e4f41062768.tar.bz2
Add missing references.
This mainly avoids implicit copies when extracting an object from a container. Change-Id: If4d0e6153e8c2b48345fde5bb546b4c65649fcf3
Diffstat (limited to 'runtime/stack.h')
-rw-r--r--runtime/stack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/stack.h b/runtime/stack.h
index 700b7f1..a4b93bc 100644
--- a/runtime/stack.h
+++ b/runtime/stack.h
@@ -567,7 +567,7 @@ class StackVisitor {
static void DescribeStack(Thread* thread) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
private:
- instrumentation::InstrumentationStackFrame GetInstrumentationStackFrame(uint32_t depth) const;
+ instrumentation::InstrumentationStackFrame& GetInstrumentationStackFrame(uint32_t depth) const;
void SanityCheckFrame() const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);