mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Moved "step" from settings to expectations.
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
mstore(a, not_inv)
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// step: loopInvariantCodeMotion
|
||||
// ----
|
||||
// step: loopInvariantCodeMotion
|
||||
//
|
||||
// {
|
||||
// let b := 1
|
||||
// let a := 1
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
mstore(a, inv)
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// step: loopInvariantCodeMotion
|
||||
// ----
|
||||
// step: loopInvariantCodeMotion
|
||||
//
|
||||
// {
|
||||
// let b := 1
|
||||
// let a := 1
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
let q := g()
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// step: loopInvariantCodeMotion
|
||||
// ----
|
||||
// step: loopInvariantCodeMotion
|
||||
//
|
||||
// {
|
||||
// function f() -> x
|
||||
// { x := g() }
|
||||
|
||||
+2
-2
@@ -8,9 +8,9 @@
|
||||
let q := g()
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// step: loopInvariantCodeMotion
|
||||
// ----
|
||||
// step: loopInvariantCodeMotion
|
||||
//
|
||||
// {
|
||||
// function f() -> x
|
||||
// { x := g() }
|
||||
|
||||
@@ -7,9 +7,9 @@
|
||||
mstore(a, not_inv)
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// step: loopInvariantCodeMotion
|
||||
// ----
|
||||
// step: loopInvariantCodeMotion
|
||||
//
|
||||
// {
|
||||
// let b := 1
|
||||
// let a := 1
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
mstore(a, inv)
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// step: loopInvariantCodeMotion
|
||||
// ----
|
||||
// step: loopInvariantCodeMotion
|
||||
//
|
||||
// {
|
||||
// let b := 0
|
||||
// let a := 1
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
a := add(a, 1)
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// step: loopInvariantCodeMotion
|
||||
// ----
|
||||
// step: loopInvariantCodeMotion
|
||||
//
|
||||
// {
|
||||
// let b := 1
|
||||
// let a := 1
|
||||
|
||||
@@ -6,9 +6,9 @@
|
||||
mstore(a, inv)
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// step: loopInvariantCodeMotion
|
||||
// ----
|
||||
// step: loopInvariantCodeMotion
|
||||
//
|
||||
// {
|
||||
// let b := 1
|
||||
// let a := 1
|
||||
|
||||
Reference in New Issue
Block a user