mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 12:16:44 +00:00
Check if pushed item is a word
This commit is contained in:
parent
52ba848c18
commit
b13f1ac2aa
1 changed files with 1 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ BasicBlock::BasicBlock(std::string _name, llvm::Function* _mainFunc) :
|
||||||
|
|
||||||
void BasicBlock::Stack::push(llvm::Value* _value)
|
void BasicBlock::Stack::push(llvm::Value* _value)
|
||||||
{
|
{
|
||||||
|
assert(_value->getType() == Type::i256);
|
||||||
m_backend.push_back(_value);
|
m_backend.push_back(_value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue