Revert "Revert "Revert "Revert "Make dex2dex return a CompiledMethod after quickening.""""
This reverts commit ed6195a514e3253576af27ea9ba13038509d29ac.
Change-Id: Icb58854301e8982147cdebe3edf2e0d9e0a63a56
diff --git a/runtime/oat_file.h b/runtime/oat_file.h
index 1a782de..7c4ef8b 100644
--- a/runtime/oat_file.h
+++ b/runtime/oat_file.h
@@ -100,13 +100,9 @@
public:
void LinkMethod(ArtMethod* method) const;
- uint32_t GetCodeOffset() const {
- return code_offset_;
- }
+ uint32_t GetCodeOffset() const;
- const void* GetQuickCode() const {
- return GetOatPointer<const void*>(code_offset_);
- }
+ const void* GetQuickCode() const;
// Returns size of quick code.
uint32_t GetQuickCodeSize() const;