From 23268dada96d8780572cd60f368ec79ef74ca56a Mon Sep 17 00:00:00 2001 From: philippus Date: Thu, 19 Dec 2024 22:31:55 +0100 Subject: [PATCH] Update asm to patched 9.7.1 [Cherry-picked 479aff551774976037d6d5ad5ff9a9c8b1494f7c] --- compiler/src/dotty/tools/backend/jvm/BackendUtils.scala | 3 ++- project/Build.scala | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/src/dotty/tools/backend/jvm/BackendUtils.scala b/compiler/src/dotty/tools/backend/jvm/BackendUtils.scala index 5465dd8dc83c..973e9cddcadd 100644 --- a/compiler/src/dotty/tools/backend/jvm/BackendUtils.scala +++ b/compiler/src/dotty/tools/backend/jvm/BackendUtils.scala @@ -185,6 +185,7 @@ object BackendUtils { 20 -> asm.Opcodes.V20, 21 -> asm.Opcodes.V21, 22 -> asm.Opcodes.V22, - 23 -> asm.Opcodes.V23 + 23 -> asm.Opcodes.V23, + 24 -> asm.Opcodes.V24 ) } diff --git a/project/Build.scala b/project/Build.scala index 43aaad9c8e56..68870fbda5f0 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -611,7 +611,7 @@ object Build { // get libraries onboard libraryDependencies ++= Seq( - "org.scala-lang.modules" % "scala-asm" % "9.7.0-scala-2", // used by the backend + "org.scala-lang.modules" % "scala-asm" % "9.7.1-scala-1", // used by the backend Dependencies.compilerInterface, "org.jline" % "jline-reader" % "3.27.1", // used by the REPL "org.jline" % "jline-terminal" % "3.27.1",