Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/coreclr/tools/Common/JitInterface/ThunkGenerator/InstructionSetGenerator.cs')
-rw-r--r--src/coreclr/tools/Common/JitInterface/ThunkGenerator/InstructionSetGenerator.cs10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/coreclr/tools/Common/JitInterface/ThunkGenerator/InstructionSetGenerator.cs b/src/coreclr/tools/Common/JitInterface/ThunkGenerator/InstructionSetGenerator.cs
index fb97127666e..97c4feb5cfb 100644
--- a/src/coreclr/tools/Common/JitInterface/ThunkGenerator/InstructionSetGenerator.cs
+++ b/src/coreclr/tools/Common/JitInterface/ThunkGenerator/InstructionSetGenerator.cs
@@ -375,11 +375,9 @@ namespace Internal.ReadyToRunConstants
// FROM /src/coreclr/tools/Common/JitInterface/ThunkGenerator/InstructionSetDesc.txt
// using /src/coreclr/tools/Common/JitInterface/ThunkGenerator/gen.bat
-using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
-using System.Runtime.InteropServices;
using Internal.TypeSystem;
namespace Internal.JitInterface
@@ -522,7 +520,7 @@ namespace Internal.JitInterface
public IEnumerator<InstructionSet> GetEnumerator()
{
- for (int i = 1; i < (int)InstructionSet.NONE; i ++)
+ for (int i = 1; i < (int)InstructionSet.NONE; i++)
{
InstructionSet instructionSet = (InstructionSet)i;
if (HasInstructionSet(instructionSet))
@@ -581,12 +579,12 @@ namespace Internal.JitInterface
public static InstructionSetFlags ExpandInstructionSetByImplicationHelper(TargetArchitecture architecture, InstructionSetFlags input)
{
- InstructionSetFlags oldflags = input;
+ InstructionSetFlags oldflags;
InstructionSetFlags resultflags = input;
do
{
oldflags = resultflags;
- switch(architecture)
+ switch (architecture)
{
");
foreach (string architecture in _architectures)
@@ -624,7 +622,7 @@ namespace Internal.JitInterface
private static InstructionSetFlags ExpandInstructionSetByReverseImplicationHelper(TargetArchitecture architecture, InstructionSetFlags input)
{
- InstructionSetFlags oldflags = input;
+ InstructionSetFlags oldflags;
InstructionSetFlags resultflags = input;
do
{