Skip to content

Commit

Permalink
Fix old and add new unsupported APIs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tacodiva committed Jul 28, 2024
1 parent 177b899 commit a589e57
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/compiler/irgen.js
Original file line number Diff line number Diff line change
Expand Up @@ -1494,4 +1494,7 @@ class IRGenerator {
}
}

module.exports = IRGenerator;
module.exports = {
ScriptTreeGenerator,
IRGenerator
};
5 changes: 5 additions & 0 deletions src/virtual-machine.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,11 @@ class VirtualMachine extends EventEmitter {
JSGenerator: require('./compiler/jsgen.js'),
IRGenerator: require('./compiler/irgen.js').IRGenerator,
ScriptTreeGenerator: require('./compiler/irgen.js').ScriptTreeGenerator,
IntermediateStackBlock: require("./compiler/intermediate.js").IntermediateStackBlock,

Check failure on line 231 in src/virtual-machine.js

View workflow job for this annotation

GitHub Actions / build

Strings must use singlequote
IntermediateInput: require("./compiler/intermediate.js").IntermediateInput,

Check failure on line 232 in src/virtual-machine.js

View workflow job for this annotation

GitHub Actions / build

Strings must use singlequote
IntermediateStack: require("./compiler/intermediate.js").IntermediateStack,

Check failure on line 233 in src/virtual-machine.js

View workflow job for this annotation

GitHub Actions / build

Strings must use singlequote
IntermediateScript: require("./compiler/intermediate.js").IntermediateScript,

Check failure on line 234 in src/virtual-machine.js

View workflow job for this annotation

GitHub Actions / build

Strings must use singlequote
IntermediateRepresentation: require("./compiler/intermediate.js").IntermediateRepresentation,

Check failure on line 235 in src/virtual-machine.js

View workflow job for this annotation

GitHub Actions / build

Strings must use singlequote
Thread: require('./engine/thread.js'),
execute: require('./engine/execute.js')
});
Expand Down

0 comments on commit a589e57

Please sign in to comment.