|
@@ -18,7 +18,7 @@ ResultType setClass(INTER_FUNCTIONSIG) {
|
|
goto error_;
|
|
goto error_;
|
|
|
|
|
|
tmp = makeLinkValue(makeClassValue(copyVarList(var_list, false, inter), inter, class_father), father, inter);
|
|
tmp = makeLinkValue(makeClassValue(copyVarList(var_list, false, inter), inter, class_father), father, inter);
|
|
- gcAddTmp(&tmp->gc_status);
|
|
|
|
|
|
+ gc_addTmpLink(&tmp->gc_status);
|
|
|
|
|
|
father_var = tmp->value->object.var->next;
|
|
father_var = tmp->value->object.var->next;
|
|
tmp->value->object.var->next = var_list;
|
|
tmp->value->object.var->next = var_list;
|
|
@@ -33,11 +33,11 @@ ResultType setClass(INTER_FUNCTIONSIG) {
|
|
if (run_continue(result))
|
|
if (run_continue(result))
|
|
setResult(result, inter, father);
|
|
setResult(result, inter, father);
|
|
|
|
|
|
- gcFreeTmpLink(&tmp->gc_status);
|
|
|
|
|
|
+ gc_freeTmpLink(&tmp->gc_status);
|
|
return result->type;
|
|
return result->type;
|
|
|
|
|
|
error_:
|
|
error_:
|
|
- gcFreeTmpLink(&tmp->gc_status);
|
|
|
|
|
|
+ gc_freeTmpLink(&tmp->gc_status);
|
|
setResultError(result, inter, NULL, NULL, st, father, false);
|
|
setResultError(result, inter, NULL, NULL, st, father, false);
|
|
return result->type;
|
|
return result->type;
|
|
}
|
|
}
|
|
@@ -97,9 +97,9 @@ ResultType callClass(LinkValue *class_value, Parameter *parameter, INTER_FUNCTIO
|
|
setResultCore(&__init__result);
|
|
setResultCore(&__init__result);
|
|
__init__ = makeLinkValue(__init__->value, value, inter);
|
|
__init__ = makeLinkValue(__init__->value, value, inter);
|
|
|
|
|
|
- gcAddTmp(&__init__->gc_status);
|
|
|
|
|
|
+ gc_addTmpLink(&__init__->gc_status);
|
|
callFunction(__init__, parameter, CALL_INTER_FUNCTIONSIG_NOT_ST(var_list, &__init__result, value));
|
|
callFunction(__init__, parameter, CALL_INTER_FUNCTIONSIG_NOT_ST(var_list, &__init__result, value));
|
|
- gcFreeTmpLink(&__init__->gc_status);
|
|
|
|
|
|
+ gc_freeTmpLink(&__init__->gc_status);
|
|
|
|
|
|
if (!run_continue_type(__init__result.type)){
|
|
if (!run_continue_type(__init__result.type)){
|
|
freeResult(result);
|
|
freeResult(result);
|
|
@@ -116,15 +116,15 @@ ResultType callClass(LinkValue *class_value, Parameter *parameter, INTER_FUNCTIO
|
|
ResultType callFunction(LinkValue *function_value, Parameter *parameter, INTER_FUNCTIONSIG_NOT_ST) {
|
|
ResultType callFunction(LinkValue *function_value, Parameter *parameter, INTER_FUNCTIONSIG_NOT_ST) {
|
|
VarList *function_var = NULL;
|
|
VarList *function_var = NULL;
|
|
setResultCore(result);
|
|
setResultCore(result);
|
|
- gcAddTmp(&function_value->gc_status);
|
|
|
|
|
|
+ gc_addTmpLink(&function_value->gc_status);
|
|
|
|
|
|
function_var = pushVarList(function_value->value->object.out_var, inter);
|
|
function_var = pushVarList(function_value->value->object.out_var, inter);
|
|
- gcAddTmp(&function_var->hashtable->gc_status);
|
|
|
|
|
|
+ gc_addTmpLink(&function_var->hashtable->gc_status);
|
|
runFREEZE(inter, var_list, function_var, true);
|
|
runFREEZE(inter, var_list, function_var, true);
|
|
|
|
|
|
setParameter(parameter, function_value->value->data.function.pt, function_var, function_value, CALL_INTER_FUNCTIONSIG_NOT_ST(var_list, result, father));
|
|
setParameter(parameter, function_value->value->data.function.pt, function_var, function_value, CALL_INTER_FUNCTIONSIG_NOT_ST(var_list, result, father));
|
|
if (!run_continue(result)) {
|
|
if (!run_continue(result)) {
|
|
- gcAddTmp(&function_var->hashtable->gc_status);
|
|
|
|
|
|
+ gc_addTmpLink(&function_var->hashtable->gc_status);
|
|
runFREEZE(inter, var_list, function_var, false);
|
|
runFREEZE(inter, var_list, function_var, false);
|
|
popVarList(function_var);
|
|
popVarList(function_var);
|
|
goto return_;
|
|
goto return_;
|
|
@@ -133,11 +133,11 @@ ResultType callFunction(LinkValue *function_value, Parameter *parameter, INTER_F
|
|
freeResult(result);
|
|
freeResult(result);
|
|
functionSafeInterStatement(CALL_INTER_FUNCTIONSIG(function_value->value->data.function.function, function_var, result, function_value));
|
|
functionSafeInterStatement(CALL_INTER_FUNCTIONSIG(function_value->value->data.function.function, function_var, result, function_value));
|
|
|
|
|
|
- gcFreeTmpLink(&function_var->hashtable->gc_status);
|
|
|
|
|
|
+ gc_freeTmpLink(&function_var->hashtable->gc_status);
|
|
runFREEZE(inter, var_list, function_var, false);
|
|
runFREEZE(inter, var_list, function_var, false);
|
|
popVarList(function_var);
|
|
popVarList(function_var);
|
|
|
|
|
|
return_:
|
|
return_:
|
|
- gcFreeTmpLink(&function_value->gc_status);
|
|
|
|
|
|
+ gc_freeTmpLink(&function_value->gc_status);
|
|
return result->type;
|
|
return result->type;
|
|
}
|
|
}
|