From 4f149b2427500096c7bb58788a083ada2f8c70a0 Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter Date: Mon, 22 Jan 2024 16:45:17 -0600 Subject: [PATCH] Add missing Integer operand to IR serialization read --- core/src/main/java/org/jruby/ir/persistence/IRReaderStream.java | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/main/java/org/jruby/ir/persistence/IRReaderStream.java b/core/src/main/java/org/jruby/ir/persistence/IRReaderStream.java index a7c682c3794..a2441ca04b6 100644 --- a/core/src/main/java/org/jruby/ir/persistence/IRReaderStream.java +++ b/core/src/main/java/org/jruby/ir/persistence/IRReaderStream.java @@ -529,6 +529,7 @@ public Operand decode(OperandType type) { case GLOBAL_VARIABLE: return GlobalVariable.decode(this); case HASH: return Hash.decode(this); case IR_EXCEPTION: return IRException.decode(this); + case INTEGER: return org.jruby.ir.operands.Integer.decode(this); case LABEL: return Label.decode(this); case LOCAL_VARIABLE: return LocalVariable.decode(this); case NIL: return manager.getNil();