#ifndef ETHSERP_FUNCTIONS #define ETHSERP_FUNCTIONS #include #include #include #include #include "util.h" #include "lllparser.h" #include "bignum.h" #include "optimize.h" #include "rewriteutils.h" #include "preprocess.h" class argPack { public: argPack(Node a, Node b, Node c) { pre = a; datastart = b; datasz = c; } Node pre; Node datastart; Node datasz; }; // Get a signature from a function std::string getSignature(std::vector args); // Convert a list of arguments into a node // triple, given the signature of a function Node packArguments(std::vector args, std::string sig, int funId, Metadata m); // Create a node for argument unpacking Node unpackArguments(std::vector vars, Metadata m); #endif