You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
371 B
22 lines
371 B
10 years ago
|
|
||
|
#include <llvm/IR/BasicBlock.h>
|
||
|
|
||
|
namespace evmcc
|
||
|
{
|
||
|
|
||
|
using ProgramCounter = uint64_t;
|
||
|
|
||
|
class BasicBlock
|
||
|
{
|
||
|
public:
|
||
|
explicit BasicBlock(ProgramCounter _instIdx, llvm::Function* _mainFunc);
|
||
|
BasicBlock(const BasicBlock&) = delete;
|
||
|
void operator=(const BasicBlock&) = delete;
|
||
|
|
||
|
operator llvm::BasicBlock*() { return m_llvmBB; }
|
||
|
|
||
|
private:
|
||
|
llvm::BasicBlock* m_llvmBB;
|
||
|
};
|
||
|
|
||
|
}
|