Rename env_getExtCode -> env_extcode according to other renames

This commit is contained in:
Paweł Bylica 2015-01-16 15:56:05 +01:00
parent f78fbbf50e
commit 683de93578
2 changed files with 1 additions and 5 deletions

View file

@ -89,7 +89,7 @@ extern "C"
*o_hash = hash;
}
EXPORT byte const* env_getExtCode(ExtVMFace* _env, h256* _addr256, uint64_t* o_size)
EXPORT byte const* env_extcode(ExtVMFace* _env, h256* _addr256, uint64_t* o_size)
{
auto addr = right160(*_addr256);
auto& code = _env->codeAt(addr);

View file

@ -5,9 +5,6 @@
#include <llvm/IR/TypeBuilder.h>
#include <llvm/IR/IntrinsicInst.h>
//#include <libdevcrypto/SHA3.h>
//#include <libevm/FeeStructure.h>
#include "RuntimeManager.h"
#include "Memory.h"
#include "Type.h"
@ -71,7 +68,6 @@ llvm::Value* Ext::getArgAlloca()
getBuilder().SetInsertPoint(getMainFunction()->front().getFirstNonPHI());
a = getBuilder().CreateAlloca(Type::Word, nullptr, "arg");
}
return a;
}