Skip to content

Commit 6da78e1

Browse files
committed
Minor formatting.
1 parent 15baea6 commit 6da78e1

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

WebAssembly/Instructions/Int32CountLeadingZeroes.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ internal sealed override void Compile(CompilationContext context)
4545
[ typeof(uint)
4646
]);
4747

48-
//All modern CPUs have a fast instruction specifically for this process, but there's no way to use it from .NET.
49-
//This algorithm is from https://stackoverflow.com/questions/10439242/count-leading-zeroes-in-an-int32
50-
var il = result.GetILGenerator();
48+
//All modern CPUs have a fast instruction specifically for this process, but there's no way to use it from .NET.
49+
//This algorithm is from https://stackoverflow.com/questions/10439242/count-leading-zeroes-in-an-int32
50+
var il = result.GetILGenerator();
5151
il.Emit(OpCodes.Ldarg_0);
5252
il.Emit(OpCodes.Ldarg_0);
5353
il.Emit(OpCodes.Ldc_I4_1);
@@ -91,7 +91,7 @@ [ typeof(uint)
9191

9292
return result;
9393
}
94-
]);
94+
]);
9595
#endif
9696
}
9797
}

WebAssembly/Instructions/Int32CountTrailingZeroes.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ internal sealed override void Compile(CompilationContext context)
4545
[ typeof(uint)
4646
]);
4747

48-
//All modern CPUs have a fast instruction specifically for this process, but there's no way to use it from .NET.
49-
//Based on the algorithm found here: http://aggregate.org/MAGIC/#Trailing%20Zero%20Count
50-
var il = result.GetILGenerator();
48+
//All modern CPUs have a fast instruction specifically for this process, but there's no way to use it from .NET.
49+
//Based on the algorithm found here: http://aggregate.org/MAGIC/#Trailing%20Zero%20Count
50+
var il = result.GetILGenerator();
5151
il.Emit(OpCodes.Ldarg_0);
5252
il.Emit(OpCodes.Ldarg_0);
5353
il.Emit(OpCodes.Neg);

WebAssembly/Instructions/Int64CountLeadingZeroes.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ internal sealed override void Compile(CompilationContext context)
4545
[ typeof(ulong)
4646
]);
4747

48-
//All modern CPUs have a fast instruction specifically for this process, but there's no way to use it from .NET.
49-
//This algorithm is extended from https://stackoverflow.com/questions/10439242/count-leading-zeroes-in-an-int32
50-
var il = result.GetILGenerator();
48+
//All modern CPUs have a fast instruction specifically for this process, but there's no way to use it from .NET.
49+
//This algorithm is extended from https://stackoverflow.com/questions/10439242/count-leading-zeroes-in-an-int32
50+
var il = result.GetILGenerator();
5151
il.Emit(OpCodes.Ldarg_0);
5252
il.Emit(OpCodes.Ldarg_0);
5353
il.Emit(OpCodes.Ldc_I4_1);

WebAssembly/Instructions/Int64CountTrailingZeroes.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ internal sealed override void Compile(CompilationContext context)
4545
[ typeof(ulong)
4646
]);
4747

48-
//All modern CPUs have a fast instruction specifically for this process, but there's no way to use it from .NET.
49-
//Based on the algorithm found here: http://aggregate.org/MAGIC/#Trailing%20Zero%20Count
50-
var il = result.GetILGenerator();
48+
//All modern CPUs have a fast instruction specifically for this process, but there's no way to use it from .NET.
49+
//Based on the algorithm found here: http://aggregate.org/MAGIC/#Trailing%20Zero%20Count
50+
var il = result.GetILGenerator();
5151
il.Emit(OpCodes.Ldarg_0);
5252
il.Emit(OpCodes.Ldarg_0);
5353
il.Emit(OpCodes.Neg);

0 commit comments

Comments
 (0)