source: proto/pabloj/trunk/src/compilers/pabloB/lang/carry/CarryBuiltins.java @ 2952

Last change on this file since 2952 was 2952, checked in by ksherdy, 5 years ago

Restructed PabloJ compile to provide clear separation between PabloS and PabloB.

File size: 573 bytes
Line 
1/*
2 * Carry set builtin function signatures.
3 *
4 * TODO - Migrate to 'function signature style' to support type checking.
5 *
6 * @author Ken Herdy <ksherdy at sfu dot ca>
7 *
8 */
9
10package compilers.pabloB.lang.carry;
11
12public enum CarryBuiltins {
13        LOCALCARRYDECLARE(2),                           
14        CARRYTEST(2),
15        GETCARRYIN(1),
16        GETPENDING64(1),
17        CARRYCOMBINE(3),
18        CARRYQADJUST(2),
19        CARRYFLIP(2),
20        CARRYDEQUEUEENQUEUE(2);
21        //VALUEOF(1);
22                       
23        private final int argCount;
24               
25        CarryBuiltins(int argCount ) {
26                this.argCount = argCount;
27        }
28       
29        public int argCount() {
30                return this.argCount;
31        }
32}
33       
34
Note: See TracBrowser for help on using the repository browser.