Create templates for primitive types.
In preparation to move static fields into their own array
members off of class.
Change-Id: Ic524e12952af985d8ae16a05b5f4e50676a9c136
diff --git a/src/class_linker_test.cc b/src/class_linker_test.cc
index 5951c0b..5e48921 100644
--- a/src/class_linker_test.cc
+++ b/src/class_linker_test.cc
@@ -143,11 +143,13 @@
for (size_t i = 0; i < klass->NumInstanceFields(); i++) {
InstanceField* field = klass->GetInstanceField(i);
EXPECT_TRUE(field != NULL);
+ EXPECT_FALSE(field->IsStatic());
}
for (size_t i = 0; i < klass->NumStaticFields(); i++) {
StaticField* field = klass->GetStaticField(i);
EXPECT_TRUE(field != NULL);
+ EXPECT_TRUE(field->IsStatic());
}
// Confirm that all instances fields are packed together at the start
@@ -368,4 +370,4 @@
EXPECT_NE(MyClass_1, MyClass_2);
}
-} // namespace art
+}// namespace art