Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index dea23a44f3df6e8e23496002d3bf913b48bd6c03..38c22db645ffd95e312788502e23887b5a3e3d7a 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -8089,6 +8089,15 @@ void Debug::SetLiveEditEnabled(Isolate* isolate, bool enable) { |
internal_isolate->debug()->set_live_edit_enabled(enable); |
} |
+bool Debug::IsTailCallEliminationEnabled(Isolate* isolate) { |
+ i::Isolate* internal_isolate = reinterpret_cast<i::Isolate*>(isolate); |
+ return internal_isolate->is_tail_call_elimination_enabled(); |
+} |
+ |
+void Debug::SetTailCallEliminationEnabled(Isolate* isolate, bool enabled) { |
+ i::Isolate* internal_isolate = reinterpret_cast<i::Isolate*>(isolate); |
+ internal_isolate->SetTailCallEliminationEnabled(enabled); |
+} |
MaybeLocal<Array> Debug::GetInternalProperties(Isolate* v8_isolate, |
Local<Value> value) { |