reformatting in CodeBag.java
[fleet.git] / src / edu / berkeley / fleet / ir / CodeBag.java
1 package edu.berkeley.fleet.ir;
2 import edu.berkeley.fleet.loops.*;
3 import edu.berkeley.fleet.api.*;
4 import java.util.*;
5 import java.net.*;
6
7 /**
8  *  A CodeBag represents the instructions of a Context along with
9  *  (compile-time) knowledge of where it resides.  Consequently, it is
10  *  meaningful to say "give me the sequence of instructions which will
11  *  invoke this CodeBag".
12  */
13 public class CodeBag {
14
15     /*
16      *                          SF         works       works @diff    ok for non   size    ships
17      * Dispatch Method       Crossings     @inbox?       docks?       tail call?   limit   consumed
18      * ------------------------------------------------------------------------------------------
19      * 
20      * Inline                    0           Y              N             N        Small  None
21      * 
22      * Inline literals           1           N              Y             Y        Tiny   None
23      *  w/ "dispatch"
24      * 
25      * Send CBD to               2+          N              Y             Y        None   None (mem ship)
26      * memory ship
27      * 
28      * Send token to             3+          Y              Y             Y        None   One Output Dock
29      * assistant outbox first
30      * 
31      * Release from FIFO         2           Y              Y             Y        Med    1x FIFO, but can be shared
32      * 
33      */
34
35     /**
36      *  Given a Context, creates a CodeBag which will live in the
37      *  Memory ship memoryShip at the address given by baseAddress.
38      */
39     public CodeBag(Context ctx, Ship memoryShip, long baseAddress) {
40         
41     }
42
43
44 }