diff options
| author | 2015-03-18 10:48:19 +0000 | |
|---|---|---|
| committer | 2015-03-18 10:48:19 +0000 | |
| commit | 0ced884ac5b2ce50a8bfe738f654155c51b2766f (patch) | |
| tree | 0afc979e047848d486b2b4f14d584afa42bb82cb /compiler/optimizing/stack_map_stream.h | |
| parent | d6f00810e2419489f526e4f0c94cb13318a365fd (diff) | |
| parent | aec8f930571ce10d6ce9a4249c45866a7f213397 (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.h | 4 |
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 { |