mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-20 11:46:44 +00:00
Disable gas checking for now (does not work and makes IR code hard to read)
[#79942174]
This commit is contained in:
parent
04cf0cfcea
commit
e42217d5bc
1 changed files with 3 additions and 1 deletions
|
|
@ -177,7 +177,9 @@ std::unique_ptr<llvm::Module> Compiler::compile(const dev::bytes& bytecode)
|
|||
for (auto currentPC = basicBlock.begin(); currentPC != basicBlock.end(); ++currentPC)
|
||||
{
|
||||
auto inst = static_cast<Instruction>(bytecode[currentPC]);
|
||||
gasMeter.check(inst);
|
||||
|
||||
// Disable for now
|
||||
//gasMeter.check(inst);
|
||||
|
||||
switch (inst)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue