[llvm-commits] CVS: llvm-java/include/llvm/Java/Compiler.h
Alkis Evlogimenos
alkis at cs.uiuc.edu
Sat May 22 20:18:09 PDT 2004
Changes in directory llvm-java/include/llvm/Java:
Compiler.h updated: 1.2 -> 1.3
---
Log message:
Rename initForCode() to methodCompileInit().
Create a bytecode to llvm::BasicBlock* map in a separate pass before
compilation.
---
Diffs of the changes: (+4 -1)
Index: llvm-java/include/llvm/Java/Compiler.h
diff -u llvm-java/include/llvm/Java/Compiler.h:1.2 llvm-java/include/llvm/Java/Compiler.h:1.3
--- llvm-java/include/llvm/Java/Compiler.h:1.2 Sat May 22 18:25:22 2004
+++ llvm-java/include/llvm/Java/Compiler.h Sat May 22 20:15:53 2004
@@ -25,15 +25,18 @@
Module* compile(const ClassFile& cf);
private:
+ void compileMethodInit(Function& function,
+ const CodeAttribute& codeAttr);
void compileMethod(Module& module, const Method& method);
- void initForCode(const CodeAttribute& codeAttr);
private:
typedef std::stack<Value*, std::vector<Value*> > OperandStack;
typedef std::vector<Value*> Locals;
+ typedef std::vector<BasicBlock*> BC2BBMap;
OperandStack opStack_;
Locals locals_;
+ BC2BBMap bc2bbMap_;
};
} } // namespace llvm::Java
More information about the llvm-commits
mailing list