Skip to content

Commit

Permalink
format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dderjoel committed Jun 18, 2024
1 parent 57e9da2 commit f5b45a2
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 14 deletions.
5 changes: 3 additions & 2 deletions src/bridge/jasmin-bridge/JasminBridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ export class JasminBridge {
constructor() {
const rawLines = readFileSync(resolve(cwd, "makeref")).toString().split("\n");

const matchGroups = rawLines[0].match(/fn (?<name>\w+) \((?<params>(reg u64 [\w.]+,? ?)+)\) -> \(\) {/)
?.groups;
const matchGroups = rawLines[0].match(
/fn (?<name>\w+) \((?<params>(reg u64 [\w.]+,? ?)+)\) -> \(\) {/,
)?.groups;
if (!matchGroups) {
throw new Error("unsupported function signature");
}
Expand Down
2 changes: 1 addition & 1 deletion test/RegisterAllocator.class.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/* eslint-disable @typescript-eslint/no-explicit-any */

import { afterAll, describe, expect, it, vi } from "vitest";

import {
Expand Down
1 change: 0 additions & 1 deletion test/bitcoin-core-bridge/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* limitations under the License.
*/


import { describe, expect, it } from "vitest";

import { getArguments, getScalarsAndImmMappedAsConstArg } from "@/bridge/bitcoin-core-bridge/helpers";
Expand Down
1 change: 0 additions & 1 deletion test/helpers/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* limitations under the License.
*/


import { describe, expect, it } from "vitest";

import { C_DI_SPILL_LOCATION, DECISION_IDENTIFIER } from "@/enums";
Expand Down
1 change: 0 additions & 1 deletion test/instructionGeneration/bitwiseOps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* limitations under the License.
*/


import type { SpyInstance } from "vitest";
import { afterAll, beforeAll, beforeEach, describe, expect, it, vi } from "vitest";

Expand Down
1 change: 0 additions & 1 deletion test/instructionGeneration/cmp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* limitations under the License.
*/


import { defaults } from "lodash-es";
import { describe, expect, it, vi } from "vitest";

Expand Down
1 change: 0 additions & 1 deletion test/instructionGeneration/limb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* limitations under the License.
*/


import { describe, expect, it, vi } from "vitest";

import { AllocationFlags, C_DI_SPILL_LOCATION, DECISION_IDENTIFIER, Flags, Register } from "@/enums";
Expand Down
1 change: 0 additions & 1 deletion test/instructionGeneration/mov.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* limitations under the License.
*/


import { describe, expect, it, vi } from "vitest";

import { AllocationFlags, C_DI_SPILL_LOCATION, DECISION_IDENTIFIER, Register, XmmRegister } from "@/enums";
Expand Down
1 change: 0 additions & 1 deletion test/instructionGeneration/multiplication.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* limitations under the License.
*/


import { afterAll, beforeEach, describe, expect, it, vi } from "vitest";

import { AllocationFlags, C_DI_SPILL_LOCATION, DECISION_IDENTIFIER, Register } from "@/enums";
Expand Down
1 change: 0 additions & 1 deletion test/instructionGeneration/multiplication_byte.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* limitations under the License.
*/


import { beforeEach, describe, expect, it, vi } from "vitest";

import { AllocationFlags, ByteRegister, C_DI_SPILL_LOCATION, DECISION_IDENTIFIER, Register } from "@/enums";
Expand Down
1 change: 0 additions & 1 deletion test/instructionGeneration/multiplication_imm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* limitations under the License.
*/


import { describe, expect, it, vi } from "vitest";

import {
Expand Down
1 change: 0 additions & 1 deletion test/instructionGeneration/shift.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* limitations under the License.
*/


import { describe, expect, it, vi } from "vitest";

import { AllocationFlags, C_DI_SPILL_LOCATION, DECISION_IDENTIFIER, Register } from "@/enums";
Expand Down
1 change: 0 additions & 1 deletion test/model.helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* limitations under the License.
*/


import { describe, expect, it } from "vitest";

import { createDependencyRelation, nodeLookupMap } from "@/model";
Expand Down

0 comments on commit f5b45a2

Please sign in to comment.