Skip to content

Commit 0c381e1

Browse files
Removed repeated #ifndef DISABLE_LOGIN from helpers.c. fixes dotnet#83545
1 parent 65d9c26 commit 0c381e1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/mono/mono/mini/helpers.c

-5
Original file line numberDiff line numberDiff line change
@@ -79,17 +79,12 @@ static const gint16 opidx [] = {
7979
#ifndef DISABLE_LOGGING
8080
const char*
8181
mono_inst_name (int op) {
82-
#ifndef DISABLE_LOGGING
8382
if (op >= OP_LOAD && op <= OP_LAST)
8483
return (const char*)&opstr + opidx [op - OP_LOAD];
8584
if (op < OP_LOAD)
8685
return mono_opcode_name (op);
8786
g_error ("unknown opcode name for %d", op);
8887
return NULL;
89-
#else
90-
g_error ("unknown opcode name for %d", op);
91-
g_assert_not_reached ();
92-
#endif
9388
}
9489
#endif
9590

0 commit comments

Comments
 (0)