Home
last modified time | relevance | path

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

/art/compiler/
Doat_test.cc39 const OatFile::OatMethod& oat_method, in CheckMethod() argument
47 EXPECT_TRUE(oat_method.GetQuickCode() == NULL) << PrettyMethod(method) << " " in CheckMethod()
48 << oat_method.GetQuickCode(); in CheckMethod()
49 EXPECT_TRUE(oat_method.GetPortableCode() == NULL) << PrettyMethod(method) << " " in CheckMethod()
50 << oat_method.GetPortableCode(); in CheckMethod()
51 EXPECT_EQ(oat_method.GetFrameSizeInBytes(), 0U); in CheckMethod()
52 EXPECT_EQ(oat_method.GetCoreSpillMask(), 0U); in CheckMethod()
53 EXPECT_EQ(oat_method.GetFpSpillMask(), 0U); in CheckMethod()
55 const void* quick_oat_code = oat_method.GetQuickCode(); in CheckMethod()
57 EXPECT_EQ(oat_method.GetFrameSizeInBytes(), compiled_method->GetFrameSizeInBytes()); in CheckMethod()
[all …]
Dcommon_compiler_test.cc213 OatFile::OatMethod oat_method = CreateOatMethod(method_code, nullptr); in MakeExecutable() local
214 oat_method.LinkMethod(method); in MakeExecutable()
225 OatFile::OatMethod oat_method = CreateOatMethod(method_code, nullptr); in MakeExecutable() local
226 oat_method.LinkMethod(method); in MakeExecutable()
231 OatFile::OatMethod oat_method = CreateOatMethod(method_code, nullptr); in MakeExecutable() local
232 oat_method.LinkMethod(method); in MakeExecutable()
/art/oatdump/
Doatdump.cc343 void AddOffsets(const OatFile::OatMethod& oat_method) { in AddOffsets() argument
344 uint32_t code_offset = oat_method.GetCodeOffset(); in AddOffsets()
349 offsets_.insert(oat_method.GetMappingTableOffset()); in AddOffsets()
350 offsets_.insert(oat_method.GetVmapTableOffset()); in AddOffsets()
351 offsets_.insert(oat_method.GetNativeGcMapOffset()); in AddOffsets()
467 const OatFile::OatMethod oat_method = oat_class.GetOatMethod(class_method_index); in DumpOatMethod() local
483 uint32_t code_offset = oat_method.GetCodeOffset(); in DumpOatMethod()
485 uint32_t aligned_code_begin = AlignCodeOffset(oat_method.GetCodeOffset()); in DumpOatMethod()
496 *indent2_os << StringPrintf("%p ", oat_method.GetNativeGcMap()); in DumpOatMethod()
498 uint32_t gc_map_offset = oat_method.GetNativeGcMapOffset(); in DumpOatMethod()
[all …]
/art/runtime/
Dclass_linker.cc2365 bool ClassLinker::FindOatMethodFor(mirror::ArtMethod* method, OatFile::OatMethod* oat_method) { in FindOatMethodFor() argument
2366 DCHECK(oat_method != nullptr); in FindOatMethodFor()
2402 *oat_method = oat_class.GetOatMethod(oat_method_index); in FindOatMethodFor()
2412 OatFile::OatMethod oat_method; in GetQuickOatCodeFor() local
2414 if (FindOatMethodFor(method, &oat_method)) { in GetQuickOatCodeFor()
2415 result = oat_method.GetQuickCode(); in GetQuickOatCodeFor()
2443 OatFile::OatMethod oat_method; in GetPortableOatCodeFor() local
2446 if (FindOatMethodFor(method, &oat_method)) { in GetPortableOatCodeFor()
2447 result = oat_method.GetPortableCode(); in GetPortableOatCodeFor()
2448 quick_code = oat_method.GetQuickCode(); in GetPortableOatCodeFor()
[all …]
Dclass_linker.h406 bool FindOatMethodFor(mirror::ArtMethod* method, OatFile::OatMethod* oat_method)