* net/loveruby/cflat/compiler/DereferenceChecker.java: We do not need to check an OpAssignNode as operator, because this class only check references.

git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4085 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
Minero Aoki 2008-11-16 11:20:19 +00:00
parent 15469d899f
commit 83dcd37243
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
Sun Nov 16 20:20:08 2008 Minero Aoki <aamine@loveruby.net>
* net/loveruby/cflat/compiler/DereferenceChecker.java: We do not
need to check an OpAssignNode as operator, because this class only
check references.
Sun Nov 16 20:10:59 2008 Minero Aoki <aamine@loveruby.net>
* net/loveruby/cflat/compiler/CodeGenerator.java (compileAST):

2
ToDo
View File

@ -5,7 +5,6 @@
* type handling
* "extern char*[] sys_errlist" is array, not pointer
* &puts should be typed as int(*)(char*)*, not int(*)(char*)**
* check opassign semantic as operator
* use enum for compiler mode.
== Done
@ -258,3 +257,4 @@
- --readonly-plt
- -fPIE, -pie
- implement difference against PIC
- check opassign semantic as operator

View File

@ -68,7 +68,6 @@ class DereferenceChecker extends Visitor {
public void visit(OpAssignNode node) {
super.visit(node);
checkAssignment(node);
// FIXME: check as operator
}
protected void checkAssignment(AbstractAssignNode node) {