summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/CodeGen/MIRYamlMapping.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/llvm/include/llvm/CodeGen/MIRYamlMapping.h b/llvm/include/llvm/CodeGen/MIRYamlMapping.h
index 9f5dbb701ba..f7118fe1e81 100644
--- a/llvm/include/llvm/CodeGen/MIRYamlMapping.h
+++ b/llvm/include/llvm/CodeGen/MIRYamlMapping.h
@@ -26,15 +26,9 @@ namespace yaml {
struct MachineFunction {
StringRef Name;
- unsigned Alignment;
- bool ExposesReturnsTwice;
- bool HasInlineAsm;
-
- MachineFunction() {
- Alignment = 0;
- ExposesReturnsTwice = false;
- HasInlineAsm = false;
- }
+ unsigned Alignment = 0;
+ bool ExposesReturnsTwice = false;
+ bool HasInlineAsm = false;
};
template <> struct MappingTraits<MachineFunction> {
OpenPOWER on IntegriCloud