|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.javac.jvm.Items.Item
com.sun.tools.javac.jvm.Items.CondItem
class Items.CondItem
An item representing a conditional or unconditional jump.
| Field Summary | |
|---|---|
(package private) Code.Chain |
falseJumps
A chain encomassing all jumps that can be taken if the condition evaluates to false. |
(package private) int |
opcode
The jump's opcode. |
(package private) JCTree |
tree
|
(package private) Code.Chain |
trueJumps
A chain encomassing all jumps that can be taken if the condition evaluates to true. |
| Fields inherited from class com.sun.tools.javac.jvm.Items.Item |
|---|
typecode |
| Constructor Summary | |
|---|---|
Items.CondItem(int opcode,
Code.Chain truejumps,
Code.Chain falsejumps)
|
|
| Method Summary | |
|---|---|
(package private) void |
drop()
Generate code to avoid having to use this item. |
(package private) void |
duplicate()
Generate code to use this item twice. |
(package private) boolean |
isFalse()
|
(package private) boolean |
isTrue()
|
(package private) Code.Chain |
jumpFalse()
|
(package private) Code.Chain |
jumpTrue()
|
(package private) Items.Item |
load()
Generate code to load this item onto stack. |
(package private) Items.CondItem |
mkCond()
Generate code to turn item into a testable condition. |
(package private) Items.CondItem |
negate()
|
(package private) void |
stash(int toscode)
Generate code to stash a copy of top of stack - of typecode toscode - under this item. |
java.lang.String |
toString()
|
(package private) int |
width()
Return the width of this item on stack as a number of words. |
| Methods inherited from class com.sun.tools.javac.jvm.Items.Item |
|---|
coerce, coerce, invoke, store |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
Code.Chain trueJumps
Code.Chain falseJumps
int opcode
JCTree tree
| Constructor Detail |
|---|
Items.CondItem(int opcode,
Code.Chain truejumps,
Code.Chain falsejumps)
| Method Detail |
|---|
Items.Item load()
Items.Item
load in class Items.Itemvoid duplicate()
Items.Item
duplicate in class Items.Itemvoid drop()
Items.Item
drop in class Items.Itemvoid stash(int toscode)
Items.Item
stash in class Items.ItemItems.CondItem mkCond()
Items.Item
mkCond in class Items.ItemCode.Chain jumpTrue()
Code.Chain jumpFalse()
Items.CondItem negate()
int width()
Items.Item
width in class Items.Itemboolean isTrue()
boolean isFalse()
public java.lang.String toString()
toString in class Items.Item
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||