Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/NodeCodeGenerator.java @ 9231:ee3a9188c65e
Checkstyle fixes.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 22 Apr 2013 17:09:02 +0200 |
parents | bc82cde765b9 |
children | 07f8d136a05e |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/NodeCodeGenerator.java Mon Apr 22 16:40:54 2013 +0200 +++ b/graal/com.oracle.truffle.codegen.processor/src/com/oracle/truffle/codegen/processor/node/NodeCodeGenerator.java Mon Apr 22 17:09:02 2013 +0200 @@ -1655,17 +1655,17 @@ TypeData type = sourceParameter.getTypeSystemType(); ExecutableTypeData execType = targetField.getNodeData().findExecutableType(type); + /* + * FIXME Temporary deactivated due to partial evaluation failure else if + * (accessElement.getKind() == ElementKind.METHOD) { + * builder.startCall(accessElement.getSimpleName().toString()).end(); } + */ CodeTreeBuilder builder = new CodeTreeBuilder(parent); if (targetField != null) { Element accessElement = targetField.getAccessElement(); if (accessElement == null || accessElement.getKind() == ElementKind.METHOD) { builder.string("this.").string(targetField.getName()); - } /* - * FIXME Temporary deactivated due to partial evaluation failure else if - * (accessElement.getKind() == ElementKind.METHOD) { - * builder.startCall(accessElement.getSimpleName().toString()).end(); } - */ - else if (accessElement.getKind() == ElementKind.FIELD) { + } else if (accessElement.getKind() == ElementKind.FIELD) { builder.string("this.").string(accessElement.getSimpleName().toString()); } else { throw new AssertionError();