add preproc tags

git-svn-id: file:///Users/aamine/c/gitwork/public/cbc/trunk@4226 1b9489fe-b721-0410-924e-b54b9192deb8
This commit is contained in:
Minero Aoki 2009-05-21 23:19:00 +00:00
parent 7af5ebc4a9
commit 68332ee470
2 changed files with 4 additions and 0 deletions

View File

@ -31,9 +31,11 @@ abstract public class Expr implements Dumpable {
throw new Error("Expr#memref called");
}
// #@@range/addressNode{
public Expr addressNode(Type type) {
throw new Error("unexpected node for LHS: " + getClass());
}
// #@@}
public Entity getEntityForce() {
return null;

View File

@ -30,9 +30,11 @@ public class Var extends Expr {
return entity.memref();
}
// #@@range/addressNode{
public Addr addressNode(Type type) {
return new Addr(type, entity);
}
// #@@}
public Entity getEntityForce() {
return entity;