Skip to content

Commit f5b45a2

Browse files
committed
format fix
1 parent 57e9da2 commit f5b45a2

File tree

13 files changed

+4
-14
lines changed

13 files changed

+4
-14
lines changed

src/bridge/jasmin-bridge/JasminBridge.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ export class JasminBridge {
5757
constructor() {
5858
const rawLines = readFileSync(resolve(cwd, "makeref")).toString().split("\n");
5959

60-
const matchGroups = rawLines[0].match(/fn (?<name>\w+) \((?<params>(reg u64 [\w.]+,? ?)+)\) -> \(\) {/)
61-
?.groups;
60+
const matchGroups = rawLines[0].match(
61+
/fn (?<name>\w+) \((?<params>(reg u64 [\w.]+,? ?)+)\) -> \(\) {/,
62+
)?.groups;
6263
if (!matchGroups) {
6364
throw new Error("unsupported function signature");
6465
}

test/RegisterAllocator.class.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*/
1616

1717
/* eslint-disable @typescript-eslint/no-explicit-any */
18-
18+
1919
import { afterAll, describe, expect, it, vi } from "vitest";
2020

2121
import {

test/bitcoin-core-bridge/helpers.ts

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
1817
import { describe, expect, it } from "vitest";
1918

2019
import { getArguments, getScalarsAndImmMappedAsConstArg } from "@/bridge/bitcoin-core-bridge/helpers";

test/helpers/helpers.ts

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
1817
import { describe, expect, it } from "vitest";
1918

2019
import { C_DI_SPILL_LOCATION, DECISION_IDENTIFIER } from "@/enums";

test/instructionGeneration/bitwiseOps.ts

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
1817
import type { SpyInstance } from "vitest";
1918
import { afterAll, beforeAll, beforeEach, describe, expect, it, vi } from "vitest";
2019

test/instructionGeneration/cmp.ts

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

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

test/instructionGeneration/limb.ts

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
1817
import { describe, expect, it, vi } from "vitest";
1918

2019
import { AllocationFlags, C_DI_SPILL_LOCATION, DECISION_IDENTIFIER, Flags, Register } from "@/enums";

test/instructionGeneration/mov.ts

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
1817
import { describe, expect, it, vi } from "vitest";
1918

2019
import { AllocationFlags, C_DI_SPILL_LOCATION, DECISION_IDENTIFIER, Register, XmmRegister } from "@/enums";

test/instructionGeneration/multiplication.ts

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
1817
import { afterAll, beforeEach, describe, expect, it, vi } from "vitest";
1918

2019
import { AllocationFlags, C_DI_SPILL_LOCATION, DECISION_IDENTIFIER, Register } from "@/enums";

test/instructionGeneration/multiplication_byte.ts

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
1817
import { beforeEach, describe, expect, it, vi } from "vitest";
1918

2019
import { AllocationFlags, ByteRegister, C_DI_SPILL_LOCATION, DECISION_IDENTIFIER, Register } from "@/enums";

test/instructionGeneration/multiplication_imm.ts

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
1817
import { describe, expect, it, vi } from "vitest";
1918

2019
import {

test/instructionGeneration/shift.ts

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
1817
import { describe, expect, it, vi } from "vitest";
1918

2019
import { AllocationFlags, C_DI_SPILL_LOCATION, DECISION_IDENTIFIER, Register } from "@/enums";

test/model.helper.ts

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
* limitations under the License.
1515
*/
1616

17-
1817
import { describe, expect, it } from "vitest";
1918

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

0 commit comments

Comments
 (0)