* net/loveruby/cflat/compiler/CodeGenerator.java (generateAssembly): did not set typeTable field.

git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@3965 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
Minero Aoki 2008-08-19 10:18:05 +00:00
parent b01627db0c
commit 8cbf437fb7
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Tue Aug 19 19:18:00 2008 Minero Aoki <aamine@loveruby.net>
* net/loveruby/cflat/compiler/CodeGenerator.java
(generateAssembly): did not set typeTable field.
Tue Aug 19 18:57:52 2008 Minero Aoki <aamine@loveruby.net>
* net/loveruby/cflat/compiler/CodeGenerator.java: refactoring: all

View File

@ -30,7 +30,7 @@ static public void p(String s) { System.err.println(s); }
/** Compiles "ast" and generates assembly code. */
// #@@range/generateAssembly
public String generateAssembly(AST ast, TypeTable typeTable) {
typeTable = typeTable;
this.typeTable = typeTable;
allocateGlobalVariables(ast.globalVariables());
allocateCommonSymbols(ast.commonSymbols());