1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 08:58:11 +00:00

LibJS: Remove unused {INTERPRETER,VM}_DEBUG

This commit is contained in:
Linus Groh 2020-12-06 17:22:04 +00:00 committed by Andreas Kling
parent fe1628746c
commit 28552f3f36
4 changed files with 3 additions and 7 deletions

View file

@ -1915,7 +1915,7 @@ Value TryStatement::execute(Interpreter& interpreter, GlobalObject& global_objec
// If we previously had an exception and the finalizer didn't
// throw a new one, restore the old one.
// FIXME: This will print debug output in throw_exception() for
// a seconds time with INTERPRETER_DEBUG enabled.
// a seconds time with m_should_log_exceptions enabled.
if (previous_exception && !interpreter.exception())
interpreter.vm().throw_exception(previous_exception);
}

View file

@ -40,8 +40,6 @@
#include <LibJS/Runtime/SymbolObject.h>
#include <LibJS/Runtime/Value.h>
//#define INTERPRETER_DEBUG
namespace JS {
NonnullOwnPtr<Interpreter> Interpreter::create_with_existing_global_object(GlobalObject& global_object)

View file

@ -35,8 +35,6 @@
#include <LibJS/Runtime/Symbol.h>
#include <LibJS/Runtime/VM.h>
//#define VM_DEBUG
namespace JS {
NonnullRefPtr<VM> VM::create()