chore: upgrade project dependencies to latest compatible versions across all modules
This commit is contained in:
+6
-1
@@ -747,8 +747,13 @@ static void _rava_ir_gen_expression(RavaIRGenerator_t *gen, RavaASTNode_t *expr)
|
||||
}
|
||||
instr.opcode = RAVA_OP_CALL_STATIC;
|
||||
if (expr->data.call.callee->type == RAVA_AST_IDENTIFIER_EXPR) {
|
||||
const char *method_name = expr->data.call.callee->data.identifier.name;
|
||||
if (gen->current_method && strcmp(gen->current_method->name, method_name) == 0) {
|
||||
instr.opcode = RAVA_OP_CALL_RECURSIVE;
|
||||
instr.operand.call.cached_method = (void*)gen->current_method;
|
||||
}
|
||||
instr.operand.call.class_name = strdup(gen->current_class->name);
|
||||
instr.operand.call.method_name = strdup(expr->data.call.callee->data.identifier.name);
|
||||
instr.operand.call.method_name = strdup(method_name);
|
||||
instr.operand.call.arg_count = expr->data.call.arguments_count;
|
||||
}
|
||||
_rava_ir_emit(gen, instr);
|
||||
|
||||
Reference in New Issue
Block a user