Generating stub code that throws AbstractMethodError exception when hit.
Change-Id: Ib440c0cb6e7f820fb1b73113763ebd2b7d64cdba
diff --git a/src/compiler.h b/src/compiler.h
index e818a1c..24889e8 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -12,8 +12,7 @@
class Compiler {
public:
- explicit Compiler(InstructionSet insns) : instruction_set_(insns),
- jni_compiler_(insns) {}
+ explicit Compiler(InstructionSet insns);
// Compile all Methods of all the Classes of all the DexFiles that are part of a ClassLoader.
void CompileAll(const ClassLoader* class_loader);
@@ -40,6 +39,7 @@
InstructionSet instruction_set_;
JniCompiler jni_compiler_;
+ ByteArray* abstract_method_error_stub_;
DISALLOW_COPY_AND_ASSIGN(Compiler);
};