Skip to content

Commit

Permalink
Remove some extraneous spaces and unneeded changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinWise committed Dec 3, 2022
1 parent 0dd4e62 commit 3da32c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/coreclr/nativeaot/Runtime/interoplibinterface_objc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ namespace
->GetTypeManagerPtr()
->AsTypeManager()
->GetClasslibFunction(ClasslibFunctionId::ObjectiveCMarshalTryGetTaggedMemory);

ASSERT(fn != nullptr);

auto pTryGetTaggedMemoryCallback = reinterpret_cast<ObjCMarshalNative::TryGetTaggedMemoryCallback>(fn);
Expand Down Expand Up @@ -128,7 +128,7 @@ bool ObjCMarshalNative::IsTrackedReference(_In_ Object * object, _Out_ bool* isR

if (!object->GetGCSafeMethodTable()->IsTrackedReferenceWithFinalizer())
return false;

auto pIsReferencedCallbackCallback = GetCallbackViaClasslibCallback<ObjCMarshalNative::IsReferencedCallback>(
object, ClasslibFunctionId::ObjectiveCMarshalGetIsTrackedReferenceCallback);

Expand All @@ -140,7 +140,7 @@ bool ObjCMarshalNative::IsTrackedReference(_In_ Object * object, _Out_ bool* isR
ASSERT(false);
return false;
}

int result = pIsReferencedCallbackCallback(taggedMemory);

*isReferenced = (result != 0);
Expand Down
1 change: 0 additions & 1 deletion src/coreclr/nativeaot/Runtime/startup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include "stressLog.h"
#include "RestrictedCallouts.h"
#include "yieldprocessornormalized.h"
#include "interoplibinterface.h"

#ifndef DACCESS_COMPILE

Expand Down

0 comments on commit 3da32c9

Please sign in to comment.