Skip to content

Commit 46b8b17

Browse files
committed
lint
1 parent e39bd70 commit 46b8b17

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/passes/RemoveUnusedModuleElements.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ struct ReachabilityAnalyzer : public PostWalker<ReachabilityAnalyzer> {
103103
name = module->tables.front()->name;
104104
}
105105

106-
if (reachable.count(
107-
ModuleElement(ModuleElementKind::Table, name)) == 0) {
106+
if (reachable.count(ModuleElement(ModuleElementKind::Table, name)) == 0) {
108107
queue.emplace_back(ModuleElementKind::Table, name);
109108
}
110109
}

src/wasm/wasm-stack.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ void BinaryInstWriter::visitCallIndirect(CallIndirect* curr) {
9090

9191
int8_t op =
9292
curr->isReturn ? BinaryConsts::RetCallIndirect : BinaryConsts::CallIndirect;
93-
o << op << U32LEB(parent.getTypeIndex(curr->sig))
94-
<< U32LEB(tableIdx);
93+
o << op << U32LEB(parent.getTypeIndex(curr->sig)) << U32LEB(tableIdx);
9594
}
9695

9796
void BinaryInstWriter::visitLocalGet(LocalGet* curr) {

0 commit comments

Comments
 (0)