summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Heap
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-04-10 12:48:31 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-10 13:09:35 +0200
commite5da1cc5660f6a284b9b21c7bcb1a547fac1cabe (patch)
treeb50d524eccafa9a5df7d1db9ec97b92da0026ac5 /Libraries/LibJS/Heap
parent58ab76269c44945faf502bca333e7dac0562b972 (diff)
downloadserenity-e5da1cc5660f6a284b9b21c7bcb1a547fac1cabe.zip
LibJS: Throw real TypeError, ReferenceError, etc objects
Instead of just throwing Error objects with a name string, we now throw the real Error subclass types. :^)
Diffstat (limited to 'Libraries/LibJS/Heap')
-rw-r--r--Libraries/LibJS/Heap/Heap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/Heap/Heap.cpp b/Libraries/LibJS/Heap/Heap.cpp
index 3dd3902ca5..ca98e33b91 100644
--- a/Libraries/LibJS/Heap/Heap.cpp
+++ b/Libraries/LibJS/Heap/Heap.cpp
@@ -41,7 +41,7 @@
#endif
#ifdef __serenity__
-#define HEAP_DEBUG
+//#define HEAP_DEBUG
#endif
namespace JS {