llvm.org GIT mirror llvm / f8db8a0
Fix spelling, patch contributed by Gabor Greif git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20342 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 15 years ago
3 changed file(s) with 4 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
2222 // identical if they are pointer equals of each other. This allows us to have
2323 // two opaque types that end up resolving to different concrete types later.
2424 //
25 // Opaque types are also kinda wierd and scary and different because they have
25 // Opaque types are also kinda weird and scary and different because they have
2626 // to keep a list of uses of the type. When, through linking, parsing, or
2727 // bytecode reading, they become resolved, they need to find and update all
2828 // users of the unknown type, causing them to reference a new, more concrete
9696 return static_cast(Val->get());
9797 }
9898 };
99
99100 template<> struct simplify_type
100101 : public simplify_type {};
101102
106107 return static_cast(Val->get());
107108 }
108109 };
110
109111 template<> struct simplify_type
110112 : public simplify_type {};
111113
20002000 #if 0
20012001 if (CS.getNumPtrArgs() && CS.getCalleeNode() == CS.getPtrArg(0).getNode() &&
20022002 CS.getCalleeNode() && CS.getCalleeNode()->getGlobals().empty())
2003 std::cerr << "WARNING: WIERD CALL SITE FOUND!\n";
2003 std::cerr << "WARNING: WEIRD CALL SITE FOUND!\n";
20042004 #endif
20052005 }
20062006 AssertNodeInGraph(CS.getRetVal().getNode());