aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/hook.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compilers/hook.ts')
-rw-r--r--lib/compilers/hook.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compilers/hook.ts b/lib/compilers/hook.ts
index c731cc530..9de40faf8 100644
--- a/lib/compilers/hook.ts
+++ b/lib/compilers/hook.ts
@@ -72,10 +72,10 @@ export class HookCompiler extends BaseCompiler {
return super.runCompiler(compiler, options, inputFilename, execOptions);
}
- override processAsm(result, filters, options) {
+ override async processAsm(result, filters, options) {
// Ignoring `trim` filter because it is not supported by Hook.
filters.trim = false;
- const _result = super.processAsm(result, filters, options);
+ const _result = await super.processAsm(result, filters, options);
const commentRegex = /^\s*;(.*)/;
const instructionRegex = /^\s{2}(\d+)(.*)/;
const asm = _result.asm;