| 1070 | } |
| 1071 | |
| 1072 | void FunctionCallEmitter::AddParameterFloatConst(double konst) |
| 1073 | { |
| 1074 | numparams++; |
| 1075 | if (is_vararg) |
| 1076 | reginfo.Push(REGT_FLOAT); |
| 1077 | emitters.push_back([=](VMFunctionBuilder *build) ->int |
| 1078 | { |
| 1079 | build->Emit(OP_PARAM, REGT_FLOAT | REGT_KONST, build->GetConstantFloat(konst)); |
| 1080 | return 1; |
| 1081 | }); |
| 1082 | } |
| 1083 | |
| 1084 | void FunctionCallEmitter::AddParameterIntConst(int konst) |
| 1085 | { |
no test coverage detected