From cf93a5cd9c978f59113d42f9f642fab5e2cc8877 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Tue, 16 Jun 2015 11:33:24 +0000 Subject: Revert "Revert "ART: Implement literal pool for arm, fix branch fixup."" This reverts commit fbeb4aede0ddc5b1e6a5a3a40cc6266fe8518c98. Adjust block label positions. Bad catch block labels were the reason for the revert. Change-Id: Ia6950d639d46b9da6b07f3ade63ab46d03d63310 --- compiler/optimizing/stack_map_stream.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'compiler/optimizing/stack_map_stream.h') 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. -- cgit v1.2.3-59-g8ed1b