#[repr(u8)]pub enum CompoundOpCode {
Show 28 variants
arglist = 0,
ceq = 1,
cgt = 2,
cgt_un = 3,
clt = 4,
clt_un = 5,
ldftn(MetadataToken),
ldvirtftn(MetadataToken),
ldarg(u16),
ldarga(u16),
starg(u16),
ldloc(u16),
ldloca(u16),
stloc(u16),
localloc = 15,
endfilter = 17,
unaligned = 18,
volatile = 19,
tail = 20,
initobj(MetadataToken),
constrained(MetadataToken),
cpblk = 23,
initblk = 24,
no_chk(SkipFaultCheckFlags),
rethrow = 26,
sizeof(MetadataToken),
refanytype = 29,
readonly = 30,
}Variants§
arglist = 0
Return argument list handle for the current method.
ceq = 1
Push 1 (of type int32) if value1 equals value2, else push 0.
cgt = 2
Push 1 (of type int32) if value1 greater that value2, else push 0.
cgt_un = 3
Push 1 (of type int32) if value1 greater that value2, unsigned or unordered, else push 0.
clt = 4
Push 1 (of type int32) if value1 lower than value2, else push 0.
clt_un = 5
Push 1 (of type int32) if value1 lower than value2, unsigned or unordered, else push 0.
ldftn(MetadataToken)
Push a pointer to a method referenced by method, on the stack.
ldvirtftn(MetadataToken)
Push address of virtual method on the stack.
ldarg(u16)
Load argument numbered num onto the stack.
ldarga(u16)
Fetch the address of argument argNum.
starg(u16)
Store value to the argument numbered num.
ldloc(u16)
Load local variable of index indx onto stack.
ldloca(u16)
Load address of local variable with index indx.
stloc(u16)
Pop a value from stack into local variable indx.
localloc = 15
Allocate space from the local memory pool.
endfilter = 17
End an exception handling filter clause.
unaligned = 18
Subsequent pointer instruction might be unaligned.
volatile = 19
Subsequent pointer reference is volatile.
tail = 20
Subsequent call terminates current method.
initobj(MetadataToken)
Initialize the value at address dest.
constrained(MetadataToken)
Call a virtual method on a type constrained to be type T.
cpblk = 23
Copy data from memory to memory.
initblk = 24
Set all bytes in a block of memory to a given byte value.
no_chk(SkipFaultCheckFlags)
The specified fault check(s) normally performed as part of the execution of the subsequent instruction can/shall be skipped.
rethrow = 26
Rethrow the current exception.
sizeof(MetadataToken)
Push the size, in bytes, of a type as an unsigned int32.
refanytype = 29
Push the type token stored in a typed reference.
readonly = 30
Specify that the subsequent array address operation performs no type check at runtime, and that it returns a controlled-mutability managed pointer.
Implementations§
Trait Implementations§
Source§impl Clone for CompoundOpCode
impl Clone for CompoundOpCode
Source§fn clone(&self) -> CompoundOpCode
fn clone(&self) -> CompoundOpCode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for CompoundOpCode
Source§impl Debug for CompoundOpCode
impl Debug for CompoundOpCode
Source§impl PartialEq for CompoundOpCode
impl PartialEq for CompoundOpCode
Source§fn eq(&self, other: &CompoundOpCode) -> bool
fn eq(&self, other: &CompoundOpCode) -> bool
self and other values to be equal, and is used by ==.