diff options
| author | 2015-06-17 08:45:51 +0000 | |
|---|---|---|
| committer | 2015-06-17 08:45:52 +0000 | |
| commit | 088bd0d28acb70302d20f6e19a9db7f0536c09ee (patch) | |
| tree | f1c8201a5704b984569b839695a50b9423247ae7 /compiler/optimizing/stack_map_stream.h | |
| parent | b3daa2312747eaf852c948c189ca0745db116447 (diff) | |
| parent | cf93a5cd9c978f59113d42f9f642fab5e2cc8877 (diff) | |
Merge "Revert "Revert "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.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. |