OSDN Git Service

Use the write entrypoint for stub_test.
authorNicolas Geoffray <ngeoffray@google.com>
Fri, 3 Feb 2017 13:27:33 +0000 (13:27 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Fri, 3 Feb 2017 13:27:33 +0000 (13:27 +0000)
Test: stub_test
Change-Id: I050d185e96c84e1540958a364f26920336c444bf

runtime/arch/stub_test.cc

index 9e75cba..0bf08a6 100644 (file)
@@ -1051,7 +1051,7 @@ TEST_F(StubTest, AllocObjectArray) {
     // resolved/initialized cases)
     size_t result = Invoke3(reinterpret_cast<size_t>(c.Get()), 10U,
                             reinterpret_cast<size_t>(nullptr),
-                            StubTest::GetEntrypoint(self, kQuickAllocArrayResolved),
+                            StubTest::GetEntrypoint(self, kQuickAllocArrayResolved32),
                             self);
     EXPECT_FALSE(self->IsExceptionPending()) << mirror::Object::PrettyTypeOf(self->GetException());
     EXPECT_NE(reinterpret_cast<size_t>(nullptr), result);
@@ -1071,7 +1071,7 @@ TEST_F(StubTest, AllocObjectArray) {
     size_t result = Invoke3(reinterpret_cast<size_t>(c.Get()),
                             GB,  // that should fail...
                             reinterpret_cast<size_t>(nullptr),
-                            StubTest::GetEntrypoint(self, kQuickAllocArrayResolved),
+                            StubTest::GetEntrypoint(self, kQuickAllocArrayResolved32),
                             self);
 
     EXPECT_TRUE(self->IsExceptionPending());