Home
last modified time | relevance | path

Searched refs:cache_new (Results 1 – 1 of 1) sorted by relevance

/art/runtime/verifier/
Dreg_type_test.cc495 RegTypeCache cache_new(Runtime::Current()->GetClassLinker(), true, allocator); in TEST_F() local
496 const RegType& string = cache_new.JavaLangString(); in TEST_F()
497 const RegType& Object = cache_new.JavaLangObject(true); in TEST_F()
498 EXPECT_TRUE(string.Merge(Object, &cache_new, /* verifier= */ nullptr).IsJavaLangObject()); in TEST_F()
500 const RegType& ref_type_0 = cache_new.FromDescriptor(nullptr, "Ljava/lang/DoesNotExist;", true); in TEST_F()
502 …const RegType& ref_type_1 = cache_new.FromDescriptor(nullptr, "Ljava/lang/DoesNotExistToo;", true); in TEST_F()
505 const RegType& merged = ref_type_1.Merge(ref_type_0, &cache_new, /* verifier= */ nullptr); in TEST_F()
520 RegTypeCache cache_new(Runtime::Current()->GetClassLinker(), true, allocator); in TEST_F() local
523 const RegType& float_type = cache_new.Float(); in TEST_F()
524 const RegType& precise_cst = cache_new.FromCat1Const(kTestConstantValue, true); in TEST_F()
[all …]