summaryrefslogtreecommitdiffstats
path: root/runtime/stack_map.h
diff options
context:
space:
mode:
authorRoland Levillain <rpl@google.com>2015-03-06 11:47:03 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-03-06 11:47:03 +0000
commitb341b70b2418922d9b792cdba96d22bece87c55a (patch)
tree143fcb9aa30dfd6f709c4b1d38f8506c164f6cb2 /runtime/stack_map.h
parentb265262780ef7384bdcd1413cde2a59f7594cec9 (diff)
parent12baf476389359d54ae04d7898190ef6f81ab0b2 (diff)
downloadart-b341b70b2418922d9b792cdba96d22bece87c55a.tar.gz
art-b341b70b2418922d9b792cdba96d22bece87c55a.tar.bz2
art-b341b70b2418922d9b792cdba96d22bece87c55a.zip
Merge "Extend compiler/optimizing/stack_map_test.cc."
Diffstat (limited to 'runtime/stack_map.h')
-rw-r--r--runtime/stack_map.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/runtime/stack_map.h b/runtime/stack_map.h
index ec37699935..6d996722b4 100644
--- a/runtime/stack_map.h
+++ b/runtime/stack_map.h
@@ -146,13 +146,14 @@ class DexRegisterMap {
return sizeof(LocationKind) + sizeof(int32_t);
}
- private:
+ size_t Size() const {
+ return region_.size();
+ }
+
static constexpr int kFixedSize = 0;
+ private:
MemoryRegion region_;
-
- friend class CodeInfo;
- friend class StackMapStream;
};
/**