ArithmeticOperation.java revision 12651:6ef01bd40ce2
1296177Sjhibbits/*
2296177Sjhibbits * Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
3296177Sjhibbits * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4296177Sjhibbits *
5296177Sjhibbits * This code is free software; you can redistribute it and/or modify it
6296177Sjhibbits * under the terms of the GNU General Public License version 2 only, as
7296177Sjhibbits * published by the Free Software Foundation.
8296177Sjhibbits *
9296177Sjhibbits * This code is distributed in the hope that it will be useful, but WITHOUT
10296177Sjhibbits * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11296177Sjhibbits * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12296177Sjhibbits * version 2 for more details (a copy is included in the LICENSE file that
13296177Sjhibbits * accompanied this code).
14296177Sjhibbits *
15296177Sjhibbits * You should have received a copy of the GNU General Public License version
16296177Sjhibbits * 2 along with this work; if not, write to the Free Software Foundation,
17296177Sjhibbits * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18296177Sjhibbits *
19296177Sjhibbits * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20296177Sjhibbits * or visit www.oracle.com if you need additional information or have any
21296177Sjhibbits * questions.
22296177Sjhibbits */
23296177Sjhibbitspackage org.graalvm.compiler.nodes;
24296177Sjhibbits
25296177Sjhibbitsimport org.graalvm.compiler.core.common.type.ArithmeticOpTable.Op;
26296177Sjhibbits
27296177Sjhibbits/**
28296177Sjhibbits * An {@code ArithmeticOperation} is an operation that does primitive value arithmetic without side
29296177Sjhibbits * effect.
30296177Sjhibbits */
31296177Sjhibbitspublic interface ArithmeticOperation {
32296177Sjhibbits
33296177Sjhibbits    Op getArithmeticOp();
34296177Sjhibbits}
35296177Sjhibbits