mirror of https://github.com/aamine/cbc
* 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:
parent
b01627db0c
commit
8cbf437fb7
|
@ -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
|
||||
|
|
|
@ -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());
|
||||
|
||||
|
|
Loading…
Reference in New Issue