Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
sletz committed Apr 9, 2024
1 parent 5cec1d9 commit 031c88f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
8 changes: 1 addition & 7 deletions compiler/generator/wasm/wasm_instructions.hh
Original file line number Diff line number Diff line change
Expand Up @@ -804,13 +804,7 @@ class WASMInstVisitor : public DispatchVisitor, public WASInst {
}
finishSection(start);
}

virtual void visit(AddSoundfileInst* inst)
{
// Not supported for now
// throw faustexception("ERROR : 'soundfile' primitive not yet supported for wasm\n");
}


virtual void visit(DeclareVarInst* inst)
{
bool is_struct = inst->fAddress->isStruct() || inst->fAddress->isStaticStruct();
Expand Down
8 changes: 1 addition & 7 deletions compiler/generator/wasm/wast_instructions.hh
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,7 @@ class WASTInstVisitor : public TextInstVisitor, public WASInst {
}

virtual ~WASTInstVisitor() {}

virtual void visit(AddSoundfileInst* inst)
{
// Not supported for now
// throw faustexception("ERROR : 'soundfile' primitive not yet supported for wast\n");
}


virtual void visit(DeclareVarInst* inst)
{
bool is_struct = inst->fAddress->isStruct() || inst->fAddress->isStaticStruct();
Expand Down

0 comments on commit 031c88f

Please sign in to comment.