(&self)
| 370 | impl Instruction { |
| 371 | #[inline] |
| 372 | pub const fn memory_addr(&self) -> Option<MemAddr> { |
| 373 | match self { |
| 374 | Self::StoreLocalLocal32(arg, ..) |
| 375 | | Self::StoreLocalLocal64(arg, ..) |
| 376 | | Self::StoreLocalLocal128(arg, ..) |
| 377 | | Self::LoadLocal32(arg, ..) |
| 378 | | Self::LoadLocalTee32(arg, ..) |
| 379 | | Self::LoadLocalSet32(arg, ..) |
| 380 | | Self::LoadLocalTee128(arg, ..) |
| 381 | | Self::LoadLocalSet128(arg, ..) |
| 382 | | Self::I32Load(arg) |
| 383 | | Self::I64Load(arg) |
| 384 | | Self::F32Load(arg) |
| 385 | | Self::F64Load(arg) |
| 386 | | Self::I32Load8S(arg) |
| 387 | | Self::I32Load8U(arg) |
| 388 | | Self::I32Load16S(arg) |
| 389 | | Self::I32Load16U(arg) |
| 390 | | Self::I64Load8S(arg) |
| 391 | | Self::I64Load8U(arg) |
| 392 | | Self::I64Load16S(arg) |
| 393 | | Self::I64Load16U(arg) |
| 394 | | Self::I64Load32S(arg) |
| 395 | | Self::I64Load32U(arg) |
| 396 | | Self::I32Store(arg) |
| 397 | | Self::I64Store(arg) |
| 398 | | Self::F32Store(arg) |
| 399 | | Self::F64Store(arg) |
| 400 | | Self::FMaStoreF32(arg) |
| 401 | | Self::FMaStoreF64(arg) |
| 402 | | Self::I32Store8(arg) |
| 403 | | Self::I32Store16(arg) |
| 404 | | Self::I64Store8(arg) |
| 405 | | Self::I64Store16(arg) |
| 406 | | Self::I64Store32(arg) |
| 407 | | Self::V128Load(arg) |
| 408 | | Self::V128Load8x8S(arg) |
| 409 | | Self::V128Load8x8U(arg) |
| 410 | | Self::V128Load16x4S(arg) |
| 411 | | Self::V128Load16x4U(arg) |
| 412 | | Self::V128Load32x2S(arg) |
| 413 | | Self::V128Load32x2U(arg) |
| 414 | | Self::V128Load8Splat(arg) |
| 415 | | Self::V128Load16Splat(arg) |
| 416 | | Self::V128Load32Splat(arg) |
| 417 | | Self::V128Load64Splat(arg) |
| 418 | | Self::V128Load8Lane(arg, ..) |
| 419 | | Self::V128Load16Lane(arg, ..) |
| 420 | | Self::V128Load32Lane(arg, ..) |
| 421 | | Self::V128Load64Lane(arg, ..) |
| 422 | | Self::V128Load32Zero(arg) |
| 423 | | Self::V128Load64Zero(arg) |
| 424 | | Self::V128Store(arg) |
| 425 | | Self::V128Store8Lane(arg, ..) |
| 426 | | Self::V128Store16Lane(arg, ..) |
| 427 | | Self::V128Store32Lane(arg, ..) |
| 428 | | Self::V128Store64Lane(arg, ..) => Some(arg.mem_addr()), |
| 429 | Self::MemorySize(mem) |
no test coverage detected