summaryrefslogtreecommitdiff
path: root/compiler/optimizing/stack_map_stream.h
diff options
context:
space:
mode:
authorDavid Srbecky <dsrbecky@google.com>2018-06-13 18:20:45 +0100
committerDavid Srbecky <dsrbecky@google.com>2018-06-14 12:31:44 +0100
commite1402125e8363b49e176c6072893d1c110a05d2f (patch)
tree44ec055be78cdcb8086a598cbf791f8c4627e157 /compiler/optimizing/stack_map_stream.h
parent86decb6a3e3ebba8c3c67bfd25c12d9a85794f65 (diff)
Move some helper methods to DexRegisterLocation.
Test: test-art-host-gtest-stack_map_test Change-Id: I0abab008159db023d531df69214cd3bb8c0639bd
Diffstat (limited to 'compiler/optimizing/stack_map_stream.h')
-rw-r--r--compiler/optimizing/stack_map_stream.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/optimizing/stack_map_stream.h b/compiler/optimizing/stack_map_stream.h
index 02fb6cb434..e3ae8a2178 100644
--- a/compiler/optimizing/stack_map_stream.h
+++ b/compiler/optimizing/stack_map_stream.h
@@ -69,7 +69,9 @@ class StackMapStream : public ValueObject {
uint8_t inlining_depth);
void EndStackMapEntry();
- void AddDexRegisterEntry(DexRegisterLocation::Kind kind, int32_t value);
+ void AddDexRegisterEntry(DexRegisterLocation::Kind kind, int32_t value) {
+ current_dex_registers_.push_back(DexRegisterLocation(kind, value));
+ }
void AddInvoke(InvokeType type, uint32_t dex_method_index);