make AsyncEmbeddedScript instruction tracing possible without debug build

This commit is contained in:
2023-07-17 11:43:05 -06:00
parent 552d3978e4
commit d608beaf32
2 changed files with 6 additions and 3 deletions

View File

@@ -42,6 +42,9 @@ class DSLScript extends EmbeddedScript {}
@:build(kiss.AsyncEmbeddedScript.build("", "DSL.kiss", "AsyncDSLScript.dsl"))
class AsyncDSLScript extends AsyncEmbeddedScript {}
// One of these two classes will reuse instructions from the cache, but
// I can't guarantee which one compiles first:
@:build(kiss.AsyncEmbeddedScript.build("", "DSL.kiss", "AsyncDSLScriptThatWillCache.dsl"))
class AsyncDSLScriptThatWillCache extends AsyncEmbeddedScript {}