mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Don't support codegen passes in opt
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5797 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f5653226b5
commit
0af1e8e3a4
@ -125,8 +125,10 @@ int main(int argc, char **argv) {
|
||||
else if (Opt->getDataCtor())
|
||||
Passes.add(Opt->getDataCtor()(TD)); // Provide dummy target data...
|
||||
else if (Opt->getTargetCtor()) {
|
||||
#if 0
|
||||
if (target.get() == NULL)
|
||||
target.reset(allocateSparcTargetMachine()); // FIXME: target option
|
||||
#endif
|
||||
assert(target.get() && "Could not allocate target machine!");
|
||||
Passes.add(Opt->getTargetCtor()(*target.get()));
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user