| 3384 | |
| 3385 | |
| 3386 | ExprId LowLevelILFunction::SystemCallSSA(const vector<SSARegister>& output, const vector<ExprId>& params, |
| 3387 | const SSARegister& stack, size_t newMemoryVer, size_t prevMemoryVer, const ILSourceLocation& loc) |
| 3388 | { |
| 3389 | return AddExprWithLocation(LLIL_SYSCALL_SSA, loc, 0, 0, |
| 3390 | AddExprWithLocation( |
| 3391 | LLIL_CALL_OUTPUT_SSA, loc, 0, 0, newMemoryVer, output.size() * 2, AddSSARegisterList(output)), |
| 3392 | AddExprWithLocation(LLIL_CALL_STACK_SSA, loc, 0, 0, stack.reg, stack.version, prevMemoryVer), |
| 3393 | AddExprWithLocation(LLIL_CALL_PARAM, loc, 0, 0, params.size(), AddOperandList(params))); |
| 3394 | } |
| 3395 | |
| 3396 | |
| 3397 | ExprId LowLevelILFunction::TailCallSSA(const vector<SSARegister>& output, ExprId dest, const vector<ExprId>& params, |