@ -14,7 +14,7 @@ namespace jit
{
using ProgramCounter = uint64_t; // TODO: Rename
class BasicBlock
public:
@ -54,7 +54,7 @@ private:
llvm::Function* m_codeAt;
llvm::Function* m_codesizeAt;
};
}
@ -22,7 +22,7 @@ public:
llvm::Value* getData();
llvm::Value* getSize();
void copyBytes(llvm::Value* _srcPtr, llvm::Value* _srcSize, llvm::Value* _srcIndex,
llvm::Value* _destMemIdx, llvm::Value* _byteCount);
/// Requires this amount of memory. And counts gas fee for that memory.
void require(llvm::Value* _size);