Browse Source

Do not compute code hash twice in VM test engine.

cl-refactor
Paweł Bylica 10 years ago
parent
commit
773c2303d8
  1. 2
      evmjit/libevmjit/Type.h
  2. 2
      test/libevm/vm.cpp

2
evmjit/libevmjit/Type.h

@ -4,7 +4,7 @@
#include <llvm/IR/Type.h>
#include <llvm/IR/Constants.h>
#include <llvm/IR/Metadata.h>
#include "preprocessor/llvm_includes_end.h" // FIXME: LLVM 3.7: check if needed
#include "preprocessor/llvm_includes_end.h"
#include "evmjit/JIT.h" // ReturnCode

2
test/libevm/vm.cpp

@ -325,8 +325,6 @@ void doVMTests(json_spirit::mValue& v, bool _fillin)
}
fev.codeHash = sha3(fev.code);
fev.codeHash = sha3(fev.code);
bytes output;
bool vmExceptionOccured = false;
try

Loading…
Cancel
Save