Fix 065 and 066 tests (NULL Method bug). Don't use Method in LLVM method compiler.
Change-Id: I98e4e9b329448b1b72c3b5c9d712ea68dab624bd
diff --git a/src/dex_file.h b/src/dex_file.h
index e6c8a94..02d0b27 100644
--- a/src/dex_file.h
+++ b/src/dex_file.h
@@ -755,6 +755,9 @@
// This is used by runtime; therefore use art::Method not art::DexFile::Method.
int32_t GetLineNumFromPC(const Method* method, uint32_t rel_pc) const;
+ int32_t GetLineNumFromPC(bool is_static, uint32_t method_idx,
+ const CodeItem* code_item, uint32_t rel_pc) const;
+
void DecodeDebugInfo(const CodeItem* code_item, bool is_static, uint32_t method_idx,
DexDebugNewPositionCb position_cb, DexDebugNewLocalCb local_cb,
void* context) const;