mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 21:24:00 +00:00
While in GlobalValue fix the function(s) that don't follow the
naming convention and update users. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237461 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -240,9 +240,9 @@ public:
|
||||
|
||||
bool isDematerializable(const GlobalValue *GV) const override;
|
||||
std::error_code materialize(GlobalValue *GV) override;
|
||||
std::error_code MaterializeModule(Module *M) override;
|
||||
std::error_code materializeModule(Module *M) override;
|
||||
std::vector<StructType *> getIdentifiedStructTypes() const override;
|
||||
void Dematerialize(GlobalValue *GV) override;
|
||||
void dematerialize(GlobalValue *GV) override;
|
||||
|
||||
/// @brief Main interface to parsing a bitcode buffer.
|
||||
/// @returns true if an error occurred.
|
||||
@ -4447,7 +4447,7 @@ bool BitcodeReader::isDematerializable(const GlobalValue *GV) const {
|
||||
return DeferredFunctionInfo.count(const_cast<Function*>(F));
|
||||
}
|
||||
|
||||
void BitcodeReader::Dematerialize(GlobalValue *GV) {
|
||||
void BitcodeReader::dematerialize(GlobalValue *GV) {
|
||||
Function *F = dyn_cast<Function>(GV);
|
||||
// If this function isn't dematerializable, this is a noop.
|
||||
if (!F || !isDematerializable(F))
|
||||
@ -4460,7 +4460,7 @@ void BitcodeReader::Dematerialize(GlobalValue *GV) {
|
||||
F->setIsMaterializable(true);
|
||||
}
|
||||
|
||||
std::error_code BitcodeReader::MaterializeModule(Module *M) {
|
||||
std::error_code BitcodeReader::materializeModule(Module *M) {
|
||||
assert(M == TheModule &&
|
||||
"Can only Materialize the Module this BitcodeReader is attached to.");
|
||||
|
||||
|
Reference in New Issue
Block a user