[llvm-commits] [dragonegg] r132036 - in /dragonegg/trunk/src: Backend.cpp Convert.cpp
Rafael Espindola
rafael.espindola at gmail.com
Tue May 24 20:48:36 PDT 2011
Author: rafael
Date: Tue May 24 22:48:35 2011
New Revision: 132036
URL: http://llvm.org/viewvc/llvm-project?rev=132036&view=rev
Log:
Update for llvm API change.
Modified:
dragonegg/trunk/src/Backend.cpp
dragonegg/trunk/src/Convert.cpp
Modified: dragonegg/trunk/src/Backend.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Backend.cpp?rev=132036&r1=132035&r2=132036&view=diff
==============================================================================
--- dragonegg/trunk/src/Backend.cpp (original)
+++ dragonegg/trunk/src/Backend.cpp Tue May 24 22:48:35 2011
@@ -324,8 +324,6 @@
Args.push_back("--debug-pass=Structure");
if (DebugPassArguments)
Args.push_back("--debug-pass=Arguments");
- if (flag_unwind_tables)
- Args.push_back("--unwind-tables");
if (!flag_schedule_insns)
Args.push_back("--pre-RA-sched=source");
if (flag_function_sections)
Modified: dragonegg/trunk/src/Convert.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/src/Convert.cpp?rev=132036&r1=132035&r2=132036&view=diff
==============================================================================
--- dragonegg/trunk/src/Convert.cpp (original)
+++ dragonegg/trunk/src/Convert.cpp Tue May 24 22:48:35 2011
@@ -682,6 +682,9 @@
if (!flag_exceptions)
Fn->setDoesNotThrow();
+ if (flag_unwind_tables)
+ Fn->setHasUWTable();
+
// Create a new basic block for the function.
BasicBlock *EntryBlock = BasicBlock::Create(Context, "entry", Fn);
BasicBlocks[ENTRY_BLOCK_PTR] = EntryBlock;
More information about the llvm-commits
mailing list