Skip to content

Commit

Permalink
Delete dead code (dotnet#110749)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotas authored Dec 16, 2024
1 parent 1d69684 commit da7e06c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
4 changes: 0 additions & 4 deletions src/coreclr/inc/ceegen.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,6 @@ class CCeeGen : public ICeeGenInternal {
_In_ LPWSTR lpString, // [IN] String to emit
ULONG *RVA);

STDMETHODIMP GetString (
ULONG RVA,
__inout LPWSTR *lpString);

STDMETHODIMP AllocateMethodBuffer (
ULONG cchBuffer, // [IN] Length of string to emit
UCHAR **lpBuffer, // [OUT] Returned buffer
Expand Down
5 changes: 0 additions & 5 deletions src/coreclr/inc/corpriv.h
Original file line number Diff line number Diff line change
Expand Up @@ -379,11 +379,6 @@ DECLARE_INTERFACE_(ICeeGenInternal, IUnknown)
LPWSTR lpString, // [IN] String to emit
ULONG * RVA) PURE; // [OUT] RVA for string emitted string

STDMETHOD(GetString) (
ULONG RVA, // [IN] RVA for string to return
_Out_opt_
LPWSTR * lpString) PURE; // [OUT] Returned string

STDMETHOD(AllocateMethodBuffer) (
ULONG cchBuffer, // [IN] Length of buffer to create
UCHAR * *lpBuffer, // [OUT] Returned buffer
Expand Down
15 changes: 0 additions & 15 deletions src/coreclr/md/ceefilegen/cceegen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,21 +110,6 @@ STDMETHODIMP CCeeGen::EmitString (_In_ LPWSTR lpString, ULONG *RVA)
return hr;
}

STDMETHODIMP CCeeGen::GetString(ULONG RVA, __inout LPWSTR *lpString)
{
HRESULT hr = E_FAIL;

if (! lpString)
IfFailGo(E_POINTER);
*lpString = (LPWSTR)getStringSection().computePointer(RVA);


ErrExit:
if (*lpString)
return S_OK;
return hr;
}

STDMETHODIMP CCeeGen::AllocateMethodBuffer(ULONG cchBuffer, UCHAR **lpBuffer, ULONG *RVA)
{
HRESULT hr = S_OK;
Expand Down

0 comments on commit da7e06c

Please sign in to comment.