diff options
| author | Nagi5Yeq <wu@x-nagi.com> | 2020-06-03 02:37:02 +0800 |
|---|---|---|
| committer | Nagi5Yeq <wu@x-nagi.com> | 2020-06-03 02:37:02 +0800 |
| commit | a1553eb22b5658f11c93356ef66a778068a5c8dd (patch) | |
| tree | 1473ac10e2a27e4d1662daeff679570cb2468ef9 | |
| parent | 2d6ab4b7f207a746a7caaa93466b410cbe328626 (diff) | |
| parent | 27a5acf1e25586a8002d1173f60c98eec240ac84 (diff) | |
Merge branch 'master' of https://github.com/Nagi5Yeq/pcc
| -rw-r--r-- | main.cc | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -87,9 +87,8 @@ int main(int argc, char* argv[]) { std::string features = ""; llvm::TargetOptions options; llvm::TargetMachine* machine = - target->createTargetMachine(triple, cpu, features, options, llvm::None); - target->createTargetMachine(triple, cpu, features, options, llvm::None, - llvm::None, optimization[OptLevel]); + target->createTargetMachine(triple, cpu, features, options, llvm::None, + llvm::None, optimization[OptLevel]); llvm::DataLayout layout = machine->createDataLayout(); if (optind >= argc) { |
