Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/NodeCodeGenerator.java @ 10513:00b70a864d3b
updated Checkstyle rules to prohibit underscores in method names and fixed current violations
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 24 Jun 2013 22:56:07 +0200 |
parents | 746fa60be266 |
children | f43eb2f1bbbc |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/NodeCodeGenerator.java Mon Jun 24 16:40:56 2013 +0200 +++ b/graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/NodeCodeGenerator.java Mon Jun 24 22:56:07 2013 +0200 @@ -43,8 +43,8 @@ private static final String THIS_NODE_LOCAL_VAR_NAME = "thisNode"; - private static final String EXECUTE_GENERIC_NAME = "executeGeneric_"; - private static final String EXECUTE_SPECIALIZE_NAME = "executeAndSpecialize_"; + private static final String EXECUTE_GENERIC_NAME = "executeGeneric0"; + private static final String EXECUTE_SPECIALIZE_NAME = "executeAndSpecialize0"; public NodeCodeGenerator(ProcessorContext context) { super(context); @@ -1350,7 +1350,7 @@ CodeTreeBuilder body = method.createBuilder(); body.startReturn(); if (node.getSpecializations().isEmpty()) { - body.null_(); + body.nullLiteral(); } else { body.startNew(nodeSpecializationClassName(node.getSpecializations().get(0))); for (VariableElement var : method.getParameters()) {