Remove stale comment for MJIT

This commit is contained in:
Nobuyoshi Nakada 2025-02-13 13:06:59 +09:00
parent 38cf09fc70
commit 908fe85dfc
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

View File

@ -2179,7 +2179,6 @@ rb_w32_wstr_to_mbstr(UINT cp, const WCHAR *wstr, int clen, long *plen)
WCHAR *
rb_w32_mbstr_to_wstr(UINT cp, const char *str, int clen, long *plen)
{
/* This is used by RJIT worker. Do not trigger GC or call Ruby method here. */
WCHAR *ptr;
int len = MultiByteToWideChar(cp, 0, str, clen, NULL, 0);
if (!(ptr = malloc(sizeof(WCHAR) * len))) return 0;