public static final class InlinedProfileBag.Builder extends InlinedProfileBuilder implements AutoCloseable
stateField, stateFieldLength, stateFieldOffset, totalUsedBits| Constructor and Description |
|---|
Builder()
Allocates a new builder for uncached profiles.
|
Builder(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget inlineTarget,
int... requiredStateBits)
Allocates a new inlined profile builder for the given inline target and state field bits.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
advanceStateField(int bits) |
void |
close()
Asserts that the used bit count is in sync with the expected required state bits.
|
com.oracle.truffle.api.profiles.InlinedCountingConditionProfile |
countingConditionProfile()
Adds and returns a new
InlinedCountingConditionProfile. |
branchProfile, conditionProfile, isUncached, maybeAdvanceStateField, stateFieldForBitspublic Builder(com.oracle.truffle.api.dsl.InlineSupport.InlineTarget inlineTarget,
int... requiredStateBits)
public Builder()
protected void advanceStateField(int bits)
advanceStateField in class InlinedProfileBuilderpublic com.oracle.truffle.api.profiles.InlinedCountingConditionProfile countingConditionProfile()
InlinedCountingConditionProfile.public void close()
close in interface AutoCloseable