Skip to content

Commit 3a8b2f6

Browse files
committed
Revert changes
1 parent 400127d commit 3a8b2f6

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

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

+1-5
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ static gboolean
145145
emit_sri_vector128 (TransformData *td, MonoMethod *cmethod, MonoMethodSignature *csignature)
146146
{
147147
int id = lookup_intrins (sri_vector128_methods, sizeof (sri_vector128_methods), cmethod);
148-
int vector_size = -1;
149148
if (id == -1)
150149
return FALSE;
151150

@@ -168,9 +167,8 @@ emit_sri_vector128 (TransformData *td, MonoMethod *cmethod, MonoMethodSignature
168167
MonoTypeEnum atype = arg_type->type;
169168
if (atype == MONO_TYPE_BOOLEAN)
170169
return FALSE;
171-
vector_size = mono_class_value_size (vector_klass, NULL);
170+
int vector_size = mono_class_value_size (vector_klass, NULL);
172171
int arg_size = mono_class_value_size (mono_class_from_mono_type_internal (arg_type), NULL);
173-
g_assert (arg_size > -1);
174172
g_assert (vector_size == SIZEOF_V128);
175173

176174
int scalar_arg = -1;
@@ -179,8 +177,6 @@ emit_sri_vector128 (TransformData *td, MonoMethod *cmethod, MonoMethodSignature
179177
scalar_arg = i;
180178
}
181179

182-
g_assert (scalar_arg != -3274);
183-
184180
switch (id) {
185181
case SN_AndNot:
186182
simd_opcode = MINT_SIMD_INTRINS_P_PP;

src/mono/wasm/runtime/jiterpreter.ts

-2
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,6 @@ export const disabledOpcodes: Array<MintOpcode> = [
9797
// Having any items in this list will add some overhead to the jitting of *all* traces
9898
// These names can be substrings and instrumentation will happen if the substring is found in the full name
9999
export const instrumentedMethodNames: Array<string> = [
100-
"WidenFourAsciiBytesToUtf16AndWriteToBuffer",
101-
"ToBase64CharsLarge"
102100
];
103101

104102
export class InstrumentedTraceState {

0 commit comments

Comments
 (0)