commit | 637e1da9e980bc9f12f4fb7cae75a4010fbc8dfe | [log] [tgz] |
---|---|---|
author | Matheus Almeida <matheus.almeida@imgtec.com> | Wed Mar 26 14:26:27 2014 +0000 |
committer | Matheus Almeida <matheus.almeida@imgtec.com> | Wed Mar 26 14:26:27 2014 +0000 |
tree | 70e0544a9d227967b460e18b2de3e49e21308e0b | |
parent | 58839f43de03c894c3398ba2f7429c3ba82c96c1 [diff] |
[mips] Hoist common functionality into a new function. Given that we support multiple directives that enable a particular feature (e.g. '.set mips16'), it's best to hoist that code into a new function so that we don't repeat the same pattern w.r.t parsing and handling error cases. No functional changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204811 91177308-0d34-0410-b5e6-96231b3b80d8