#if !V8_ENABLE_WEBASSEMBLY
#error This header should only be included if WebAssembly is enabled.
#endif
#ifndef V8_WASM_WASM_FEATURES_H_
#define V8_WASM_WASM_FEATURES_H_
#include <iosfwd>
#include <string>
#include "src/base/small-vector.h"
#include "src/common/globals.h"
#include "src/wasm/wasm-feature-flags.h"
#define FOREACH_WASM_NON_FLAG_FEATURE(V) …
#define FOREACH_WASM_FEATURE(V) …
namespace v8::internal::wasm {
enum class WasmEnabledFeature { … };
enum class WasmDetectedFeature { … };
class WasmEnabledFeatures : public base::EnumSet<WasmEnabledFeature> { … };
class WasmDetectedFeatures : public base::EnumSet<WasmDetectedFeature> { … };
inline constexpr const char* name(WasmEnabledFeature feature) { … }
inline std::ostream& operator<<(std::ostream& os, WasmEnabledFeature feature) { … }
inline constexpr const char* name(WasmDetectedFeature feature) { … }
inline std::ostream& operator<<(std::ostream& os, WasmDetectedFeature feature) { … }
enum class CompileTimeImport { … };
inline std::ostream& operator<<(std::ostream& os, CompileTimeImport imp) { … }
CompileTimeImportFlags;
class CompileTimeImports { … };
}
#endif