[llvm] d3715b5 - [ORC] Make WrapperFunctionResult::zeroInit static
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 12 22:15:26 PST 2020
Author: Lang Hames
Date: 2020-11-13T17:15:13+11:00
New Revision: d3715b5a060f12d03cf8c18d4f4115091066ef07
URL: https://github.com/llvm/llvm-project/commit/d3715b5a060f12d03cf8c18d4f4115091066ef07
DIFF: https://github.com/llvm/llvm-project/commit/d3715b5a060f12d03cf8c18d4f4115091066ef07.diff
LOG: [ORC] Make WrapperFunctionResult::zeroInit static
Added:
Modified:
llvm/include/llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h b/llvm/include/llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h
index 9f958989f46d..f43b9299c045 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/Shared/TargetProcessControlTypes.h
@@ -158,7 +158,7 @@ class WrapperFunctionResult {
uint64_t Size);
private:
- void zeroInit(CWrapperFunctionResult &R) {
+ static void zeroInit(CWrapperFunctionResult &R) {
R.Size = 0;
R.Data.ValuePtr = nullptr;
R.Destroy = nullptr;
More information about the llvm-commits
mailing list