ladybird/Userland/Libraries/LibJS
samu698 7865fbfe6d LibJS: Don't generate useless jumps for if statement
If statements without an else clause generated jumps to the next
instruction, this commit fixes the if statement generation so that it
dosen't produce them anymore.

This is an example of JS code that generates the useless jumps
(a => if(a){}) ();
2024-10-26 17:39:37 +02:00
..
Bytecode LibJS: Don't generate useless jumps for if statement 2024-10-26 17:39:37 +02:00
Contrib/Test262 LibJS: Make ParserError::to_string infallible 2024-04-05 20:01:37 -04:00
Heap AK+LibJS: Add [[nodiscard]] to operator* in common types 2024-10-25 09:15:28 +02:00
Runtime LibJS: Store RegExp flags as a bitmask 2024-10-26 15:42:57 +02:00
Tests LibJS: Extend supported date string formats 2024-10-25 07:24:22 -04:00
AST.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
AST.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
CMakeLists.txt LibJS: Implement Uint8Array.prototype.toBase64 2024-09-03 17:43:03 +02:00
Console.cpp LibJS: Don't infinite loop on unknown console.log formatting specifiers 2024-09-26 10:14:09 +02:00
Console.h LibJS+WebContent: Implement console.table 2024-08-22 09:08:50 +01:00
CyclicModule.cpp Everywhere: Write dtors for types with incomplete members out-of-line 2024-06-16 07:19:56 -04:00
CyclicModule.h Everywhere: Write dtors for types with incomplete members out-of-line 2024-06-16 07:19:56 -04:00
Forward.h LibJS: Store RegExp flags as a bitmask 2024-10-26 15:42:57 +02:00
Lexer.cpp LibJS: Remove unused field Token::m_filename 2024-09-02 15:22:51 +02:00
Lexer.h LibJS: Lex 1/2/3-byte tokens without HashMap lookups 2024-03-24 13:28:24 +01:00
MarkupGenerator.cpp AK: Make String::number() infallible 2024-10-14 20:47:35 +02:00
MarkupGenerator.h LibJS: Fix redundancy-detection when printing raw values 2023-06-15 08:09:16 +02:00
Module.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Module.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ModuleLoading.h LibJS+LibWeb: Another round of bringing module loading closer to spec 2023-12-03 20:46:55 +01:00
Parser.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Parser.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ParserError.cpp LibJS: Make ParserError::to_string infallible 2024-04-05 20:01:37 -04:00
ParserError.h LibJS: Make ParserError::to_string infallible 2024-04-05 20:01:37 -04:00
Position.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Print.cpp LibJS: Do not print large arrays 2024-10-11 09:59:39 +01:00
Print.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
SafeFunction.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Script.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Script.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
SourceCode.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
SourceCode.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
SourceRange.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
SourceTextModule.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
SourceTextModule.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
SyntaxHighlighter.cpp LibSyntax+Userland: Make LibSyntax not depend on LibGUI 2023-08-29 07:57:39 -04:00
SyntaxHighlighter.h
SyntheticModule.cpp LibJS: Remove two unused members from ExecutionContext 2024-05-31 16:31:33 +02:00
SyntheticModule.h LibJS: Support LoadRequestedModule AO on SyntheticModule records 2023-12-03 20:46:55 +01:00
Token.cpp Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
Token.h LibJS: Remove unused field Token::m_filename 2024-09-02 15:22:51 +02:00