commit | 660188264dee3c8f3510e2e24c11816c6b60f197 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Mon May 05 20:47:19 2014 -0700 |
committer | Andreas Gampe <agampe@google.com> | Mon May 05 20:47:19 2014 -0700 |
tree | cd18ee6c9328650110f06d14905468ea320342b4 | |
parent | 2a12ad460af139a03c3e9bf5fc7886a7521b333e [diff] [blame] |
ART: Use utils.h::RoundUp instead of explicit bit-fiddling Change-Id: I249a2cfeb044d3699d02e13d42b8e72518571640
diff --git a/compiler/dex/quick/x86/assemble_x86.cc b/compiler/dex/quick/x86/assemble_x86.cc index 58e2f42..0ce081b 100644 --- a/compiler/dex/quick/x86/assemble_x86.cc +++ b/compiler/dex/quick/x86/assemble_x86.cc
@@ -1388,7 +1388,7 @@ int offset = AssignInsnOffsets(); /* Const values have to be word aligned */ - offset = (offset + 3) & ~3; + offset = RoundUp(offset, 4); /* Set up offsets for literals */ data_offset_ = offset;