summaryrefslogtreecommitdiff
path: root/runtime/stack_map.h
diff options
context:
space:
mode:
author Raylin Hsu <raylinhsu@google.com> 2019-06-20 01:41:31 +0000
committer Raylin Hsu <raylinhsu@google.com> 2019-06-20 01:43:54 +0000
commit1b2a49b7aba39ed6663a69dfdf63d0df069f0d42 (patch)
tree15a22f6390135758cb9eeaa1ef816f4634cc70f9 /runtime/stack_map.h
parenta2b34561a7faca95d0a4f8194ad155798e238e37 (diff)
Revert "Stack maps: Interleave consecutive varints."
This reverts commit a2b34561a7faca95d0a4f8194ad155798e238e37. Reason for revert: <INSERT REASONING HERE> Change-Id: Ie5b220e429e101bb5fa2606665a9c8cb64308ad3 Bug: 135638469
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]);
}