summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2007-07-27 12:58:54 +0000
committerDuncan Sands <baldrick@free.fr>2007-07-27 12:58:54 +0000
commit644f9173582f44b6293c7fadda5dc7e2bd5d5dfc (patch)
tree0f5f70a5ad5be8037ebccc348157059f648cba1a /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
parent14bbb15f07d7910fdac2e19887aac85fec86aafd (diff)
downloadbcm5719-llvm-644f9173582f44b6293c7fadda5dc7e2bd5d5dfc.tar.gz
bcm5719-llvm-644f9173582f44b6293c7fadda5dc7e2bd5d5dfc.zip
Support for trampolines, except for X86 codegen which is
still under discussion. llvm-svn: 40549
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index d4d984b13f5..4b7863d896c 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -3513,6 +3513,10 @@ std::string SDNode::getOperationName(const SelectionDAG *G) const {
case ISD::LOCATION: return "location";
case ISD::DEBUG_LOC: return "debug_loc";
+ // Trampolines
+ case ISD::ADJUST_TRAMP: return "adjust_tramp";
+ case ISD::TRAMPOLINE: return "trampoline";
+
case ISD::CONDCODE:
switch (cast<CondCodeSDNode>(this)->get()) {
default: assert(0 && "Unknown setcc condition!");
OpenPOWER on IntegriCloud