summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
diff options
context:
space:
mode:
authorRichard Trieu <rtrieu@google.com>2018-12-29 02:02:13 +0000
committerRichard Trieu <rtrieu@google.com>2018-12-29 02:02:13 +0000
commita87b70d1db817b34f9ef7f4312094da46b575205 (patch)
tree3ec390b0fb12fdcdaa3f8686d400e6cf15266058 /llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
parent0a6cec6f9f1bd11147eb76d8d0b4df9d40bb873c (diff)
downloadbcm5719-llvm-a87b70d1db817b34f9ef7f4312094da46b575205.tar.gz
bcm5719-llvm-a87b70d1db817b34f9ef7f4312094da46b575205.zip
Add vtable anchor to classes.
llvm-svn: 350142
Diffstat (limited to 'llvm/lib/CodeGen/GlobalISel/CallLowering.cpp')
-rw-r--r--llvm/lib/CodeGen/GlobalISel/CallLowering.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/CallLowering.cpp b/llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
index da972eae756..724ecedf3b3 100644
--- a/llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
+++ b/llvm/lib/CodeGen/GlobalISel/CallLowering.cpp
@@ -23,6 +23,8 @@
using namespace llvm;
+void CallLowering::anchor() {}
+
bool CallLowering::lowerCall(
MachineIRBuilder &MIRBuilder, ImmutableCallSite CS, unsigned ResReg,
ArrayRef<unsigned> ArgRegs, std::function<unsigned()> GetCalleeReg) const {
@@ -180,3 +182,5 @@ unsigned CallLowering::ValueHandler::extendRegister(unsigned ValReg,
}
llvm_unreachable("unable to extend register");
}
+
+void CallLowering::ValueHandler::anchor() {}
OpenPOWER on IntegriCloud