mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Add support for the Invoke instruction by using the LowerInvoke pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8872 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c58c169eda
commit
d324e2501c
@ -158,6 +158,9 @@ bool UltraSparc::addPassesToEmitAssembly(PassManager &PM, std::ostream &Out)
|
||||
|
||||
// FIXME: implement the switch instruction in the instruction selector.
|
||||
PM.add(createLowerSwitchPass());
|
||||
|
||||
// FIXME: implement the invoke/unwind instructions!
|
||||
PM.add(createLowerInvokePass());
|
||||
|
||||
// decompose multi-dimensional array references into single-dim refs
|
||||
PM.add(createDecomposeMultiDimRefsPass());
|
||||
@ -234,6 +237,9 @@ bool UltraSparc::addPassesToJITCompile(FunctionPassManager &PM) {
|
||||
// FIXME: implement the switch instruction in the instruction selector.
|
||||
PM.add(createLowerSwitchPass());
|
||||
|
||||
// FIXME: implement the invoke/unwind instructions!
|
||||
PM.add(createLowerInvokePass());
|
||||
|
||||
// decompose multi-dimensional array references into single-dim refs
|
||||
PM.add(createDecomposeMultiDimRefsPass());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user