refactor(ir): ir改为更标准的实现
This commit is contained in:
11
src/ir/GlobalValue.cpp
Normal file
11
src/ir/GlobalValue.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
// GlobalValue 占位实现:
|
||||
// - 具体的全局初始化器、打印和链接语义需要自行补全
|
||||
|
||||
#include "ir/IR.h"
|
||||
|
||||
namespace ir {
|
||||
|
||||
GlobalValue::GlobalValue(std::shared_ptr<Type> ty, std::string name)
|
||||
: User(std::move(ty), std::move(name)) {}
|
||||
|
||||
} // namespace ir
|
||||
Reference in New Issue
Block a user