Use slow-path static field accessors; added tests

Modified the compiler to always take the slow path for static
field accesses.  Still need to implement the fast path, but this
allows us to test the slow path now.

It's also about time we added command-line (or other) options for
compiler control.  We'll want to have a testing option to force slow
paths for testing, and also an option to control the compiler's
debug output (which is starting to get annoying).

Change-Id: I9c1bc6faea0042894270d242366c688f1662842b
diff --git a/src/thread.h b/src/thread.h
index 6e145fd..8b64249 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -200,6 +200,12 @@
   long long (*pLdivmod)(long long, long long);
   Array* (*pAllocFromCode)(uint32_t, Method*, int32_t);
   Object* (*pNewInstanceFromCode)(uint32_t, Method*);
+  uint32_t (*pGet32Static)(uint32_t, const Method*);
+  void (*pSet32Static)(uint32_t, const Method*, uint32_t);
+  uint64_t (*pGet64Static)(uint32_t, const Method*);
+  void (*pSet64Static)(uint32_t, const Method*, uint64_t);
+  Object* (*pGetObjStatic)(uint32_t, const Method*);
+  void (*pSetObjStatic)(uint32_t, const Method*, Object*);
   bool (*pArtUnlockObject)(struct Thread*, struct Object*);
   bool (*pArtCanPutArrayElementNoThrow)(const struct ClassObject*,
                  const struct ClassObject*);