Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Find where we use ComPlusMethodFrame.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Andreenko committed May 16, 2019
1 parent 882ef23 commit 1038c81
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/vm/clrtocomcall.cpp
Expand Up @@ -1109,6 +1109,8 @@ void ComPlusMethodFrame::GetUnmanagedCallSite(TADDR* ip,
}
CONTRACTL_END;

_ASSERTE(false);

LOG((LF_CORDB, LL_INFO100000, "ComPlusMethodFrame::GetUnmanagedCallSite\n"));

if (ip != NULL)
Expand Down Expand Up @@ -1148,6 +1150,8 @@ BOOL ComPlusMethodFrame::TraceFrame(Thread *thread, BOOL fromPatch,
}
CONTRACTL_END;

_ASSERTE(false);

//
// Get the call site info
//
Expand Down
2 changes: 2 additions & 0 deletions src/vm/frames.cpp
Expand Up @@ -1432,6 +1432,8 @@ void ComPlusMethodFrame::GcScanRoots(promote_func *fn, ScanContext* sc)
FramedMethodFrame::GcScanRoots(fn, sc);
PromoteCallerStack(fn, sc);

_ASSERTE(false);

MetaSig::RETURNTYPE returnType = GetFunction()->ReturnsObject();

// Promote the returned object
Expand Down
2 changes: 2 additions & 0 deletions src/vm/frames.h
Expand Up @@ -2016,12 +2016,14 @@ class ComPlusMethodFrame : public FramedMethodFrame
virtual BOOL IsTransitionToNativeFrame()
{
LIMITED_METHOD_CONTRACT;
_ASSERTE(false);
return TRUE;
}

int GetFrameType()
{
LIMITED_METHOD_DAC_CONTRACT;
_ASSERTE(false);
return TYPE_EXIT;
}

Expand Down

0 comments on commit 1038c81

Please sign in to comment.