summaryrefslogtreecommitdiff
path: root/compiler/optimizing/stack_map_stream.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-03-18 10:48:19 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-03-18 10:48:19 +0000
commit0ced884ac5b2ce50a8bfe738f654155c51b2766f (patch)
tree0afc979e047848d486b2b4f14d584afa42bb82cb /compiler/optimizing/stack_map_stream.h
parentd6f00810e2419489f526e4f0c94cb13318a365fd (diff)
parentaec8f930571ce10d6ce9a4249c45866a7f213397 (diff)
Merge "StackMap: Always load and store unalign."
Diffstat (limited to 'compiler/optimizing/stack_map_stream.h')
-rw-r--r--compiler/optimizing/stack_map_stream.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/optimizing/stack_map_stream.h b/compiler/optimizing/stack_map_stream.h
index 63a02862b4..e1a5afe0e7 100644
--- a/compiler/optimizing/stack_map_stream.h
+++ b/compiler/optimizing/stack_map_stream.h
@@ -105,8 +105,8 @@ class StackMapStream : public ValueObject {
+ ComputeStackMapsSize()
+ ComputeDexRegisterMapsSize()
+ ComputeInlineInfoSize();
- // On ARM, CodeInfo data must be 4-byte aligned.
- return RoundUp(size, kWordAlignment);
+ // Note: use RoundUp to word-size here if you want CodeInfo objects to be word aligned.
+ return size;
}
size_t ComputeStackMaskSize() const {