Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/expression/SLMulNode.java @ 13836:64c77f0577bb
More documentation and improvements of Simple Language
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Thu, 30 Jan 2014 17:53:27 -0800 |
parents | b16ec83edc73 |
children | c929a4a3b6c5 |
comparison
equal
deleted
inserted
replaced
13835:67e4e7f56911 | 13836:64c77f0577bb |
---|---|
27 import com.oracle.truffle.api.*; | 27 import com.oracle.truffle.api.*; |
28 import com.oracle.truffle.api.dsl.*; | 28 import com.oracle.truffle.api.dsl.*; |
29 import com.oracle.truffle.api.nodes.*; | 29 import com.oracle.truffle.api.nodes.*; |
30 import com.oracle.truffle.sl.nodes.*; | 30 import com.oracle.truffle.sl.nodes.*; |
31 | 31 |
32 /** | |
33 * This class is similar to the extensively documented {@link SLAddNode}. | |
34 */ | |
32 @NodeInfo(shortName = "*") | 35 @NodeInfo(shortName = "*") |
33 public abstract class SLMulNode extends SLBinaryNode { | 36 public abstract class SLMulNode extends SLBinaryNode { |
34 | 37 |
35 @Specialization(rewriteOn = ArithmeticException.class) | 38 @Specialization(rewriteOn = ArithmeticException.class) |
36 protected long mul(long left, long right) { | 39 protected long mul(long left, long right) { |