[llvm-commits] [see] CVS: llvm-poolalloc/lib/DSA/Local.cpp
John Criswell
criswell at cs.uiuc.edu
Tue Feb 27 10:52:36 PST 2007
Changes in directory llvm-poolalloc/lib/DSA:
Local.cpp updated: 1.158.2.4 -> 1.158.2.4.2.1
---
Log message:
The llva_save_stackp() function returns the stack pointer.
It should be marked with the incomplete, unknown, and stack flags.
---
Diffs of the changes: (+3 -1)
Local.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
Index: llvm-poolalloc/lib/DSA/Local.cpp
diff -u llvm-poolalloc/lib/DSA/Local.cpp:1.158.2.4 llvm-poolalloc/lib/DSA/Local.cpp:1.158.2.4.2.1
--- llvm-poolalloc/lib/DSA/Local.cpp:1.158.2.4 Mon Jan 22 15:18:48 2007
+++ llvm-poolalloc/lib/DSA/Local.cpp Tue Feb 27 12:52:19 2007
@@ -1232,11 +1232,13 @@
if (DSNode *N = RetNH.getNode())
N->setModifiedMarker()->setReadMarker();
return true;
-#if 0
+#if 1
} else if (F->getName() == "llva_save_stackp") {
// Create a new DSNode for the memory returned by llva_save_stackp()
DSNode *N = createNode();
N->setAllocaNodeMarker();
+ N->setUnknownNodeMarker();
+ N->setIncompleteMarker();
//
// TODO:
More information about the llvm-commits
mailing list