From 3a8b3bb1e8f8601e8a5598a652fad6d8d510fb30 Mon Sep 17 00:00:00 2001 From: Frank Busse Date: Tue, 14 Jun 2022 11:27:30 +0100 Subject: rename CallSite to CallBase --- lib/Core/ExternalDispatcher.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/Core/ExternalDispatcher.cpp') diff --git a/lib/Core/ExternalDispatcher.cpp b/lib/Core/ExternalDispatcher.cpp index c58e2ec8..13b17337 100644 --- a/lib/Core/ExternalDispatcher.cpp +++ b/lib/Core/ExternalDispatcher.cpp @@ -255,8 +255,8 @@ Function *ExternalDispatcherImpl::createDispatcher(Function *target, if (!resolveSymbol(target->getName().str())) return 0; - const CallBase &cs = cast(*inst); - Value **args = new Value *[cs.arg_size()]; + const CallBase &cb = cast(*inst); + Value **args = new Value *[cb.arg_size()]; std::vector nullary; @@ -286,7 +286,7 @@ Function *ExternalDispatcherImpl::createDispatcher(Function *target, // Each argument will be passed by writing it into gTheArgsP[i]. unsigned i = 0, idx = 2; - for (auto ai = cs.arg_begin(), ae = cs.arg_end(); ai != ae; ++ai, ++i) { + for (auto ai = cb.arg_begin(), ae = cb.arg_end(); ai != ae; ++ai, ++i) { // Determine the type the argument will be passed as. This accommodates for // the corresponding code in Executor.cpp for handling calls to bitcasted // functions. -- cgit 1.4.1