comparison truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/expression/demo/SLAddWithoutSpecializationNode.java @ 22157:dc83cc1f94f2

Using fully qualified imports
author Jaroslav Tulach <jaroslav.tulach@oracle.com>
date Wed, 16 Sep 2015 11:33:22 +0200
parents 503529c65456
children
comparison
equal deleted inserted replaced
22156:50056a161d7f 22157:dc83cc1f94f2
38 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 38 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
39 * SOFTWARE. 39 * SOFTWARE.
40 */ 40 */
41 package com.oracle.truffle.sl.nodes.expression.demo; 41 package com.oracle.truffle.sl.nodes.expression.demo;
42 42
43 import java.math.*; 43 import com.oracle.truffle.api.ExactMath;
44 44 import com.oracle.truffle.api.dsl.UnsupportedSpecializationException;
45 import com.oracle.truffle.api.*; 45 import com.oracle.truffle.api.frame.VirtualFrame;
46 import com.oracle.truffle.api.dsl.*; 46 import com.oracle.truffle.api.nodes.Node;
47 import com.oracle.truffle.api.frame.*; 47 import com.oracle.truffle.sl.nodes.SLExpressionNode;
48 import com.oracle.truffle.api.nodes.*; 48 import com.oracle.truffle.sl.nodes.expression.SLAddNode;
49 import com.oracle.truffle.sl.nodes.*; 49 import java.math.BigInteger;
50 import com.oracle.truffle.sl.nodes.expression.*;
51 50
52 /** 51 /**
53 * This is an example how the add operation would be implemented without specializations and without 52 * This is an example how the add operation would be implemented without specializations and without
54 * the Truffle DSL. Do not write such code in your language! See {@link SLAddNode} how the add 53 * the Truffle DSL. Do not write such code in your language! See {@link SLAddNode} how the add
55 * operation is implemented correctly. 54 * operation is implemented correctly.