diff options
Diffstat (limited to 'Libraries/LibJS')
-rw-r--r-- | Libraries/LibJS/AST.cpp | 2 | ||||
-rw-r--r-- | Libraries/LibJS/Interpreter.cpp | 2 | ||||
-rw-r--r-- | Libraries/LibJS/Runtime/VM.cpp | 2 |
3 files changed, 1 insertions, 5 deletions
diff --git a/Libraries/LibJS/AST.cpp b/Libraries/LibJS/AST.cpp index a6cb719120..5543f04ea8 100644 --- a/Libraries/LibJS/AST.cpp +++ b/Libraries/LibJS/AST.cpp @@ -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); } diff --git a/Libraries/LibJS/Interpreter.cpp b/Libraries/LibJS/Interpreter.cpp index e96ff48c09..d57b90f5c5 100644 --- a/Libraries/LibJS/Interpreter.cpp +++ b/Libraries/LibJS/Interpreter.cpp @@ -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) diff --git a/Libraries/LibJS/Runtime/VM.cpp b/Libraries/LibJS/Runtime/VM.cpp index 077b0a90a4..75a966e1b2 100644 --- a/Libraries/LibJS/Runtime/VM.cpp +++ b/Libraries/LibJS/Runtime/VM.cpp @@ -35,8 +35,6 @@ #include <LibJS/Runtime/Symbol.h> #include <LibJS/Runtime/VM.h> -//#define VM_DEBUG - namespace JS { NonnullRefPtr<VM> VM::create() |