diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2025-12-23 13:12:02 -0700 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2026-05-22 16:30:56 -0400 |
| commit | 8d621c51b2797fda7b1dc22243dde611cfc04f68 (patch) | |
| tree | ba5e6a90e644d21d13e75dabcbd0cc747444443a /view | |
| parent | 08e34ac325743085911f96b62c81d9a1f2127806 (diff) | |
Refactor calling conventions to support correct representation of structures
Diffstat (limited to 'view')
| -rw-r--r-- | view/kernelcache/core/Utility.cpp | 2 | ||||
| -rw-r--r-- | view/sharedcache/core/Utility.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/view/kernelcache/core/Utility.cpp b/view/kernelcache/core/Utility.cpp index d2788faf..920d13e8 100644 --- a/view/kernelcache/core/Utility.cpp +++ b/view/kernelcache/core/Utility.cpp @@ -104,7 +104,7 @@ void ApplySymbol(Ref<BinaryView> view, Ref<TypeLibrary> typeLib, Ref<Symbol> sym if (auto idType = view->GetTypeByName({"id"})) { - callTypeParams.emplace_back("obj", idType, true, Variable()); + callTypeParams.emplace_back("obj", idType, DefaultLocationSource, Variable()); auto funcType = Type::FunctionType(idType, cc, callTypeParams); func->SetUserType(funcType); } diff --git a/view/sharedcache/core/Utility.cpp b/view/sharedcache/core/Utility.cpp index 591bcba5..9ae2c3b4 100644 --- a/view/sharedcache/core/Utility.cpp +++ b/view/sharedcache/core/Utility.cpp @@ -123,7 +123,7 @@ void ApplySymbol(Ref<BinaryView> view, Ref<TypeLibrary> typeLib, Ref<Symbol> sym if (auto idType = view->GetTypeByName({"id"})) { - callTypeParams.emplace_back("obj", idType, true, Variable()); + callTypeParams.emplace_back("obj", idType, DefaultLocationSource, Variable()); auto funcType = Type::FunctionType(idType, cc, callTypeParams); func->SetUserType(funcType); } |
