projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add const qualifier.
[oota-llvm.git]
/
include
/
llvm
/
CodeGen
/
SelectionDAG.h
diff --git
a/include/llvm/CodeGen/SelectionDAG.h
b/include/llvm/CodeGen/SelectionDAG.h
index 0f8c5973c8952bdf6b5aac71a317c76a2c7b1c0d..fdd3466133813efcf28d42ce28a48bce035d502d 100644
(file)
--- a/
include/llvm/CodeGen/SelectionDAG.h
+++ b/
include/llvm/CodeGen/SelectionDAG.h
@@
-892,7
+892,7
@@
public:
/// InferPtrAlignment - Infer alignment of a load / store address. Return 0 if
/// it cannot be inferred.
- unsigned InferPtrAlignment(SDValue Ptr);
+ unsigned InferPtrAlignment(SDValue Ptr)
const
;
private:
bool RemoveNodeFromCSEMaps(SDNode *N);