How about if the state of Oregon had outlawed political speech? Would your 'logic' stand?
Freedom of speech is guaranteed by the first amendment and, through incorporation through the 14th Amendment, is applied to the states as well. There is NOTHING in the constitution that either prohibits nor advocates the voluntary taking of one's life. It is an issue left to the states, much like abortion should be.