diff --git a/src/mono/mono/mini/interp/transform-simd.c b/src/mono/mono/mini/interp/transform-simd.c index 13f52192a4e05..b259d3f994b1a 100644 --- a/src/mono/mono/mini/interp/transform-simd.c +++ b/src/mono/mono/mini/interp/transform-simd.c @@ -145,7 +145,6 @@ static gboolean emit_sri_vector128 (TransformData *td, MonoMethod *cmethod, MonoMethodSignature *csignature) { int id = lookup_intrins (sri_vector128_methods, sizeof (sri_vector128_methods), cmethod); - int vector_size = -1; if (id == -1) return FALSE; @@ -168,9 +167,8 @@ emit_sri_vector128 (TransformData *td, MonoMethod *cmethod, MonoMethodSignature MonoTypeEnum atype = arg_type->type; if (atype == MONO_TYPE_BOOLEAN) return FALSE; - vector_size = mono_class_value_size (vector_klass, NULL); + int vector_size = mono_class_value_size (vector_klass, NULL); int arg_size = mono_class_value_size (mono_class_from_mono_type_internal (arg_type), NULL); - g_assert (arg_size > -1); g_assert (vector_size == SIZEOF_V128); int scalar_arg = -1; @@ -179,8 +177,6 @@ emit_sri_vector128 (TransformData *td, MonoMethod *cmethod, MonoMethodSignature scalar_arg = i; } - g_assert (scalar_arg != -3274); - switch (id) { case SN_AndNot: simd_opcode = MINT_SIMD_INTRINS_P_PP; diff --git a/src/mono/wasm/runtime/jiterpreter.ts b/src/mono/wasm/runtime/jiterpreter.ts index a172d3a196e23..81fe2382d55c3 100644 --- a/src/mono/wasm/runtime/jiterpreter.ts +++ b/src/mono/wasm/runtime/jiterpreter.ts @@ -97,8 +97,6 @@ export const disabledOpcodes: Array = [ // Having any items in this list will add some overhead to the jitting of *all* traces // These names can be substrings and instrumentation will happen if the substring is found in the full name export const instrumentedMethodNames: Array = [ - "WidenFourAsciiBytesToUtf16AndWriteToBuffer", - "ToBase64CharsLarge" ]; export class InstrumentedTraceState {