summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-10-03 15:45:36 +0000
committerDan Gohman <gohman@apple.com>2008-10-03 15:45:36 +0000
commit0d1e9a8e0401048b5619dd46afb744af7b028aff (patch)
tree0b150971be1244ee265f214d4bcad572ace4128f /llvm/lib/ExecutionEngine
parent6d8e67f512cabbd7745d4dd71b710806a8abc166 (diff)
downloadbcm5719-llvm-0d1e9a8e0401048b5619dd46afb744af7b028aff.tar.gz
bcm5719-llvm-0d1e9a8e0401048b5619dd46afb744af7b028aff.zip
Switch the MachineOperand accessors back to the short names like
isReg, etc., from isRegister, etc. llvm-svn: 57006
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r--llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp b/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp
index 63f3b4e6b54..ffaeb1c4ea9 100644
--- a/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp
+++ b/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp
@@ -756,7 +756,7 @@ unsigned JITEmitter::GetSizeOfGlobalsInBytes(MachineFunction &MF) {
unsigned NumOps = Desc.getNumOperands();
for (unsigned CurOp = 0; CurOp < NumOps; CurOp++) {
const MachineOperand &MO = MI.getOperand(CurOp);
- if (MO.isGlobalAddress()) {
+ if (MO.isGlobal()) {
GlobalValue* V = MO.getGlobal();
const GlobalVariable *GV = dyn_cast<const GlobalVariable>(V);
if (!GV)
OpenPOWER on IntegriCloud