Skip to content

Commit

Permalink
Add back bitwise not to fix unittest failure
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronj0 committed May 20, 2024
1 parent 45794b0 commit a764da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Interpreter/CppInterOp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3154,7 +3154,7 @@ namespace Cpp {
auto* const Ctor = GetDefaultConstructor(Class);
if (JitCall JC = MakeFunctionCallable(Ctor)) {
if (arena) {
JC.Invoke(&arena, {}, (void*)0); // Tell Invoke to use placement new.
JC.Invoke(&arena, {}, (void*)~0); // Tell Invoke to use placement new.
return arena;
}

Expand Down

0 comments on commit a764da1

Please # to comment.