From b175e75d2b247b3687061cf51174e72f8ada4aca Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Wed, 3 Apr 2019 18:15:00 -0700 Subject: Use target features section in wasm-opt (#1967) If the user does not supply features explicitly on the command line, read and use the features in the target features section for validation and passes. If the user does supply features explicitly, error if they are not a superset of the features marked as used in the target features section and the user does not explicitly handle this. --- src/wasm/wasm-binary.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wasm/wasm-binary.cpp') diff --git a/src/wasm/wasm-binary.cpp b/src/wasm/wasm-binary.cpp index 643f69dde..385ee0ccb 100644 --- a/src/wasm/wasm-binary.cpp +++ b/src/wasm/wasm-binary.cpp @@ -17,10 +17,10 @@ #include #include -#include "support/bits.h" #include "wasm-binary.h" #include "wasm-stack.h" #include "ir/module-utils.h" +#include "support/bits.h" namespace wasm { -- cgit v1.2.3