mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 17:24:48 +00:00
Add support for tracking whether a module is 64/32 bit and big/little endian
Also add a moduleID field which can be used for diagnostics git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5834 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -52,7 +52,8 @@ struct GlobalValueRefMap {
|
||||
};
|
||||
|
||||
|
||||
Module::Module() {
|
||||
Module::Module(const std::string &MID)
|
||||
: ModuleID(MID), Endian(BigEndian), PtrSize(Pointer64) {
|
||||
FunctionList.setItemParent(this);
|
||||
FunctionList.setParent(this);
|
||||
GlobalList.setItemParent(this);
|
||||
|
Reference in New Issue
Block a user