comparison graal/com.oracle.graal.jtt/src/com/oracle/graal/jtt/optimize/ConvertCompare.java @ 14991:64dcb92ee75a

Truffle: Change signature for Truffle calls from (PackedFrame, Arguments) to (Object[]).
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Sun, 06 Apr 2014 17:46:24 +0200
parents c7c9624f8ca2
children
comparison
equal deleted inserted replaced
14989:a0dbb3628f2a 14991:64dcb92ee75a
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.jtt.optimize; 23 package com.oracle.graal.jtt.optimize;
24 24
25 import org.junit.*;
26
25 import com.oracle.graal.jtt.*; 27 import com.oracle.graal.jtt.*;
26 import org.junit.*;
27 28
28 public class ConvertCompare extends JTTTest { 29 public class ConvertCompare extends JTTTest {
29 public static boolean test(int a, float d) { 30 public static boolean test(int a, float d) {
30 return a == (double) d; 31 return a == (double) d;
31 } 32 }