solidity/test/libyul/objectCompiler/long_object_name.yul

30 lines
731 B
Plaintext
Raw Normal View History

object "t" {
code {
sstore(0, datasize("name_that_is_longer_than_32_bytes_name_that_is_longer_than_32_bytes_name_that_is_longer_than_32_bytes"))
}
object "name_that_is_longer_than_32_bytes_name_that_is_longer_than_32_bytes_name_that_is_longer_than_32_bytes" {
code {}
}
}
// ====
// optimizationPreset: full
// ----
// Assembly:
// /* "source":33:146 */
// dataSize(sub_0)
// /* "source":30:31 */
// 0x00
// /* "source":23:147 */
// sstore
2021-09-15 15:01:40 +00:00
// /* "source":19:150 */
// stop
// stop
//
// sub_0: assembly {
2021-09-15 15:01:40 +00:00
// /* "source":272:274 */
// stop
// }
2021-09-15 15:01:40 +00:00
// Bytecode: 600160005500fe
// Opcodes: PUSH1 0x1 PUSH1 0x0 SSTORE STOP INVALID
// SourceMappings: 33:113:0:-:0;30:1;23:124;19:131