Helpers and refactorings to prepare for interpreter optimizations (x64)

- Add data structure offsets that will be used in assembly code.
- Be explicit about a stack overflow in a fault handler.
- Move assembly helper code in asm_support so interpreter can use it.
- Support putting literals in InterpreterCache.
- Fix artHandleFillArrayDataFromCode for x64.

Bug: 119800099
Test: test.py
Change-Id: I2729f87fe5d09c04ae2e7081636f0cd89ac14c21
diff --git a/runtime/art_method.h b/runtime/art_method.h
index 7b435d5..ff61065 100644
--- a/runtime/art_method.h
+++ b/runtime/art_method.h
@@ -411,6 +411,10 @@
     return MemberOffset(OFFSETOF_MEMBER(ArtMethod, method_index_));
   }
 
+  static constexpr MemberOffset ImtIndexOffset() {
+    return MemberOffset(OFFSETOF_MEMBER(ArtMethod, imt_index_));
+  }
+
   uint32_t GetCodeItemOffset() const {
     return dex_code_item_offset_;
   }