mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
LibJS: Fix build with VM_DEBUG defined
This commit is contained in:
parent
840c3b501d
commit
bbc0487ced
Notes:
sideshowbarker
2024-07-19 01:19:54 +09:00
Author: https://github.com/Lubrsi Commit: https://github.com/SerenityOS/serenity/commit/bbc0487ced7 Pull-request: https://github.com/SerenityOS/serenity/pull/4132
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ void VM::throw_exception(Exception* exception)
|
|||
dbgln("Throwing JavaScript Error: {}, {}", error.name(), error.message());
|
||||
|
||||
for (ssize_t i = m_call_stack.size() - 1; i >= 0; --i) {
|
||||
auto function_name = m_call_stack[i].function_name;
|
||||
auto function_name = m_call_stack[i]->function_name;
|
||||
if (function_name.is_empty())
|
||||
function_name = "<anonymous>";
|
||||
dbgln(" {}", function_name);
|
||||
|
|
Loading…
Reference in a new issue