mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 20:26:41 +00:00
Rename env_getExtCode -> env_extcode according to other renames
This commit is contained in:
parent
f78fbbf50e
commit
683de93578
2 changed files with 1 additions and 5 deletions
|
|
@ -89,7 +89,7 @@ extern "C"
|
||||||
*o_hash = hash;
|
*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 addr = right160(*_addr256);
|
||||||
auto& code = _env->codeAt(addr);
|
auto& code = _env->codeAt(addr);
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,6 @@
|
||||||
#include <llvm/IR/TypeBuilder.h>
|
#include <llvm/IR/TypeBuilder.h>
|
||||||
#include <llvm/IR/IntrinsicInst.h>
|
#include <llvm/IR/IntrinsicInst.h>
|
||||||
|
|
||||||
//#include <libdevcrypto/SHA3.h>
|
|
||||||
//#include <libevm/FeeStructure.h>
|
|
||||||
|
|
||||||
#include "RuntimeManager.h"
|
#include "RuntimeManager.h"
|
||||||
#include "Memory.h"
|
#include "Memory.h"
|
||||||
#include "Type.h"
|
#include "Type.h"
|
||||||
|
|
@ -71,7 +68,6 @@ llvm::Value* Ext::getArgAlloca()
|
||||||
getBuilder().SetInsertPoint(getMainFunction()->front().getFirstNonPHI());
|
getBuilder().SetInsertPoint(getMainFunction()->front().getFirstNonPHI());
|
||||||
a = getBuilder().CreateAlloca(Type::Word, nullptr, "arg");
|
a = getBuilder().CreateAlloca(Type::Word, nullptr, "arg");
|
||||||
}
|
}
|
||||||
|
|
||||||
return a;
|
return a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue