Remove stale comment for MJIT
This commit is contained in:
parent
38cf09fc70
commit
908fe85dfc
@ -2179,7 +2179,6 @@ rb_w32_wstr_to_mbstr(UINT cp, const WCHAR *wstr, int clen, long *plen)
|
|||||||
WCHAR *
|
WCHAR *
|
||||||
rb_w32_mbstr_to_wstr(UINT cp, const char *str, int clen, long *plen)
|
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;
|
WCHAR *ptr;
|
||||||
int len = MultiByteToWideChar(cp, 0, str, clen, NULL, 0);
|
int len = MultiByteToWideChar(cp, 0, str, clen, NULL, 0);
|
||||||
if (!(ptr = malloc(sizeof(WCHAR) * len))) return 0;
|
if (!(ptr = malloc(sizeof(WCHAR) * len))) return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user