summaryrefslogtreecommitdiff
path: root/runtime/stack_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/stack_map.h')
-rw-r--r--runtime/stack_map.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/stack_map.h b/runtime/stack_map.h
index b438074d6d..c088eb6f80 100644
--- a/runtime/stack_map.h
+++ b/runtime/stack_map.h
@@ -443,7 +443,8 @@ class CodeInfo {
ALWAYS_INLINE static QuickMethodFrameInfo DecodeFrameInfo(const uint8_t* code_info_data) {
BitMemoryReader reader(code_info_data);
- std::array<uint32_t, kNumHeaders> header = reader.ReadInterleavedVarints<kNumHeaders>();
+ uint32_t header[4]; // flags, packed_frame_size, core_spill_mask, fp_spill_mask.
+ reader.ReadVarints(header);
return QuickMethodFrameInfo(header[1] * kStackAlignment, header[2], header[3]);
}