summaryrefslogtreecommitdiff
path: root/src/passes/OptimizeInstructions.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-11-15 14:43:32 -0800
committerGitHub <noreply@github.com>2020-11-15 14:43:32 -0800
commit59a74f9bfc83bd1cf67208bb41ecb3f9bda492e6 (patch)
tree730db8c1ea68e2cbfbff046fd1dbc49fd186c121 /src/passes/OptimizeInstructions.cpp
parent6f433967372455aff90a6e0f03a72c403d77fd12 (diff)
downloadbinaryen-59a74f9bfc83bd1cf67208bb41ecb3f9bda492e6.tar.gz
binaryen-59a74f9bfc83bd1cf67208bb41ecb3f9bda492e6.tar.bz2
binaryen-59a74f9bfc83bd1cf67208bb41ecb3f9bda492e6.zip
Minor code cleanups. NFC (#3364)
The vacuum code can be deleted as it is handled by the default anyhow.
Diffstat (limited to 'src/passes/OptimizeInstructions.cpp')
-rw-r--r--src/passes/OptimizeInstructions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/OptimizeInstructions.cpp b/src/passes/OptimizeInstructions.cpp
index 019d6bda1..56c99984a 100644
--- a/src/passes/OptimizeInstructions.cpp
+++ b/src/passes/OptimizeInstructions.cpp
@@ -19,6 +19,7 @@
//
#include <algorithm>
+#include <cmath>
#include <type_traits>
#include <ir/abstract.h>
@@ -33,7 +34,6 @@
#include <ir/utils.h>
#include <pass.h>
#include <support/threads.h>
-#include <wasm-s-parser.h>
#include <wasm.h>
// TODO: Use the new sign-extension opcodes where appropriate. This needs to be