diff options
Diffstat (limited to 'src/binaryen-c.h')
-rw-r--r-- | src/binaryen-c.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/binaryen-c.h b/src/binaryen-c.h index 6239befd2..893d44e3c 100644 --- a/src/binaryen-c.h +++ b/src/binaryen-c.h @@ -2124,13 +2124,13 @@ 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. +// Gets whether functions with loops are allowed to be inlined. // Applies to all modules, globally. -BINARYEN_API int BinaryenGetAllowHeavyweight(void); +BINARYEN_API int BinaryenGetAllowInliningFunctionsWithLoops(void); -// Sets whether heavyweight functions are allowed to be inlined. +// Sets whether functions with loops are allowed to be inlined. // Applies to all modules, globally. -BINARYEN_API void BinaryenSetAllowHeavyweight(int enabled); +BINARYEN_API void BinaryenSetAllowInliningFunctionsWithLoops(int enabled); // Runs the specified passes on the module. Uses the currently set global // optimize and shrink level. |