Skip to content

Commit

Permalink
Add default constructor to SDNode to make gcc 3.4.6 happy.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66280 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
tlattner committed Mar 6, 2009
1 parent c7ffc9e commit 2ee7f83
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/llvm/CodeGen/SelectionDAGNodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -1114,6 +1114,10 @@ class SDNode : public FoldingSetNode, public ilist_node<SDNode> {
friend struct ilist_traits<SDNode>;

public:

/// Default SDNode constructor.
SDNode() {}

//===--------------------------------------------------------------------===//
// Accessors
//
Expand Down

0 comments on commit 2ee7f83

Please sign in to comment.