| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index e8c985048455e406c77c6b4c6814261f2cb7ab41..c60143befe447d39c9fc69585d402f80f5416a7b 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -6745,6 +6745,9 @@ class SharedFunctionInfo: public HeapObject {
|
| // global object.
|
| DECL_BOOLEAN_ACCESSORS(native)
|
|
|
| + // Indicate that this builtin needs to be inlined in crankshaft.
|
| + DECL_BOOLEAN_ACCESSORS(inline_builtin)
|
| +
|
| // Indicates that the function was created by the Function function.
|
| // Though it's anonymous, toString should treat it as if it had the name
|
| // "anonymous". We don't set the name itself so that the system does not
|
| @@ -6834,6 +6837,9 @@ class SharedFunctionInfo: public HeapObject {
|
| set_dont_optimize(reason != kNoReason);
|
| }
|
|
|
| + // Check whether or not this function is inlineable.
|
| + bool IsInlineable();
|
| +
|
| // Source size of this function.
|
| int SourceSize();
|
|
|
| @@ -6984,6 +6990,7 @@ class SharedFunctionInfo: public HeapObject {
|
| kUsesArguments,
|
| kHasDuplicateParameters,
|
| kNative,
|
| + kInlineBuiltin,
|
| kBoundFunction,
|
| kIsAnonymous,
|
| kNameShouldPrintAsAnonymous,
|
| @@ -7210,9 +7217,6 @@ class JSFunction: public JSObject {
|
| // Tells whether or not the function is on the concurrent recompilation queue.
|
| inline bool IsInRecompileQueue();
|
|
|
| - // Check whether or not this function is inlineable.
|
| - bool IsInlineable();
|
| -
|
| // [literals_or_bindings]: Fixed array holding either
|
| // the materialized literals or the bindings of a bound function.
|
| //
|
|
|