comparison graal/com.oracle.graal.compiler.common/src/com/oracle/graal/compiler/common/calc/FloatConvert.java @ 21543:93c50cefb9e8

moved GraalInternalError to com.oracle.jvmci.common and renamed it to JVMCIError (JBS:GRAAL-53)
author Doug Simon <doug.simon@oracle.com>
date Mon, 25 May 2015 23:30:34 +0200
parents c88ab4f1f04a
children
comparison
equal deleted inserted replaced
21542:543957c1c6a6 21543:93c50cefb9e8
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 */ 22 */
23 package com.oracle.graal.compiler.common.calc; 23 package com.oracle.graal.compiler.common.calc;
24 24
25 import com.oracle.graal.compiler.common.*; 25 import com.oracle.jvmci.common.*;
26 26
27 public enum FloatConvert { 27 public enum FloatConvert {
28 F2I, 28 F2I,
29 D2I, 29 D2I,
30 F2L, 30 F2L,
57 case L2D: 57 case L2D:
58 return D2L; 58 return D2L;
59 case L2F: 59 case L2F:
60 return F2L; 60 return F2L;
61 default: 61 default:
62 throw GraalInternalError.shouldNotReachHere(); 62 throw JVMCIError.shouldNotReachHere();
63 } 63 }
64 } 64 }
65 } 65 }