summaryrefslogtreecommitdiffstats
path: root/compiler/oat_test.cc
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-05-14 17:37:41 -0700
committerAndreas Gampe <agampe@google.com>2014-05-14 17:43:12 -0700
commita2eca52f55e545c6f90807ce8bbf778495c4a6f6 (patch)
tree67e2a2a07513e9b0d1945f9dfd13bdb9398be141 /compiler/oat_test.cc
parent23d2b95b1d1c92898336a4ebf5c0281f79fb7581 (diff)
downloadart-a2eca52f55e545c6f90807ce8bbf778495c4a6f6.tar.gz
art-a2eca52f55e545c6f90807ce8bbf778495c4a6f6.tar.bz2
art-a2eca52f55e545c6f90807ce8bbf778495c4a6f6.zip
ART: Fix oat_test for 64b
The QuickEntryPoints structure has a size dependent on the pointer size. Change-Id: I369353200430a6ccaccded7589105312fd411b97
Diffstat (limited to 'compiler/oat_test.cc')
-rw-r--r--compiler/oat_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/oat_test.cc b/compiler/oat_test.cc
index 558ff1f3dc..ce35d0fae2 100644
--- a/compiler/oat_test.cc
+++ b/compiler/oat_test.cc
@@ -180,7 +180,7 @@ TEST_F(OatTest, OatHeaderSizeCheck) {
EXPECT_EQ(80U, sizeof(OatHeader));
EXPECT_EQ(8U, sizeof(OatMethodOffsets));
EXPECT_EQ(24U, sizeof(OatQuickMethodHeader));
- EXPECT_EQ(320U, sizeof(QuickEntryPoints));
+ EXPECT_EQ(80 * GetInstructionSetPointerSize(kRuntimeISA), sizeof(QuickEntryPoints));
}
TEST_F(OatTest, OatHeaderIsValid) {