| Index: include/v8-debug.h
|
| diff --git a/include/v8-debug.h b/include/v8-debug.h
|
| index 0d0ee739c0ed39b44e566cd490a2315ba73eb849..50314501e3b3b95afee45bff708e50be0b3fbfde 100644
|
| --- a/include/v8-debug.h
|
| +++ b/include/v8-debug.h
|
| @@ -276,6 +276,14 @@ class V8_EXPORT Debug {
|
| */
|
| static MaybeLocal<Array> GetInternalProperties(Isolate* isolate,
|
| Local<Value> value);
|
| +
|
| + /**
|
| + * Defines if the ES2015 tail call elimination feature is enabled or not.
|
| + * The change of this flag triggers deoptimization of all functions that
|
| + * contain calls at tail position.
|
| + */
|
| + static bool IsTailCallEliminationEnabled(Isolate* isolate);
|
| + static void SetTailCallEliminationEnabled(Isolate* isolate, bool enabled);
|
| };
|
|
|
|
|
|
|