forked from aptos-labs/aptos-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[move-prover][spec-flatten] convert the tool into a pipeline architec…
…ture In the new architecture, each pass (e.g., triming, inlining, arithmetic simplification, etc) will be pipelined by specifing the `-p` cli option. Each pass might be executed multiple times by reapting `-p` for the pass multiple times in the CLI.
- Loading branch information
1 parent
f8659fc
commit 4edc5e4
Showing
5 changed files
with
152 additions
and
82 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
language/move-prover/tools/spec-flatten/src/exp_inlining.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright (c) The Diem Core Contributors | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
use anyhow::Result; | ||
|
||
use bytecode::function_target::FunctionTarget; | ||
use move_model::ast::Spec; | ||
|
||
use crate::workflow::WorkflowOptions; | ||
|
||
pub(crate) fn inline_all_exp_in_spec( | ||
_options: &WorkflowOptions, | ||
_target: FunctionTarget, | ||
spec: Spec, | ||
) -> Result<Spec> { | ||
Ok(spec) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters