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

[#79942174]
This commit is contained in:
Paweł Bylica 2014-10-09 16:10:12 +02:00
parent 04cf0cfcea
commit e42217d5bc

View file

@ -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)
{