summaryrefslogtreecommitdiff
path: root/compiler/optimizing/stack_map_stream.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-06-16 09:06:59 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-06-16 09:07:00 +0000
commite4394f7de28ae0b517daa033749979e46ff676ab (patch)
tree320596587f320a0becda91cfe4fa72c8052fb90a /compiler/optimizing/stack_map_stream.h
parentf6c77d7632bdfe564c2ba61690fecc65f10ea9f6 (diff)
parentf38caa68cce551fb153dff37d01db518e58ed00f (diff)
Merge "ART: Implement literal pool for arm, fix branch fixup."
Diffstat (limited to 'compiler/optimizing/stack_map_stream.h')
-rw-r--r--compiler/optimizing/stack_map_stream.h5
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.