Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/cfg/Relooper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,6 @@ wasm::Expression* Block::Render(RelooperBuilder& Builder, bool InLoop) {
auto Base = std::string("switch$") + std::to_string(Id);
auto SwitchDefault = wasm::Name(Base + "$default");
auto SwitchLeave = wasm::Name(Base + "$leave");
std::map<Block*, wasm::Name> BlockNameMap;
auto* Outer = Builder.makeBlock();
auto* Inner = Outer;
std::vector<wasm::Name> Table;
Expand Down
1 change: 0 additions & 1 deletion src/passes/GenerateDynCalls.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ struct GenerateDynCalls : public WalkerPass<PostWalker<GenerateDynCalls>> {
return segment->table == table->name;
});
if (it != segments.end()) {
std::vector<Name> tableSegmentData;
ElementUtils::iterElementSegmentFunctionNames(
it->get(), [&](Name name, Index) {
generateDynCallThunk(wasm->getFunction(name)->type.getHeapType());
Expand Down
1 change: 0 additions & 1 deletion src/passes/ReorderLocals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ struct ReorderLocals : public WalkerPass<PostWalker<ReorderLocals>> {
reIndexer.walk(curr->body);
// apply to the names
auto oldLocalNames = curr->localNames;
auto oldLocalIndices = curr->localIndices;
curr->localNames.clear();
curr->localIndices.clear();
for (size_t i = 0; i < newToOld.size(); i++) {
Expand Down
2 changes: 0 additions & 2 deletions src/tools/wasm-ctor-eval.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1540,8 +1540,6 @@ static bool canEval(Module& wasm) {
//

int main(int argc, const char* argv[]) {
Name entry;
std::vector<std::string> passes;
bool emitBinary = true;
bool debugInfo = false;
String::Split ctors;
Expand Down
2 changes: 0 additions & 2 deletions src/tools/wasm-metadce.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,6 @@ struct MetaDCEGraph {
//

int main(int argc, const char* argv[]) {
Name entry;
std::vector<std::string> passes;
bool emitBinary = true;
bool debugInfo = false;
std::string graphFile;
Expand Down
3 changes: 0 additions & 3 deletions src/tools/wasm-shell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -655,9 +655,6 @@ struct Shell {
};

int main(int argc, const char* argv[]) {
Name entry;
std::set<size_t> skipped;

// Read stdin by default.
std::string infile = "-";
Options options("wasm-shell", "Execute .wast files");
Expand Down
Loading