Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/expression/SLEqualNode.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 | 3a96086cf698 |
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; | 41 package com.oracle.truffle.sl.nodes.expression; |
42 | 42 |
43 import java.math.*; | 43 import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary; |
44 | 44 import com.oracle.truffle.api.dsl.Fallback; |
45 import com.oracle.truffle.api.CompilerDirectives.*; | 45 import com.oracle.truffle.api.dsl.Specialization; |
46 import com.oracle.truffle.api.dsl.*; | 46 import com.oracle.truffle.api.frame.VirtualFrame; |
47 import com.oracle.truffle.api.frame.*; | 47 import com.oracle.truffle.api.nodes.NodeInfo; |
48 import com.oracle.truffle.api.nodes.*; | 48 import com.oracle.truffle.api.source.SourceSection; |
49 import com.oracle.truffle.api.source.*; | 49 import com.oracle.truffle.sl.nodes.SLBinaryNode; |
50 import com.oracle.truffle.sl.nodes.*; | 50 import com.oracle.truffle.sl.runtime.SLFunction; |
51 import com.oracle.truffle.sl.runtime.*; | 51 import com.oracle.truffle.sl.runtime.SLNull; |
52 import java.math.BigInteger; | |
52 | 53 |
53 /** | 54 /** |
54 * The {@code ==} operator of SL is defined on all types. Therefore, we need a | 55 * The {@code ==} operator of SL is defined on all types. Therefore, we need a |
55 * {@link #equal(Object, Object) generic implementation} that can handle all possible types. But | 56 * {@link #equal(Object, Object) generic implementation} that can handle all possible types. But |
56 * since {@code ==} can only return {@code true} when the type of the left and right operand are the | 57 * since {@code ==} can only return {@code true} when the type of the left and right operand are the |