From e655657c94b20710e65fd20da2a7f622ed6a0e1c Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 29 Sep 2011 00:00:35 +0000 Subject: Call UpdateLineDirectiveRegion every time we want to emit a stop point in the code. Ensures that we don't miss any places and the check is reasonably cheap. llvm-svn: 140737 --- clang/lib/CodeGen/CGExpr.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'clang/lib/CodeGen/CGExpr.cpp') diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp index 22f264b8e9f..5fe33ff1d3f 100644 --- a/clang/lib/CodeGen/CGExpr.cpp +++ b/clang/lib/CodeGen/CGExpr.cpp @@ -2170,7 +2170,6 @@ RValue CodeGenFunction::EmitCallExpr(const CallExpr *E, ReturnValueSlot ReturnValue) { if (CGDebugInfo *DI = getDebugInfo()) { DI->setLocation(E->getLocStart()); - DI->UpdateLineDirectiveRegion(Builder); DI->EmitStopPoint(Builder); } -- cgit v1.2.3