Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index eee1be884bafc3eb0d556d6f7d1ea8b34b4acb0a..d1434cd1c0e93a29ddcc6d1a4089276c38d361cd 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -9699,6 +9699,10 @@ debug::ConsoleCallArguments::ConsoleCallArguments( |
: v8::FunctionCallbackInfo<v8::Value>(nullptr, &args[0] - 1, |
args.length() - 1) {} |
+int debug::GetStackFrameId(v8::Local<v8::StackFrame> frame) { |
+ return Utils::OpenHandle(*frame)->id(); |
+} |
+ |
MaybeLocal<debug::Script> debug::GeneratorObject::Script() { |
i::Handle<i::JSGeneratorObject> obj = Utils::OpenHandle(this); |
i::Object* maybe_script = obj->function()->shared()->script(); |