summaryrefslogtreecommitdiffstats
path: root/runtime/reflection.cc
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-12-11 14:34:28 -0800
committerElliott Hughes <enh@google.com>2014-12-12 09:33:34 -0800
commit956af0f0cb05422e38c1d22cbef309d16b8a1a12 (patch)
treeb558c804d206dad8da648b815750f1b3c97610ae /runtime/reflection.cc
parent407d77f344cfbdbbfb50531c5f0766bc0892e2fe (diff)
downloadandroid_art-956af0f0cb05422e38c1d22cbef309d16b8a1a12.tar.gz
android_art-956af0f0cb05422e38c1d22cbef309d16b8a1a12.tar.bz2
android_art-956af0f0cb05422e38c1d22cbef309d16b8a1a12.zip
Remove portable.
Change-Id: I3bf3250fa866fd2265f1b115d52fa5dedc48a7fc
Diffstat (limited to 'runtime/reflection.cc')
-rw-r--r--runtime/reflection.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/runtime/reflection.cc b/runtime/reflection.cc
index 85f9938934..2aeb92d49a 100644
--- a/runtime/reflection.cc
+++ b/runtime/reflection.cc
@@ -77,12 +77,6 @@ class ArgArray {
}
void AppendWide(uint64_t value) {
- // For ARM and MIPS portable, align wide values to 8 bytes (ArgArray starts at offset of 4).
-#if defined(ART_USE_PORTABLE_COMPILER) && (defined(__arm__) || defined(__mips__))
- if (num_bytes_ % 8 == 0) {
- num_bytes_ += 4;
- }
-#endif
arg_array_[num_bytes_ / 4] = value;
arg_array_[(num_bytes_ / 4) + 1] = value >> 32;
num_bytes_ += 8;