luaur_compiler/methods/compiler_compile_expr_temp_top.rs
1use crate::records::compiler::Compiler;
2use crate::records::reg_scope::RegScope;
3use luaur_ast::records::ast_expr::AstExpr;
4
5impl Compiler {
6 pub fn compile_expr_temp_top(&mut self, node: *mut AstExpr, target: u8) {
7 let mut rs = self.reg_scope_compiler_i32(target as u32 + 1);
8 self.compile_expr_temp(node, target);
9 }
10}