View Source Orb.InstructionSequence (Orb v0.0.36)
Summary
Functions
Concatenates instructions in the second
with those in first
.
Functions
Concatenates instructions in the second
with those in first
.
Examples
iex> Orb.InstructionSequence.concat(Orb.InstructionSequence.empty(), Orb.InstructionSequence.empty())
%Orb.InstructionSequence{type: :nop, body: []}
iex> Orb.InstructionSequence.concat(Orb.InstructionSequence.new([Orb.Instruction.i32(:const, 1)]), Orb.InstructionSequence.new([Orb.Instruction.f32(:const, 2.0)]))
%Orb.InstructionSequence{type: :f32, body: [
Orb.Instruction.i32(:const, 1),
Orb.Instruction.f32(:const, 2.0)
]}