commit | 2da710ce9fe3bf20b47aacc16e2f6bccc45370c7 | [log] [tgz] |
---|---|---|
author | John Porto <jpp@chromium.org> | Mon Jun 29 07:57:02 2015 -0700 |
committer | John Porto <jpp@chromium.org> | Mon Jun 29 07:57:02 2015 -0700 |
tree | 75b885ef6b16467b88a45e093b4ccfbd0c92d9bb | |
parent | 40df458afa4f65368e3cab5f38858e6eaebcfb1e [diff] |
Enables llvm dyn_cast for Assemblers. IceCfg::getAssembler() is a template that simply static_casts the CFG's assembler. This could potentially be problematic in the future, so we enabled the (relatively) cheap llvm dyn_cast operator for Assemblers. This CL also renames assembler_mips32.h to IceAssemblerMIPS32.h. BUG= R=stichnot@chromium.org Review URL: https://codereview.chromium.org/1211863004.