From 6b4ef025af12b158d117fc80fc79acf620f411a0 Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Sun, 23 Oct 2011 14:59:04 -0700 Subject: Make ResolveField not rely on Field::GetType resolution Change-Id: I10f4a874809ac9db2cd54e200cf10eb7c8979fce --- src/compiler_test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/compiler_test.cc') diff --git a/src/compiler_test.cc b/src/compiler_test.cc index 35da6f2ded..d1b377a49a 100644 --- a/src/compiler_test.cc +++ b/src/compiler_test.cc @@ -91,18 +91,18 @@ TEST_F(CompilerTest, DISABLED_LARGE_CompileDexLibCore) { for (size_t i = 0; i < dex_cache->NumResolvedMethods(); i++) { Method* method = dex_cache->GetResolvedMethod(i); EXPECT_TRUE(method != NULL) << "method_idx=" << i - << " " << dex->GetMethodClassDescriptor(dex->GetMethodId(i)) + << " " << dex->GetMethodDeclaringClassDescriptor(dex->GetMethodId(i)) << " " << dex->GetMethodName(dex->GetMethodId(i)); EXPECT_TRUE(method->GetCode() != NULL) << "method_idx=" << i << " " - << dex->GetMethodClassDescriptor(dex->GetMethodId(i)) + << dex->GetMethodDeclaringClassDescriptor(dex->GetMethodId(i)) << " " << dex->GetMethodName(dex->GetMethodId(i)); } EXPECT_EQ(dex->NumFieldIds(), dex_cache->NumResolvedFields()); for (size_t i = 0; i < dex_cache->NumResolvedFields(); i++) { Field* field = dex_cache->GetResolvedField(i); EXPECT_TRUE(field != NULL) << "field_idx=" << i - << " " << dex->GetFieldClassDescriptor(dex->GetFieldId(i)) + << " " << dex->GetFieldDeclaringClassDescriptor(dex->GetFieldId(i)) << " " << dex->GetFieldName(dex->GetFieldId(i)); } -- cgit v1.2.3-59-g8ed1b