Skip to content

Commit

Permalink
fix: type of call_indirect instruction (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbguilherme authored Nov 1, 2023
1 parent e3f3d90 commit e4effe5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -989,8 +989,8 @@ declare module binaryen {
switch(labels: string[], defaultLabel: string, condition: ExpressionRef, value?: ExpressionRef): ExpressionRef;
call(name: string, operands: ExpressionRef[], returnType: Type): ExpressionRef;
return_call(name: string, operands: ExpressionRef[], returnType: Type): ExpressionRef;
call_indirect(target: ExpressionRef, operands: ExpressionRef[], params: Type, results: Type): ExpressionRef;
return_call_indirect(target: ExpressionRef, operands: ExpressionRef[], params: Type, results: Type): ExpressionRef;
call_indirect(table: string, target: ExpressionRef, operands: ExpressionRef[], params: Type, results: Type): ExpressionRef;
return_call_indirect(table: string, target: ExpressionRef, operands: ExpressionRef[], params: Type, results: Type): ExpressionRef;
local: {
get(index: number, type: Type): ExpressionRef;
set(index: number, value: ExpressionRef): ExpressionRef;
Expand Down

0 comments on commit e4effe5

Please sign in to comment.