Skip to content

Commit

Permalink
fix: Other usages of incorrect op
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanmenzel committed Oct 11, 2024
1 parent 4757566 commit d17904c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/awst_build/eb/storage/box/box-ref.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class BoxRefExpressionBuilder extends BoxProxyExpressionBuilder<BoxRefPTy
case 'exists':
case 'length': {
const boxLength = nodeFactory.intrinsicCall({
opCode: 'box_length',
opCode: 'box_len',
stackArgs: [boxValueExpr],
wtype: new WTuple({ types: [uint64WType, boolWType], immutable: true }),
immediates: [],
Expand Down
2 changes: 1 addition & 1 deletion src/awst_build/eb/storage/box/box.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class BoxExpressionBuilder extends BoxProxyExpressionBuilder<BoxPType> {
return instanceEb(
nodeFactory.checkedMaybe({
expr: nodeFactory.intrinsicCall({
opCode: 'box_length',
opCode: 'box_len',
stackArgs: [boxValueExpr],
wtype: new WTuple({ types: [uint64WType, boolWType], immutable: true }),
immediates: [],
Expand Down

0 comments on commit d17904c

Please sign in to comment.