Merge pull request #8763 from ethereum/bareCall

IR code generation for call.
This commit is contained in:
chriseth
2020-05-11 16:06:54 +02:00
committed by GitHub
9 changed files with 136 additions and 75 deletions
@@ -22,5 +22,7 @@ contract C {
}
}
// ====
// compileViaYul: also
// ----
// f() -> true
@@ -3,7 +3,5 @@ contract C {
return sha256("");
}
}
// ====
// compileViaYul: also
// ----
// f() -> 0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
@@ -14,6 +14,8 @@ contract B {
}
}
// ====
// compileViaYul: also
// ----
// testIt() ->
// test() -> 2
@@ -22,6 +22,7 @@ contract C {
}
}
// ====
// compileViaYul: also
// EVMVersion: >=byzantium
// ----
// get() -> 0x00
@@ -24,6 +24,7 @@ contract C {
}
}
// ====
// compileViaYul: also
// EVMVersion: <byzantium
// ----
// get() -> 0x00
@@ -32,6 +32,7 @@ contract D {
}
}
// ====
// compileViaYul: also
// EVMVersion: <byzantium
// ----
// f() -> 0x1