| ... | @@ -4997,7 +4997,7 @@ static IrInstSrc *ir_build_wasm_memory_size_src(IrBuilderSrc *irb, Scope *scope, | ... | @@ -4997,7 +4997,7 @@ static IrInstSrc *ir_build_wasm_memory_size_src(IrBuilderSrc *irb, Scope *scope, |
| 4997 | static IrInstGen *ir_build_wasm_memory_size_gen(IrAnalyze *ira, IrInst *source_instr, IrInstGen *index) { | 4997 | static IrInstGen *ir_build_wasm_memory_size_gen(IrAnalyze *ira, IrInst *source_instr, IrInstGen *index) { |
| 4998 | IrInstGenWasmMemorySize *instruction = ir_build_inst_gen<IrInstGenWasmMemorySize>(&ira->new_irb, | 4998 | IrInstGenWasmMemorySize *instruction = ir_build_inst_gen<IrInstGenWasmMemorySize>(&ira->new_irb, |
| 4999 | source_instr->scope, source_instr->source_node); | 4999 | source_instr->scope, source_instr->source_node); |
| 5000 | instruction->base.value->type = ira->codegen->builtin_types.entry_i32; | 5000 | instruction->base.value->type = ira->codegen->builtin_types.entry_u32; |
| 5001 | instruction->index = index; | 5001 | instruction->index = index; |
| 5002 | | 5002 | |
| 5003 | ir_ref_inst_gen(index); | 5003 | ir_ref_inst_gen(index); |