| Index: src/runtime.h
|
| diff --git a/src/runtime.h b/src/runtime.h
|
| index 566a5ebeabef50f7c30c3f090752f0e2a8bc50b4..b0cc564ba112eabe715126e24daaf594351374e3 100644
|
| --- a/src/runtime.h
|
| +++ b/src/runtime.h
|
| @@ -662,6 +662,8 @@ namespace internal {
|
| // INLINE_OPTIMIZED_FUNCTION_LIST defines all inlined functions accessed
|
| // with a native call of the form %_name from within JS code that also have
|
| // a corresponding runtime function, that is called from non-optimized code.
|
| +// For the benefit of (fuzz) tests, the runtime version can also be called
|
| +// directly as %name (i.e. without the leading underscore).
|
| // Entries have the form F(name, number of arguments, number of return values).
|
| #define INLINE_OPTIMIZED_FUNCTION_LIST(F) \
|
| /* Typed Arrays */ \
|
| @@ -734,6 +736,7 @@ class Runtime : public AllStatic {
|
| enum FunctionId {
|
| #define F(name, nargs, ressize) k##name,
|
| RUNTIME_FUNCTION_LIST(F)
|
| + INLINE_OPTIMIZED_FUNCTION_LIST(F)
|
| #undef F
|
| #define F(name, nargs, ressize) kHidden##name,
|
| RUNTIME_HIDDEN_FUNCTION_LIST(F)
|
|
|