aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/PatchableFunction.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-08-08 19:39:45 +0000
committerRui Ueyama <ruiu@google.com>2016-08-08 19:39:45 +0000
commit31f32fa62aab473aa58291af0a6984aa1a36f2ee (patch)
tree072f177f8d8d17290f91c8ae366f7deaeba04cbd /llvm/lib/CodeGen/PatchableFunction.cpp
parent75331f7f2e31009798bafad00478a851dd25a250 (diff)
downloadllvm-31f32fa62aab473aa58291af0a6984aa1a36f2ee.zip
llvm-31f32fa62aab473aa58291af0a6984aa1a36f2ee.tar.gz
llvm-31f32fa62aab473aa58291af0a6984aa1a36f2ee.tar.bz2
Refactor getMipsEFlags.
Previously, we incrementally updated the reuslting flag as we check file flags, so it was not very clear who is updating what flags. This patch makes them pure functions -- that has no side effect and don't update arguments to improve readability. Now each function construct a patial result, and all resutls are then bitwise-OR'ed to construct the final result. This patch also creates a new file, Mips.cpp, to move all these MIPS functions to a separate file. Differential Revision: https://reviews.llvm.org/D23249 llvm-svn: 278042
Diffstat (limited to 'llvm/lib/CodeGen/PatchableFunction.cpp')
0 files changed, 0 insertions, 0 deletions