Mercurial > hg > graal-compiler
diff graal/com.oracle.graal.replacements.hsail/src/com/oracle/graal/replacements/hsail/HSAILMathIntrinsicsNode.java @ 18845:f57d86eb036f
removed Node factory methods
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 12 Jan 2015 20:39:04 +0100 |
parents | 9619ba4daf4c |
children |
line wrap: on
line diff
--- a/graal/com.oracle.graal.replacements.hsail/src/com/oracle/graal/replacements/hsail/HSAILMathIntrinsicsNode.java Mon Jan 12 19:05:36 2015 +0100 +++ b/graal/com.oracle.graal.replacements.hsail/src/com/oracle/graal/replacements/hsail/HSAILMathIntrinsicsNode.java Mon Jan 12 20:39:04 2015 +0100 @@ -69,17 +69,7 @@ return operation; } - /** - * Creates a new HSAILMathIntrinsicNode. - * - * @param x the argument to the math operation - * @param op the math operation - */ - public static HSAILMathIntrinsicsNode create(ValueNode x, HSAILArithmetic op) { - return new HSAILMathIntrinsicsNode(x, op); - } - - protected HSAILMathIntrinsicsNode(ValueNode x, HSAILArithmetic op) { + public HSAILMathIntrinsicsNode(ValueNode x, HSAILArithmetic op) { super(StampFactory.forKind(x.getKind())); this.param = x; this.operation = op;