12 lines
278 B
C++
12 lines
278 B
C++
// 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
|