aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Basic/Targets/SPIR.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Basic/Targets/SPIR.h')
-rw-r--r--lib/Basic/Targets/SPIR.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/Targets/SPIR.h b/lib/Basic/Targets/SPIR.h
index 6023c868dbdc..802ccf8b671e 100644
--- a/lib/Basic/Targets/SPIR.h
+++ b/lib/Basic/Targets/SPIR.h
@@ -88,7 +88,7 @@ public:
: CCCR_Warning;
}
- CallingConv getDefaultCallingConv(CallingConvMethodType MT) const override {
+ CallingConv getDefaultCallingConv() const override {
return CC_SpirFunction;
}