[llvm-commits] CVS: llvm-java/include/llvm/Java/Compiler.h
Alkis Evlogimenos
alkis at cs.uiuc.edu
Wed Sep 29 09:15:17 PDT 2004
Changes in directory llvm-java/include/llvm/Java:
Compiler.h updated: 1.8 -> 1.9
---
Log message:
Create a new module every time a class is compiled. This module will
have bytecode for all classes references in the transitive closure of
the callgraph starting on this class static main() method.
---
Diffs of the changes: (+2 -1)
Index: llvm-java/include/llvm/Java/Compiler.h
diff -u llvm-java/include/llvm/Java/Compiler.h:1.8 llvm-java/include/llvm/Java/Compiler.h:1.9
--- llvm-java/include/llvm/Java/Compiler.h:1.8 Wed Aug 4 05:02:03 2004
+++ llvm-java/include/llvm/Java/Compiler.h Wed Sep 29 11:15:06 2004
@@ -15,6 +15,7 @@
#define LLVM_JAVA_COMPILER_H
#include <llvm/Module.h>
+#include <memory>
namespace llvm { namespace Java {
@@ -27,7 +28,7 @@
Compiler();
~Compiler();
- void compile(Module& m, const std::string& className);
+ std::auto_ptr<Module> compile(const std::string& className);
private:
// do not implement
More information about the llvm-commits
mailing list