Index: src/wasm/wasm-module.h |
diff --git a/src/wasm/wasm-module.h b/src/wasm/wasm-module.h |
index d7d1abd25e8ef707c45f3a553706647780d80dd9..39b8715412e007c0eca5566235c2723fc6062c3c 100644 |
--- a/src/wasm/wasm-module.h |
+++ b/src/wasm/wasm-module.h |
@@ -334,7 +334,8 @@ struct V8_EXPORT_PRIVATE ModuleEnv { |
return &module->function_tables[index]; |
} |
- bool asm_js() { return module->is_asm_js(); } |
+ bool is_asm_js() const { return module->is_asm_js(); } |
+ bool is_wasm() const { return module->is_wasm(); } |
// Only used for testing. |
Handle<Code> GetFunctionCode(uint32_t index) { |