diff options
author | Dale Johannesen <dalej@apple.com> | 2010-01-15 23:28:49 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2010-01-15 23:28:49 +0000 |
commit | 3f5db85b573cbb3f778413d882e6fd1854a5991b (patch) | |
tree | 88d58c525a2f191a6863309dea240002eb56325b /include | |
parent | 8b3787586ed92df55131ad38c16646b7eba401a0 (diff) | |
download | external_llvm-3f5db85b573cbb3f778413d882e6fd1854a5991b.zip external_llvm-3f5db85b573cbb3f778413d882e6fd1854a5991b.tar.gz external_llvm-3f5db85b573cbb3f778413d882e6fd1854a5991b.tar.bz2 |
Remove unneeded argument per review.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93579 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/MachineOperand.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/MachineOperand.h b/include/llvm/CodeGen/MachineOperand.h index 907c25a..07d886d 100644 --- a/include/llvm/CodeGen/MachineOperand.h +++ b/include/llvm/CodeGen/MachineOperand.h @@ -453,11 +453,9 @@ public: Op.setTargetFlags(TargetFlags); return Op; } - static MachineOperand CreateMetadata(MDNode *Meta, - unsigned char TargetFlags = 0) { + static MachineOperand CreateMetadata(MDNode *Meta) { MachineOperand Op(MachineOperand::MO_Metadata); Op.Contents.MD = Meta; - Op.setTargetFlags(TargetFlags); return Op; } |