[PATCH] Fix hardcoded stack probe space

David Majnemer david.majnemer at gmail.com
Sun Jan 4 21:33:43 PST 2015


LGTM with nits.

Thanks for your hard work on this!


REPOSITORY
  rL LLVM

================
Comment at: lib/IR/Attributes.cpp:563
@@ +562,3 @@
+unsigned AttributeSetNode::getStackProbeSize() const {
+  for (iterator I = begin(), E = end(); I != E; ++I)
+    if (I->hasAttribute(Attribute::StackProbeSize))
----------------
Can this be a range-based for loop?

http://reviews.llvm.org/D6684

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list