aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectCommands.cpp
diff options
context:
space:
mode:
authorShengchen Kan <shengchen.kan@intel.com>2023-02-07 16:04:05 +0800
committerShengchen Kan <shengchen.kan@intel.com>2023-02-10 11:11:21 +0800
commita22e8c9dadea290b4b2d675f60b27428e420b16f (patch)
tree2cf5cccd6e03485d78a2951a2f737d40beb86494 /lldb/source/Commands/CommandObjectCommands.cpp
parent32b3f13337ef0bf747705d058f4772c7fdabd736 (diff)
downloadllvm-a22e8c9dadea290b4b2d675f60b27428e420b16f.zip
llvm-a22e8c9dadea290b4b2d675f60b27428e420b16f.tar.gz
llvm-a22e8c9dadea290b4b2d675f60b27428e420b16f.tar.bz2
[X86][MC][NFC] Refine code in X86MCCodeEmitter.cpp about opcode prefix
1. Make code clearer by separating the logic of setting bits from the logic of how a prefix is encoded 2. Extract common code into functions to avoid code duplication 3. Return a enum rather a boolean to ehance scalability and uniform the behavior of functions Reviewed By: pengfei, craig.topper Differential Revision: https://reviews.llvm.org/D143471
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions