Skip to content

Commit faa8e79

Browse files
committed
remove the box byreflike retry code
we handle box byreflike code patterns directly now
1 parent 9268a9c commit faa8e79

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/mono/mono/mini/interp/transform.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7177,14 +7177,6 @@ generate_code (TransformData *td, MonoMethod *method, MonoMethodHeader *header,
71777177
/* already boxed, do nothing. */
71787178
td->ip += 5;
71797179
} else {
7180-
if (G_UNLIKELY (m_class_is_byreflike (klass)) && !td->optimized) {
7181-
if (td->verbose_level)
7182-
g_print ("Box byreflike detected. Retry compilation with full optimization.\n");
7183-
td->retry_compilation = TRUE;
7184-
td->retry_with_inlining = TRUE;
7185-
goto exit;
7186-
}
7187-
71887180
const gboolean vt = mono_mint_type (m_class_get_byval_arg (klass)) == MINT_TYPE_VT;
71897181

71907182
if (td->sp [-1].type == STACK_TYPE_R8 && m_class_get_byval_arg (klass)->type == MONO_TYPE_R4)

0 commit comments

Comments
 (0)