| commit | fe1e39dcbadbc153090ec73b27e6cdfaf5101131 | [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 | b9387ce29feb546806d94abb257be7ec80bd15bc | |
| parent | 4bfb4cb1e7a26dac3470e854ff2d34b4da0b6671 [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.
llvm-svn: 204811