/** {@inheritDoc} */ @Override public void makeInitialized(Type type) { int len = locals.length; if (len == 0) { // We have to check for this before checking for immutability. return; } throwIfImmutable(); Type initializedType = type.getInitializedType(); for (int i = 0; i < len; i++) { if (locals[i] == type) { locals[i] = initializedType; } } }
/** @inheritDoc */ public void makeInitialized(Type type) { int len = locals.length; if (len == 0) { // We have to check for this before checking for immutability. return; } throwIfImmutable(); Type initializedType = type.getInitializedType(); for (int i = 0; i < len; i++) { if (locals[i] == type) { locals[i] = initializedType; } } }
/** {@inheritDoc} */ public void makeInitialized(Type type) { int len = locals.length; if (len == 0) { // We have to check for this before checking for immutability. return; } throwIfImmutable(); Type initializedType = type.getInitializedType(); for (int i = 0; i < len; i++) { if (locals[i] == type) { locals[i] = initializedType; } } }
/** @inheritDoc */ public void makeInitialized(Type type) { int len = locals.length; if (len == 0) { // We have to check for this before checking for immutability. return; } throwIfImmutable(); Type initializedType = type.getInitializedType(); for (int i = 0; i < len; i++) { if (locals[i] == type) { locals[i] = initializedType; } } }
/** @inheritDoc */ public void makeInitialized(Type type) { int len = locals.length; if (len == 0) { // We have to check for this before checking for immutability. return; } throwIfImmutable(); Type initializedType = type.getInitializedType(); for (int i = 0; i < len; i++) { if (locals[i] == type) { locals[i] = initializedType; } } }
/** * Replaces all the occurrences of the given uninitialized type in * this stack with its initialized equivalent. * * @param type {@code non-null;} type to replace */ public void makeInitialized(Type type) { if (stackPtr == 0) { // We have to check for this before checking for immutability. return; } throwIfImmutable(); Type initializedType = type.getInitializedType(); for (int i = 0; i < stackPtr; i++) { if (stack[i] == type) { stack[i] = initializedType; } } }
/** {@inheritDoc} */ @Override public void makeInitialized(Type type) { int len = locals.length; if (len == 0) { // We have to check for this before checking for immutability. return; } throwIfImmutable(); Type initializedType = type.getInitializedType(); for (int i = 0; i < len; i++) { if (locals[i] == type) { locals[i] = initializedType; } } }
/** * Replaces all the occurrences of the given uninitialized type in * this stack with its initialized equivalent. * * @param type {@code non-null;} type to replace */ public void makeInitialized(Type type) { if (stackPtr == 0) { // We have to check for this before checking for immutability. return; } throwIfImmutable(); Type initializedType = type.getInitializedType(); for (int i = 0; i < stackPtr; i++) { if (stack[i] == type) { stack[i] = initializedType; } } }
/** * Replaces all the occurrences of the given uninitialized type in * this stack with its initialized equivalent. * * @param type {@code non-null;} type to replace */ public void makeInitialized(Type type) { if (stackPtr == 0) { // We have to check for this before checking for immutability. return; } throwIfImmutable(); Type initializedType = type.getInitializedType(); for (int i = 0; i < stackPtr; i++) { if (stack[i] == type) { stack[i] = initializedType; } } }
/** * Replaces all the occurrences of the given uninitialized type in * this stack with its initialized equivalent. * * @param type {@code non-null;} type to replace */ public void makeInitialized(Type type) { if (stackPtr == 0) { // We have to check for this before checking for immutability. return; } throwIfImmutable(); Type initializedType = type.getInitializedType(); for (int i = 0; i < stackPtr; i++) { if (stack[i] == type) { stack[i] = initializedType; } } }
/** * Replaces all the occurrences of the given uninitialized type in * this stack with its initialized equivalent. * * @param type {@code non-null;} type to replace */ public void makeInitialized(Type type) { if (stackPtr == 0) { // We have to check for this before checking for immutability. return; } throwIfImmutable(); Type initializedType = type.getInitializedType(); for (int i = 0; i < stackPtr; i++) { if (stack[i] == type) { stack[i] = initializedType; } } }
/** * Replaces all the occurrences of the given uninitialized type in * this stack with its initialized equivalent. * * @param type {@code non-null;} type to replace */ public void makeInitialized(Type type) { if (stackPtr == 0) { // We have to check for this before checking for immutability. return; } throwIfImmutable(); Type initializedType = type.getInitializedType(); for (int i = 0; i < stackPtr; i++) { if (stack[i] == type) { stack[i] = initializedType; } } }
/** * Returns an instance that is identical to this one, except that * the type bearer is replaced by the actual underlying type * (thereby stripping off non-type information) with any * initialization information stripped away as well. * * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec withSimpleType() { TypeBearer orig = type; Type newType; if (orig instanceof Type) { newType = (Type) orig; } else { newType = orig.getType(); } if (newType.isUninitialized()) { newType = newType.getInitializedType(); } if (newType == orig) { return this; } return makeLocalOptional(reg, newType, local); }
/** * Returns an instance that is identical to this one, except that * the type bearer is replaced by the actual underlying type * (thereby stripping off non-type information) with any * initialization information stripped away as well. * * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec withSimpleType() { TypeBearer orig = type; Type newType; if (orig instanceof Type) { newType = (Type) orig; } else { newType = orig.getType(); } if (newType.isUninitialized()) { newType = newType.getInitializedType(); } if (newType == orig) { return this; } return makeLocalOptional(reg, newType, local); }
/** * Returns an instance that is identical to this one, except that * the type bearer is replaced by the actual underlying type * (thereby stripping off non-type information) with any * initialization information stripped away as well. * * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec withSimpleType() { TypeBearer orig = type; Type newType; if (orig instanceof Type) { newType = (Type) orig; } else { newType = orig.getType(); } if (newType.isUninitialized()) { newType = newType.getInitializedType(); } if (newType == orig) { return this; } return makeLocalOptional(reg, newType, local); }
/** * Returns an instance that is identical to this one, except that * the type bearer is replaced by the actual underlying type * (thereby stripping off non-type information) with any * initialization information stripped away as well. * * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec withSimpleType() { TypeBearer orig = type; Type newType; if (orig instanceof Type) { newType = (Type) orig; } else { newType = orig.getType(); } if (newType.isUninitialized()) { newType = newType.getInitializedType(); } if (newType == orig) { return this; } return makeLocalOptional(reg, newType, local); }
/** * Returns an instance that is identical to this one, except that * the type bearer is replaced by the actual underlying type * (thereby stripping off non-type information) with any * initialization information stripped away as well. * * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec withSimpleType() { TypeBearer orig = type; Type newType; if (orig instanceof Type) { newType = (Type) orig; } else { newType = orig.getType(); } if (newType.isUninitialized()) { newType = newType.getInitializedType(); } if (newType == orig) { return this; } return makeLocalOptional(reg, newType, local); }
/** * Returns an instance that is identical to this one, except that * the type bearer is replaced by the actual underlying type * (thereby stripping off non-type information) with any * initialization information stripped away as well. * * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec withSimpleType() { TypeBearer orig = type; Type newType; if (orig instanceof Type) { newType = (Type) orig; } else { newType = orig.getType(); } if (newType.isUninitialized()) { newType = newType.getInitializedType(); } if (newType == orig) { return this; } return makeLocalOptional(reg, newType, local); }
/** * Returns an instance that is identical to this one, except that * the type bearer is replaced by the actual underlying type * (thereby stripping off non-type information) with any * initialization information stripped away as well. * * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec withSimpleType() { TypeBearer orig = type; Type newType; if (orig instanceof Type) { newType = (Type) orig; } else { newType = orig.getType(); } if (newType.isUninitialized()) { newType = newType.getInitializedType(); } if (newType == orig) { return this; } return makeLocalOptional(reg, newType, local); }
/** * Returns an instance that is identical to this one, except that * the type bearer is replaced by the actual underlying type * (thereby stripping off non-type information) with any * initialization information stripped away as well. * * @return {@code non-null;} an appropriately-constructed instance */ public RegisterSpec withSimpleType() { TypeBearer orig = type; Type newType; if (orig instanceof Type) { newType = (Type) orig; } else { newType = orig.getType(); } if (newType.isUninitialized()) { newType = newType.getInitializedType(); } if (newType == orig) { return this; } return makeLocalOptional(reg, newType, local); }