[llvm-branch-commits] [cfe-branch] r73511 - /cfe/branches/Apple/Dib/lib/Basic/Builtins.cpp
Daniel Dunbar
daniel at zuster.org
Tue Jun 16 10:31:51 PDT 2009
Author: ddunbar
Date: Tue Jun 16 12:31:51 2009
New Revision: 73511
URL: http://llvm.org/viewvc/llvm-project?rev=73511&view=rev
Log:
Merge in 73510 (<rdar://problem/6939599>):
------------------------------------------------------------------------
r73510 | lattner | 2009-06-16 10:27:50 -0700 (Tue, 16 Jun 2009) | 4 lines
follow-on to my patch: some targets (like sparc) do not
have target-specific builtins, and do not set the count.
Just default to 0 for these targets.
------------------------------------------------------------------------
Modified:
cfe/branches/Apple/Dib/lib/Basic/Builtins.cpp
Modified: cfe/branches/Apple/Dib/lib/Basic/Builtins.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/Apple/Dib/lib/Basic/Builtins.cpp?rev=73511&r1=73510&r2=73511&view=diff
==============================================================================
--- cfe/branches/Apple/Dib/lib/Basic/Builtins.cpp (original)
+++ cfe/branches/Apple/Dib/lib/Basic/Builtins.cpp Tue Jun 16 12:31:51 2009
@@ -32,6 +32,8 @@
Builtin::Context::Context(const TargetInfo &Target) {
// Get the target specific builtins from the target.
+ TSRecords = 0;
+ NumTSRecords = 0;
Target.getTargetBuiltins(TSRecords, NumTSRecords);
}
More information about the llvm-branch-commits
mailing list