Browse Source

Disable gas checking for now (does not work and makes IR code hard to read)

[#79942174]
cl-refactor
Paweł Bylica 10 years ago
parent
commit
e42217d5bc
  1. 4
      evmcc/Compiler.cpp

4
evmcc/Compiler.cpp

@ -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…
Cancel
Save