mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 04:36:42 +00:00
Remove usage of boost::lexical_cast
This commit is contained in:
parent
5f4c1c7466
commit
b1765749f5
1 changed files with 2 additions and 4 deletions
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#include <boost/lexical_cast.hpp>
|
|
||||||
|
|
||||||
#include <llvm/IR/CFG.h>
|
#include <llvm/IR/CFG.h>
|
||||||
#include <llvm/IR/Function.h>
|
#include <llvm/IR/Function.h>
|
||||||
#include <llvm/IR/Instructions.h>
|
#include <llvm/IR/Instructions.h>
|
||||||
|
|
@ -112,8 +110,8 @@ llvm::Value* BasicBlock::LocalStack::get(size_t _index)
|
||||||
|
|
||||||
assert(initialStack[initialIdx] == nullptr);
|
assert(initialStack[initialIdx] == nullptr);
|
||||||
// Create a dummy value.
|
// Create a dummy value.
|
||||||
std::string name = "get_" + boost::lexical_cast<std::string>(_index);
|
std::string name = "get_" + std::to_string(_index);
|
||||||
initialStack[initialIdx] = m_bblock.m_builder.CreatePHI(Type::Word, 0, name);
|
initialStack[initialIdx] = m_bblock.m_builder.CreatePHI(Type::Word, 0, std::move(name));
|
||||||
*itemIter = initialStack[initialIdx];
|
*itemIter = initialStack[initialIdx];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue