Skip to content

Commit 612cd34

Browse files
author
Bo Cupp
committed
Remove remaining __stdcall calling convention from IRecyclerVisitedObject implementations
1 parent 6e782df commit 612cd34

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

bin/GCStress/RecyclerTestObject.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,20 +364,20 @@ class RecyclerVisitedObject : public RecyclerTestObject
364364
return true;
365365
}
366366

367-
virtual void __stdcall Trace(IRecyclerHeapMarkingContext* markContext) override
367+
virtual void Trace(IRecyclerHeapMarkingContext* markContext) override
368368
{
369369
VerifyCondition(type == AllocationType::TraceAndFinalized || type == AllocationType::TraceOnly);
370370
// Note that the pointers in the references arrary are technically tagged. However, this is ok
371371
// as the Mark that we're performing is an interior mark, which gets us to the right object(s).
372372
markContext->MarkObjects(reinterpret_cast<void**>(&references[0]), count, this);
373373
}
374374

375-
virtual void __stdcall Finalize(bool isShutdown) override
375+
virtual void Finalize(bool isShutdown) override
376376
{
377377
// Only types that request finalization should have Finalize called
378378
VerifyCondition(IsFinalizable());
379379
}
380-
virtual void __stdcall Dispose(bool isShutdown) override
380+
virtual void Dispose(bool isShutdown) override
381381
{
382382
// Only types that request finalization should have Finalize called
383383
VerifyCondition(IsFinalizable());

lib/Common/Core/RecyclerHeapMarkingContext.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66

77
interface IRecyclerHeapMarkingContext
88
{
9-
STDMETHOD_(void, MarkObjects)(void** objects, size_t count, void* parent) = 0;
9+
virtual void MarkObjects(void** objects, size_t count, void* parent) = 0;
1010
};
1111

lib/Common/Memory/MarkContextWrapper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class MarkContextWrapper : public IRecyclerHeapMarkingContext
1313
public:
1414
MarkContextWrapper(MarkContext* context) : markContext(context) {}
1515

16-
void __stdcall MarkObjects(void** objects, size_t count, void* parent) override
16+
void MarkObjects(void** objects, size_t count, void* parent) override
1717
{
1818
for (size_t i = 0; i < count; i++)
1919
{

0 commit comments

Comments
 (0)