diff options
author | Andreas Kling <kling@serenityos.org> | 2020-04-10 12:48:31 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-10 13:09:35 +0200 |
commit | e5da1cc5660f6a284b9b21c7bcb1a547fac1cabe (patch) | |
tree | b50d524eccafa9a5df7d1db9ec97b92da0026ac5 /Libraries/LibJS/Heap | |
parent | 58ab76269c44945faf502bca333e7dac0562b972 (diff) | |
download | serenity-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.cpp | 2 |
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 { |