File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Sources/WasmKit/Execution Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -203,12 +203,14 @@ struct WasmFunctionEntity {
203203typealias InternalUncompiledCode = EntityHandle < Code >
204204
205205/// A compiled instruction sequence.
206- struct InstructionSequence : Equatable {
206+ struct InstructionSequence {
207207 let instructions : UnsafeMutableBufferPointer < CodeSlot >
208208 /// The maximum height of the value stack during execution of this function.
209209 /// This height does not count the locals.
210210 let maxStackHeight : Int
211211
212+ /// The constant value pool associated with this instruction sequence.
213+ /// See ``FrameHeaderLayout`` for how they are laid out on the stack.
212214 let constants : UnsafeBufferPointer < UntypedValue >
213215
214216 init ( instructions: UnsafeMutableBufferPointer < CodeSlot > , maxStackHeight: Int , constants: UnsafeBufferPointer < UntypedValue > ) {
@@ -220,10 +222,6 @@ struct InstructionSequence: Equatable {
220222 var baseAddress : UnsafeMutablePointer < CodeSlot > {
221223 self . instructions. baseAddress!
222224 }
223-
224- static func == ( lhs: InstructionSequence , rhs: InstructionSequence ) -> Bool {
225- lhs. instructions. baseAddress == rhs. instructions. baseAddress
226- }
227225}
228226
229227enum CodeBody {
You can’t perform that action at this time.
0 commit comments