From 1d49eb00d97a8e920ae34ff433419d0cd61641fd Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Thu, 13 Feb 2020 16:36:27 -0800 Subject: [AsmPrinter] De-capitalize all AsmPrinter::Emit* but EmitInstruction Similar to rL328848. --- llvm/lib/ExecutionEngine/ExecutionEngine.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/lib/ExecutionEngine/ExecutionEngine.cpp') 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(dyn_cast(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) { -- cgit v1.1