graal/com.oracle.graal.replacements/src/com/oracle/graal/replacements/nodes/MathIntrinsicNode.java

Print this page
rev 8592 : Graal PTX enhancements

*** 105,114 **** --- 105,116 ---- return ConstantNode.forDouble(Math.sin(value), graph()); case COS: return ConstantNode.forDouble(Math.cos(value), graph()); case TAN: return ConstantNode.forDouble(Math.tan(value), graph()); + default: + throw GraalInternalError.shouldNotReachHere(); } } return this; }