diff options
| author | Craig Topper <craig.topper@intel.com> | 2020-07-06 23:50:41 -0700 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2020-07-06 23:54:56 -0700 |
| commit | 3cbfe988bc5cd366fb0f62e597f899b489c3834d (patch) | |
| tree | 93629d9991171a1a1e503112359b299f583bb917 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 560292fa990a2bfcf8415f07a166393beff667f6 (diff) | |
[X86] Merge X86TargetInfo::setFeatureEnabled and X86TargetInfo::setFeatureEnabledImpl. NFC
setFeatureEnabled is a virtual function. setFeatureEnabledImpl
was its implementation. This split was to avoid virtual calls
when we need to call setFeatureEnabled in initFeatureMap.
With C++11 we can use 'final' on setFeatureEnabled to enable
the compiler to perform de-virtualization for the initFeatureMap
calls.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
