Convert CompilerTest over to use Compiler
Change-Id: Ie9ec6a021126f68acd3f6d35ebe73247b5cc360f
diff --git a/src/compiler.h b/src/compiler.h
index 1e5da6b..e779646 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -10,7 +10,10 @@
class Compiler {
public:
- void Compile(std::vector<const DexFile*> class_path);
+ // Compile the DexFiles on a classpath. Returns a ClassLoader for
+ // the path used by the classes that were compiled. This ClassLoader
+ // can be used with FindClass to lookup a compiled class by name.
+ const ClassLoader* Compile(std::vector<const DexFile*> class_path);
private:
// Attempt to resolve all type, methods, fields, and strings