Commit 026efad9 authored by Tanya Lattner's avatar Tanya Lattner
Browse files

Merge from mainline.

Unbreak DbgStopPointInst::getFileName().

llvm-svn: 57705
parent 2c1543b9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ Value *DbgStopPointInst::getFileName() const {
  GlobalVariable *GV = cast<GlobalVariable>(getContext());
  if (!GV->hasInitializer()) return NULL;
  ConstantStruct *CS = cast<ConstantStruct>(GV->getInitializer());
  return CS->getOperand(4);
  return CS->getOperand(3);
}

Value *DbgStopPointInst::getDirectory() const {