Skip to content

Commit f88d86e

Browse files
committed
fmt
1 parent f73adc9 commit f88d86e

3 files changed

Lines changed: 11 additions & 17 deletions

File tree

src/arc/compiler/emit.gleam

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,14 @@ import arc/vm/opcode.{
1414
IrDefineMethodComputed, IrDeleteElem, IrDeleteField, IrDup, IrForInNext,
1515
IrForInStart, IrGetAsyncIterator, IrGetElem, IrGetElem2, IrGetField,
1616
IrGetField2, IrGetIterator, IrGetPrivateField, IrGetPrivateField2, IrGetThis,
17-
IrGosub,
18-
IrInitGlobalLex, IrInitialYield, IrIteratorCheckObject, IrIteratorClose,
19-
IrIteratorCloseThrow, IrIteratorNext, IrIteratorRest, IrJump, IrJumpIfFalse,
20-
IrJumpIfNullish, IrJumpIfTrue, IrLabel, IrMakeClosure, IrNewObject,
21-
IrNewRegExp, IrObjectRestCopy, IrObjectSpread, IrPop, IrPopTry, IrPrivateIn,
22-
IrPushConst, IrPushTry, IrPutElem, IrPutField, IrPutPrivateField, IrRet,
23-
IrReturn, IrScopeGetVar, IrScopePutVar, IrScopeReboxVar, IrScopeTypeofVar,
24-
IrSetThis, IrSetupDerivedClass, IrSwap, IrThrow, IrTypeOf, IrUnaryOp, IrYield,
25-
IrYieldStar,
17+
IrGosub, IrInitGlobalLex, IrInitialYield, IrIteratorCheckObject,
18+
IrIteratorClose, IrIteratorCloseThrow, IrIteratorNext, IrIteratorRest, IrJump,
19+
IrJumpIfFalse, IrJumpIfNullish, IrJumpIfTrue, IrLabel, IrMakeClosure,
20+
IrNewObject, IrNewRegExp, IrObjectRestCopy, IrObjectSpread, IrPop, IrPopTry,
21+
IrPrivateIn, IrPushConst, IrPushTry, IrPutElem, IrPutField, IrPutPrivateField,
22+
IrRet, IrReturn, IrScopeGetVar, IrScopePutVar, IrScopeReboxVar,
23+
IrScopeTypeofVar, IrSetThis, IrSetupDerivedClass, IrSwap, IrThrow, IrTypeOf,
24+
IrUnaryOp, IrYield, IrYieldStar,
2625
}
2726
import arc/vm/value.{
2827
type JsValue, Finite, JsBool, JsNull, JsNumber, JsString, JsUndefined,

src/arc/compiler/resolve.gleam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ import arc/vm/opcode.{
2424
IrPushTry, IrPutBoxed, IrPutElem, IrPutEvalVar, IrPutField, IrPutGlobal,
2525
IrPutLocal, IrPutPrivateField, IrRet, IrReturn, IrScopeGetVar, IrScopePutVar,
2626
IrScopeReboxVar, IrScopeTypeofVar, IrSetThis, IrSetupDerivedClass, IrSwap,
27-
IrThrow,
28-
IrTypeOf, IrTypeofEvalVar, IrTypeofGlobal, IrUnaryOp, IrYield, IrYieldStar,
27+
IrThrow, IrTypeOf, IrTypeofEvalVar, IrTypeofGlobal, IrUnaryOp, IrYield,
28+
IrYieldStar,
2929
}
3030
import arc/vm/value.{
3131
type EnvCapture, type FuncTemplate, type JsValue, FuncTemplate,

src/arc/vm/realm.gleam

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -455,12 +455,7 @@ fn run_direct_eval(
455455
state,
456456
state.builtins,
457457
source,
458-
compiler.compile_eval_direct(
459-
_,
460-
parent_names,
461-
inherits_this,
462-
caller_strict,
463-
),
458+
compiler.compile_eval_direct(_, parent_names, inherits_this, caller_strict),
464459
)
465460
// Seed locals[0..N-1] with the caller's box refs (pulled from
466461
// caller's locals at the indices in name_table), then the caller's

0 commit comments

Comments
 (0)