Stub to capture method entry/exit.

Added stubs to allow traceview to do method tracing. Currently only
outputs to logcat, and a later change will generate the proper log file.

Change-Id: Icaafc50e2eaf042ddc4d882011f7e8121bdd8b1c
diff --git a/src/dex_cache.cc b/src/dex_cache.cc
index c43f5bf..d844909 100644
--- a/src/dex_cache.cc
+++ b/src/dex_cache.cc
@@ -9,6 +9,12 @@
 
 namespace art {
 
+void CodeAndDirectMethods::SetResolvedDirectMethodTraceEntry(uint32_t method_idx, const void* pcode) {
+  CHECK(pcode != NULL);
+  int32_t code = reinterpret_cast<int32_t>(pcode);
+  Set(CodeIndex(method_idx), code);
+}
+
 void CodeAndDirectMethods::SetResolvedDirectMethod(uint32_t method_idx, Method* method) {
   CHECK(method != NULL);
   CHECK(method->IsDirect()) << PrettyMethod(method);