Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api.codegen.test/src/com/oracle/truffle/api/codegen/test/BinaryOperationTest.java @ 8249:aad7e9f4f71c
A few additions to codegen tests.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Tue, 12 Mar 2013 11:38:24 +0100 |
parents | 3862508afe2f |
children |
comparison
equal
deleted
inserted
replaced
8248:c4c3f50fa9c2 | 8249:aad7e9f4f71c |
---|---|
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 package com.oracle.truffle.api.codegen.test; | 23 package com.oracle.truffle.api.codegen.test; |
24 | 24 |
25 import com.oracle.truffle.api.codegen.*; | 25 import com.oracle.truffle.api.codegen.*; |
26 import com.oracle.truffle.api.codegen.test.TypeSystemTest.ValueNode; | |
26 | 27 |
27 public class BinaryOperationTest { | 28 public class BinaryOperationTest { |
28 | 29 |
29 static int convertInt(Object value) { | 30 static int convertInt(Object value) { |
30 if (value instanceof Number) { | 31 if (value instanceof Number) { |