From ad20fdb47769c4a3be94ddf6770e8e5617d3d8b7 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sat, 21 Jun 2025 20:27:17 +0200 Subject: [PATCH] Simplified ssa.Instruction fields --- src/ssa/Instruction.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/ssa/Instruction.go b/src/ssa/Instruction.go index 76e8e38..2ce2f80 100644 --- a/src/ssa/Instruction.go +++ b/src/ssa/Instruction.go @@ -8,11 +8,9 @@ import ( // It is implemented as a "fat struct" for performance reasons. // It contains all the fields necessary to represent all instruction types. type Instruction struct { - Type Type - Args []*Instruction - Int int64 - Float float64 - Text string + Args []*Instruction + Int int64 + Type Type } // String returns a human-readable representation of the instruction.