Mercurial > hg > graal-jvmci-8
annotate graal/GraalCompiler/src/com/sun/c1x/value/FrameStateAccess.java @ 2621:dd115f80acf8
changed stateAfter FrameState to successor (instead of input), checkstyle fixes, added fixed root node to graph
author | Lukas Stadler <lukas.stadler@jku.at> |
---|---|
date | Tue, 10 May 2011 11:55:12 +0200 |
parents | 1be9b1ddd5c1 |
children | 8c02ca1e9eb1 |
rev | line source |
---|---|
2617
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
1 /* |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
2 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
4 * |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
5 * This code is free software; you can redistribute it and/or modify it |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
6 * under the terms of the GNU General Public License version 2 only, as |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
7 * published by the Free Software Foundation. |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
8 * |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
9 * This code is distributed in the hope that it will be useful, but WITHOUT |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
12 * version 2 for more details (a copy is included in the LICENSE file that |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
13 * accompanied this code). |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
14 * |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
15 * You should have received a copy of the GNU General Public License version |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
16 * 2 along with this work; if not, write to the Free Software Foundation, |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
18 * |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
20 * or visit www.oracle.com if you need additional information or have any |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
21 * questions. |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
22 */ |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
23 package com.sun.c1x.value; |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
24 |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
25 import com.sun.c1x.ir.*; |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
26 |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
27 public interface FrameStateAccess { |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
28 |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
29 FrameState duplicate(); |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
30 |
2621
dd115f80acf8
changed stateAfter FrameState to successor (instead of input), checkstyle fixes, added fixed root node to graph
Lukas Stadler <lukas.stadler@jku.at>
parents:
2617
diff
changeset
|
31 int localsSize(); |
2617
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
32 |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
33 int stackSize(); |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
34 |
2621
dd115f80acf8
changed stateAfter FrameState to successor (instead of input), checkstyle fixes, added fixed root node to graph
Lukas Stadler <lukas.stadler@jku.at>
parents:
2617
diff
changeset
|
35 int locksSize(); |
dd115f80acf8
changed stateAfter FrameState to successor (instead of input), checkstyle fixes, added fixed root node to graph
Lukas Stadler <lukas.stadler@jku.at>
parents:
2617
diff
changeset
|
36 |
dd115f80acf8
changed stateAfter FrameState to successor (instead of input), checkstyle fixes, added fixed root node to graph
Lukas Stadler <lukas.stadler@jku.at>
parents:
2617
diff
changeset
|
37 Value valueAt(int i); |
dd115f80acf8
changed stateAfter FrameState to successor (instead of input), checkstyle fixes, added fixed root node to graph
Lukas Stadler <lukas.stadler@jku.at>
parents:
2617
diff
changeset
|
38 |
dd115f80acf8
changed stateAfter FrameState to successor (instead of input), checkstyle fixes, added fixed root node to graph
Lukas Stadler <lukas.stadler@jku.at>
parents:
2617
diff
changeset
|
39 Value localAt(int i); |
dd115f80acf8
changed stateAfter FrameState to successor (instead of input), checkstyle fixes, added fixed root node to graph
Lukas Stadler <lukas.stadler@jku.at>
parents:
2617
diff
changeset
|
40 |
dd115f80acf8
changed stateAfter FrameState to successor (instead of input), checkstyle fixes, added fixed root node to graph
Lukas Stadler <lukas.stadler@jku.at>
parents:
2617
diff
changeset
|
41 Value lockAt(int i); |
2617
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
42 |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
43 Value stackAt(int i); |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
44 |
1be9b1ddd5c1
added FrameStateAccess interface
Lukas Stadler <lukas.stadler@jku.at>
parents:
diff
changeset
|
45 } |