diff options
author | Linus Groh <mail@linusgroh.de> | 2021-06-07 21:19:12 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-06-07 21:19:12 +0100 |
commit | e0a2c1544fbb9fbc46a6ea845e61c38bfc91fe26 (patch) | |
tree | 7a90c0c82162db0a93605fa4cad0253f85d7d543 /Userland/Libraries | |
parent | 9c0d83d11dd8eb79c00aa6d7de5df399c52c172d (diff) | |
download | serenity-e0a2c1544fbb9fbc46a6ea845e61c38bfc91fe26.zip |
LibJS: Fix whitespace errors in ASTCodegen.cpp
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibJS/Bytecode/ASTCodegen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Bytecode/ASTCodegen.cpp b/Userland/Libraries/LibJS/Bytecode/ASTCodegen.cpp index 0a7dc29003..41e2da493e 100644 --- a/Userland/Libraries/LibJS/Bytecode/ASTCodegen.cpp +++ b/Userland/Libraries/LibJS/Bytecode/ASTCodegen.cpp @@ -199,7 +199,7 @@ Optional<Bytecode::Register> AssignmentExpression::generate_bytecode(Bytecode::G generator.emit<Bytecode::Op::SetVariable>(identifier.string(), *rhs_reg); return rhs_reg; } - + auto lhs_reg = m_lhs->generate_bytecode(generator); auto dst_reg = generator.allocate_register(); @@ -241,7 +241,7 @@ Optional<Bytecode::Register> AssignmentExpression::generate_bytecode(Bytecode::G generator.emit<Bytecode::Op::UnsignedRightShift>(dst_reg, *lhs_reg, *rhs_reg); break; default: - TODO(); + TODO(); } generator.emit<Bytecode::Op::SetVariable>(identifier.string(), dst_reg); |