feat: TODO
This commit is contained in:
@@ -45,7 +45,7 @@ impl<Ctx: JITContext> JITCompile<Ctx> for AttrSet {
|
||||
/// This creates a new attribute set and compiles all static attributes into it.
|
||||
fn compile(&self, ctx: &mut Context<Ctx>, rt_ctx: ir::Value) -> StackSlot {
|
||||
let attrs = ctx.create_attrs();
|
||||
for (k, v) in self.stcs.iter() {
|
||||
for (&k, v) in self.stcs.iter() {
|
||||
let v = v.compile(ctx, rt_ctx);
|
||||
ctx.push_attr(attrs, k, v);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user