Fix oatdump "compilercallbacks" option for runtime.

The "compilercallbacks" runtime option replaced "compiler"
in I708ca13227c809e07917ff3879a89722017e83a9 .

Fix a comment in codegen_util.cc .

Change-Id: I2c5ebd56dd96f0ee8e62b602bfe45357565471ff
diff --git a/oatdump/oatdump.cc b/oatdump/oatdump.cc
index e219dd3..9bde30d 100644
--- a/oatdump/oatdump.cc
+++ b/oatdump/oatdump.cc
@@ -26,6 +26,7 @@
 #include "base/unix_file/fd_file.h"
 #include "class_linker.h"
 #include "class_linker-inl.h"
+#include "compiler_callbacks.h"
 #include "dex_file-inl.h"
 #include "dex_instruction.h"
 #include "disassembler.h"
@@ -1456,7 +1457,12 @@
   std::string boot_oat_option;
 
   // We are more like a compiler than a run-time. We don't want to execute code.
-  options.push_back(std::make_pair("compiler", reinterpret_cast<void*>(NULL)));
+  struct OatDumpCompilerCallbacks : CompilerCallbacks {
+    virtual bool MethodVerified(verifier::MethodVerifier* /*verifier*/) { return true; }
+    virtual void ClassRejected(ClassReference /*ref*/) { }
+  } callbacks;
+  options.push_back(std::make_pair("compilercallbacks",
+                                   static_cast<CompilerCallbacks*>(&callbacks)));
 
   if (boot_image_filename != NULL) {
     boot_image_option += "-Ximage:";