diff options
Diffstat (limited to 'src/binaryen-c.h')
-rw-r--r-- | src/binaryen-c.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/binaryen-c.h b/src/binaryen-c.h index d064ceb5c..6239befd2 100644 --- a/src/binaryen-c.h +++ b/src/binaryen-c.h @@ -2124,6 +2124,14 @@ BINARYEN_API BinaryenIndex BinaryenGetOneCallerInlineMaxSize(void); // Applies to all modules, globally. BINARYEN_API void BinaryenSetOneCallerInlineMaxSize(BinaryenIndex size); +// Gets whether heavyweight functions are allowed to be inlined. +// Applies to all modules, globally. +BINARYEN_API int BinaryenGetAllowHeavyweight(void); + +// Sets whether heavyweight functions are allowed to be inlined. +// Applies to all modules, globally. +BINARYEN_API void BinaryenSetAllowHeavyweight(int enabled); + // Runs the specified passes on the module. Uses the currently set global // optimize and shrink level. BINARYEN_API void BinaryenModuleRunPasses(BinaryenModuleRef module, |