1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:48:12 +00:00

LibJS: Fix whitespace errors in ASTCodegen.cpp

This commit is contained in:
Linus Groh 2021-06-07 21:19:12 +01:00
parent 9c0d83d11d
commit e0a2c1544f

View file

@ -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);