comparison graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/template/CompilationUnitFactory.java @ 7502:6343a09b2ec1

Codegen operation generation is inferred from the node type hierarchy.
author Christian Humer <christian.humer@gmail.com>
date Fri, 18 Jan 2013 13:28:12 +0100
parents a748e4d44694
children
comparison
equal deleted inserted replaced
7497:0f8c6dbf68be 7502:6343a09b2ec1
35 public final CodeCompilationUnit create(M m) { 35 public final CodeCompilationUnit create(M m) {
36 return new CodeCompilationUnit(); 36 return new CodeCompilationUnit();
37 } 37 }
38 38
39 @Override 39 @Override
40 public CodeCompilationUnit process(CodeElement parent, M m) {
41 return (CodeCompilationUnit) super.process(parent, m);
42 }
43
44 @Override
40 protected abstract void createChildren(M m); 45 protected abstract void createChildren(M m);
41 46
42 } 47 }