diff options
author | Vladimir Marko <vmarko@google.com> | 2015-05-29 15:50:18 +0100 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2015-06-15 15:13:28 +0100 |
commit | f38caa68cce551fb153dff37d01db518e58ed00f (patch) | |
tree | 723612f20666f429b7c67321f0353d57425b1c63 /compiler/optimizing/stack_map_stream.h | |
parent | bd8c725e465cc7f44062745a6f2b73248f5159ed (diff) |
ART: Implement literal pool for arm, fix branch fixup.
Change-Id: Iecc91418bb4ee1c957f42fefb737d0ee2ba960e7
Diffstat (limited to 'compiler/optimizing/stack_map_stream.h')
-rw-r--r-- | compiler/optimizing/stack_map_stream.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/optimizing/stack_map_stream.h b/compiler/optimizing/stack_map_stream.h index bc3653d7ea..550ed70e0f 100644 --- a/compiler/optimizing/stack_map_stream.h +++ b/compiler/optimizing/stack_map_stream.h @@ -134,6 +134,11 @@ class StackMapStream : public ValueObject { return stack_maps_.GetRawStorage()[i]; } + void SetStackMapNativePcOffset(size_t i, uint32_t native_pc_offset) { + DCHECK_LT(i, stack_maps_.Size()); + stack_maps_.GetRawStorage()[i].native_pc_offset = native_pc_offset; + } + uint32_t ComputeMaxNativePcOffset() const; // Prepares the stream to fill in a memory region. Must be called before FillIn. |