Remove interpreter paths and enforce bytecode-only execution

This commit is contained in:
sergeych committed 2026-02-13 00:19:47 +03:00
1 parent 4cd8e5ded2
commit 90826b519d
45 files changed
+2517 -1391

No files matched your search

@@ -392,7 +392,6 @@ class BytecodeRecentOpsTest {
val script = Compiler.compileWithResolution(
Source("<fast-local>", code),
Script.defaultImportManager,
useBytecodeStatements = true,
useFastLocalRefs = true
)
val result = script.execute(Script.defaultImportManager.newStdScope())
@@ -38,7 +38,6 @@ class CompileTimeResolutionRuntimeTest {
val script = Compiler.compileWithResolution(
Source("<strict-slot>", code),
Script.defaultImportManager,
useBytecodeStatements = false,
strictSlotRefs = true
)
val result = script.execute(Script.defaultImportManager.newStdScope())
@@ -61,7 +60,6 @@ class CompileTimeResolutionRuntimeTest {
val script = Compiler.compileWithResolution(
Source("<shadow-slot>", code),
Script.defaultImportManager,
useBytecodeStatements = true,
strictSlotRefs = true
)
val result = script.execute(Script.defaultImportManager.newStdScope())
@@ -85,7 +83,6 @@ class CompileTimeResolutionRuntimeTest {
val script = Compiler.compileWithResolution(
Source("<shadow-block>", code),
Script.defaultImportManager,
useBytecodeStatements = true,
strictSlotRefs = true
)
val result = script.execute(Script.defaultImportManager.newStdScope())
@@ -45,8 +45,7 @@ class ParamTypeInferenceTest {
Compiler.compileWithResolution(
Source("<eval>", code.trimIndent()),
Script.defaultImportManager,
miniSink = sink,
useBytecodeStatements = false
miniSink = sink
)
val mini = sink.build()!!
val binding = Binder.bind(code, mini)