diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2016-04-15 14:18:58 +0000 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2016-04-15 14:18:58 +0000 |
commit | 6cb18a09b139b231c187d4c8b9ae939460a26db8 (patch) | |
tree | 736457f6faa0644f057b38e5843bffebfaf2896f /libclc | |
parent | 11c7fd300ef60532917450767e8754483947554e (diff) | |
download | bcm5719-llvm-6cb18a09b139b231c187d4c8b9ae939460a26db8.tar.gz bcm5719-llvm-6cb18a09b139b231c187d4c8b9ae939460a26db8.zip |
prepare-builtins: Remove call to getGlobalContext()
This function has been removed from LLVM.
Patch By: Laurent Carlier
llvm-svn: 266430
Diffstat (limited to 'libclc')
-rw-r--r-- | libclc/utils/prepare-builtins.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libclc/utils/prepare-builtins.cpp b/libclc/utils/prepare-builtins.cpp index a7b0db5bbd0..3122f485b6e 100644 --- a/libclc/utils/prepare-builtins.cpp +++ b/libclc/utils/prepare-builtins.cpp @@ -24,7 +24,7 @@ OutputFilename("o", cl::desc("Output filename"), cl::value_desc("filename")); int main(int argc, char **argv) { - LLVMContext &Context = getGlobalContext(); + LLVMContext Context; llvm_shutdown_obj Y; // Call llvm_shutdown() on exit. cl::ParseCommandLineOptions(argc, argv, "libclc builtin preparation tool\n"); |