void push(ResultType type) { if(controlStack.back().isReachable && type != ResultType::none) { push(asValueType(type)); } }
void pushOperand(ResultType type) { if(type != ResultType::none) { pushOperand(asValueType(type)); } }
void popAndValidateResultType(ResultType expectedType) { if(expectedType != ResultType::none) { popAndValidateOperands(asValueType(expectedType)); } }
void popAndValidateResultType(const char* context,ResultType expectedType) { if(expectedType != ResultType::none) { popAndValidateOperand(context,asValueType(expectedType)); } }