diff options
author | Fangrui Song <maskray@google.com> | 2020-02-13 16:36:27 -0800 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-02-13 17:06:24 -0800 |
commit | 1d49eb00d97a8e920ae34ff433419d0cd61641fd (patch) | |
tree | 4ac37b7c47c1c8bfba32de990395861ffe8f3930 /llvm/lib/ExecutionEngine/ExecutionEngine.cpp | |
parent | 918e90559b08adebff26c342080c65e79cc223ec (diff) | |
download | llvm-1d49eb00d97a8e920ae34ff433419d0cd61641fd.zip llvm-1d49eb00d97a8e920ae34ff433419d0cd61641fd.tar.gz llvm-1d49eb00d97a8e920ae34ff433419d0cd61641fd.tar.bz2 |
[AsmPrinter] De-capitalize all AsmPrinter::Emit* but EmitInstruction
Similar to rL328848.
Diffstat (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/ExecutionEngine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp index 42ce33a..64d313e 100644 --- a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp +++ b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp @@ -582,7 +582,7 @@ void *ExecutionEngine::getPointerToGlobal(const GlobalValue *GV) { // Global variable might have been added since interpreter started. if (GlobalVariable *GVar = const_cast<GlobalVariable *>(dyn_cast<GlobalVariable>(GV))) - EmitGlobalVariable(GVar); + emitGlobalVariable(GVar); else llvm_unreachable("Global hasn't had an address allocated yet!"); @@ -1276,7 +1276,7 @@ void ExecutionEngine::emitGlobals() { if (GVEntry != &GV) // Not the canonical variable. continue; } - EmitGlobalVariable(&GV); + emitGlobalVariable(&GV); } } } @@ -1285,7 +1285,7 @@ void ExecutionEngine::emitGlobals() { // EmitGlobalVariable - This method emits the specified global variable to the // address specified in GlobalAddresses, or allocates new memory if it's not // already in the map. -void ExecutionEngine::EmitGlobalVariable(const GlobalVariable *GV) { +void ExecutionEngine::emitGlobalVariable(const GlobalVariable *GV) { void *GA = getPointerToGlobalIfAvailable(GV); if (!GA) { |