From e165020f87f807179d27203195843c88fb8afe55 Mon Sep 17 00:00:00 2001 From: Michael Bebenita Date: Wed, 13 Jan 2016 20:13:04 -0800 Subject: Use LLVM style static polymorphism for WasmVisitors. --- test/example/find_div0s.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/example/find_div0s.cpp') diff --git a/test/example/find_div0s.cpp b/test/example/find_div0s.cpp index d09f1de55..3dffa30b5 100644 --- a/test/example/find_div0s.cpp +++ b/test/example/find_div0s.cpp @@ -38,7 +38,7 @@ int main() { // Search it for divisions by zero: Walk the module, looking for // that operation. - struct DivZeroSeeker : public WasmWalker { + struct DivZeroSeeker : public WasmWalker { void visitBinary(Binary* curr) { // In every Binary, look for integer divisions if (curr->op == BinaryOp::DivS || curr->op == BinaryOp::DivU) { -- cgit v1.2.3