mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-25 13:05:04 +00:00
Remove the use of global dialect registration from the standalone-translate.cpp example (NFC)
This commit is contained in:
parent
1948acb61b
commit
a3ef1054fd
@ -48,10 +48,8 @@ static llvm::cl::opt<bool> verifyDiagnostics(
|
||||
llvm::cl::init(false));
|
||||
|
||||
int main(int argc, char **argv) {
|
||||
mlir::registerAllDialects();
|
||||
mlir::registerAllTranslations();
|
||||
|
||||
mlir::registerDialect<mlir::standalone::StandaloneDialect>();
|
||||
// TODO: Register standalone translations here.
|
||||
|
||||
llvm::InitLLVM y(argc, argv);
|
||||
|
Loading…
x
Reference in New Issue
Block a user