Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index ba260492a17e8ab140c92fd7486ff9064b8a93f1..64aea2dccdc014e516e3ed003ad35829846a102a 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -8219,12 +8219,6 @@ bool Debug::SetDebugEventListener(Isolate* isolate, EventCallback that, |
} |
-bool Debug::SetDebugEventListener(EventCallback that, Local<Value> data) { |
- return SetDebugEventListener( |
- reinterpret_cast<Isolate*>(i::Isolate::Current()), that, data); |
-} |
- |
- |
void Debug::DebugBreak(Isolate* isolate) { |
reinterpret_cast<i::Isolate*>(isolate)->stack_guard()->RequestDebugBreak(); |
} |
@@ -8250,11 +8244,6 @@ void Debug::SetMessageHandler(Isolate* isolate, |
} |
-void Debug::SetMessageHandler(v8::Debug::MessageHandler handler) { |
- SetMessageHandler(reinterpret_cast<Isolate*>(i::Isolate::Current()), handler); |
-} |
- |
- |
void Debug::SendCommand(Isolate* isolate, |
const uint16_t* command, |
int length, |
@@ -8284,13 +8273,6 @@ MaybeLocal<Value> Debug::Call(Local<Context> context, |
} |
-Local<Value> Debug::Call(v8::Local<v8::Function> fun, |
- v8::Local<v8::Value> data) { |
- auto context = ContextFromHeapObject(Utils::OpenHandle(*fun)); |
- RETURN_TO_LOCAL_UNCHECKED(Call(context, fun, data), Value); |
-} |
- |
- |
MaybeLocal<Value> Debug::GetMirror(Local<Context> context, |
v8::Local<v8::Value> obj) { |
PREPARE_FOR_EXECUTION(context, Debug, GetMirror, Value); |
@@ -8312,21 +8294,11 @@ MaybeLocal<Value> Debug::GetMirror(Local<Context> context, |
} |
-Local<Value> Debug::GetMirror(v8::Local<v8::Value> obj) { |
- RETURN_TO_LOCAL_UNCHECKED(GetMirror(Local<Context>(), obj), Value); |
-} |
- |
- |
void Debug::ProcessDebugMessages(Isolate* isolate) { |
reinterpret_cast<i::Isolate*>(isolate)->debug()->ProcessDebugMessages(true); |
} |
-void Debug::ProcessDebugMessages() { |
- ProcessDebugMessages(reinterpret_cast<Isolate*>(i::Isolate::Current())); |
-} |
- |
- |
Local<Context> Debug::GetDebugContext(Isolate* isolate) { |
i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate); |
ENTER_V8(i_isolate); |
@@ -8334,10 +8306,6 @@ Local<Context> Debug::GetDebugContext(Isolate* isolate) { |
} |
-Local<Context> Debug::GetDebugContext() { |
- return GetDebugContext(reinterpret_cast<Isolate*>(i::Isolate::Current())); |
-} |
- |
MaybeLocal<Context> Debug::GetDebuggedContext(Isolate* isolate) { |
i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate); |
ENTER_V8(i_isolate); |