Skip to content

Commit

Permalink
Merge branch 'main' into StackUsage
Browse files Browse the repository at this point in the history
  • Loading branch information
OfekShilon authored May 14, 2024
2 parents f9c87b0 + db9e3cb commit 16e7b66
Show file tree
Hide file tree
Showing 27 changed files with 1,797 additions and 1,405 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/test-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
check-latest: true
cache: npm
- name: Install prerequisites
run: make prereqs
- name: Setup Firefox
Expand All @@ -20,7 +26,7 @@ jobs:
uses: browser-actions/setup-chrome@v1
if: matrix.browser == 'chrome'
- name: Cypress run
uses: cypress-io/github-action@v5
uses: cypress-io/github-action@v6
with:
start: npm run dev -- --language c++ --noLocal
wait-on: 'http://localhost:10240'
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,4 @@ From oldest to newest contributor, we would like to thank:
- [Khyber Sen](https://github.com/kkysen)
- [Matthew Guidry](https://github.com/mguid65)
- [Adam Thibert](https://github.com/adamaq01)
- [Nazım Can Altınova](https://github.com/canova)
16 changes: 14 additions & 2 deletions etc/config/c++.amazon.properties
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ compiler.clang_variadic_friends.options=-Xclang -fvariadic-friends
compiler.clang_variadic_friends.notification=A rough implementation of variadic friends. More information <a href="https://wg21.link/P2893" target="_blank" rel="noopener noreferrer">here<sup><small class="fas fa-external-link-alt opens-new-window" title="Opens in a new window"></small></sup></a>
compiler.clang_clangir.exe=/opt/compiler-explorer/clang-clangir-trunk/bin/clang++
compiler.clang_clangir.semver=(clangir)
compiler.clang_clangir.options=-std=c++20 -Xclang -fclangir-enable -Xclang -emit-cir -Xclang -clangir-disable-emit-cxx-default
compiler.clang_clangir.options=-std=c++20 -Xclang -fclangir -Xclang -emit-cir -Xclang -clangir-disable-emit-cxx-default
compiler.clang_clangir.notification=ClangIR enabled clang compiler; see <a href="https://clangir.org" target="_blank" rel="noopener noreferrer">clangir.org<sup><small class="fas fa-external-link-alt opens-new-window" title="Opens in a new window"></small></sup></a>

group.clangx86assert.compilers=clang26assert:clang27assert:clang28assert:clang29assert:clang30assert:clang31assert:clang32assert:clang33assert:clang34assert:clang35assert:clang36assert:clang37assert:clang38assert:clang39assert:clang40assert:clang50assert:clang60assert:clang70assert:clang80assert:clang90assert:clang100assert:clang110assert:clang120assert:clang130assert:clang140assert:clang150assert:clang160assert:clang170assert:clang181assert
Expand Down Expand Up @@ -2005,15 +2005,27 @@ compiler.armgtrunk.isNightly=true

# 64 bit
group.gcc64arm.groupName=Arm 64-bit GCC
group.gcc64arm.compilers=aarchg54:arm64g630:arm64g640:arm64g730:arm64g750:arm64g820:arm64g850:arm64g930:arm64g940:arm64g950:arm64g1020:arm64g1030:arm64g1040:arm64g1100:arm64g1120:arm64g1130:arm64g1140:arm64g1210:arm64gtrunk:arm64g1220:arm64g1230:arm64g1310:arm64g1050:arm64g1320:arm64g1410
group.gcc64arm.compilers=arm64g494:aarchg54:arm64g550:arm64g630:arm64g640:arm64g730:arm64g750:arm64g820:arm64g850:arm64g930:arm64g940:arm64g950:arm64g1020:arm64g1030:arm64g1040:arm64g1100:arm64g1120:arm64g1130:arm64g1140:arm64g1210:arm64gtrunk:arm64g1220:arm64g1230:arm64g1310:arm64g1050:arm64g1320:arm64g1410
group.gcc64arm.isSemVer=true
group.gcc64arm.objdumper=/opt/compiler-explorer/arm64/gcc-10.2.0/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/bin/objdump
group.gcc64arm.instructionSet=aarch64
group.gcc64arm.baseName=ARM64 gcc

compiler.arm64g494.exe=/opt/compiler-explorer/arm64/gcc-4.9.4/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-g++
compiler.arm64g494.semver=4.9.4
compiler.arm64g494.objdumper=/opt/compiler-explorer/arm64/gcc-4.9.4/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-objdump
compiler.arm64g494.demangler=/opt/compiler-explorer/arm64/gcc-4.9.4/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-c++filt


compiler.aarchg54.exe=/opt/compiler-explorer/arm64/gcc-5.4.0/aarch64-unknown-linux-gnueabi/bin/aarch64-unknown-linux-gnueabi-g++
compiler.aarchg54.alias=aarchg48
compiler.aarchg54.semver=5.4

compiler.arm64g550.exe=/opt/compiler-explorer/arm64/gcc-5.5.0/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-g++
compiler.arm64g550.semver=5.5.0
compiler.arm64g550.objdumper=/opt/compiler-explorer/arm64/gcc-5.5.0/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-objdump
compiler.arm64g550.demangler=/opt/compiler-explorer/arm64/gcc-5.5.0/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-c++filt

compiler.arm64g630.exe=/opt/compiler-explorer/arm64/gcc-6.3.0/aarch64-unknown-linux-gnueabi/bin/aarch64-unknown-linux-gnueabi-g++
compiler.arm64g630.semver=6.3
compiler.arm64g640.exe=/opt/compiler-explorer/arm64/gcc-6.4.0/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-g++
Expand Down
13 changes: 12 additions & 1 deletion etc/config/c.amazon.properties
Original file line number Diff line number Diff line change
Expand Up @@ -1648,13 +1648,24 @@ compiler.carmgtrunk.isNightly=true
# 64 bit
group.cgcc64arm.groupName=ARM64 gcc
group.cgcc64arm.baseName=ARM64 GCC
group.cgcc64arm.compilers=caarchg54:carm64g630:carm64g640:carm64g730:carm64g750:carm64g820:carm64g850:carm64g930:carm64g940:carm64g950:carm64g1020:carm64g1030:carm64g1040:carm64g1100:carm64g1120:carm64g1130:carm64g1140:carm64g1210:carm64gtrunk:carm64g1220:carm64g1230:carm64g1310:carm64g1050:carm64g1320:carm64g1410
group.cgcc64arm.compilers=carm64g494:caarchg54:carm64g550:carm64g630:carm64g640:carm64g730:carm64g750:carm64g820:carm64g850:carm64g930:carm64g940:carm64g950:carm64g1020:carm64g1030:carm64g1040:carm64g1100:carm64g1120:carm64g1130:carm64g1140:carm64g1210:carm64gtrunk:carm64g1220:carm64g1230:carm64g1310:carm64g1050:carm64g1320:carm64g1410
group.cgcc64arm.isSemVer=true
group.cgcc64arm.objdumper=/opt/compiler-explorer/arm64/gcc-10.2.0/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/bin/objdump
group.cgcc64arm.instructionSet=aarch64

compiler.carm64g494.exe=/opt/compiler-explorer/arm64/gcc-4.9.4/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-gcc
compiler.carm64g494.semver=4.9.4
compiler.carm64g494.objdumper=/opt/compiler-explorer/arm64/gcc-4.9.4/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-objdump
compiler.carm64g494.demangler=/opt/compiler-explorer/arm64/gcc-4.9.4/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-c++filt

compiler.caarchg54.exe=/opt/compiler-explorer/arm64/gcc-5.4.0/aarch64-unknown-linux-gnueabi/bin/aarch64-unknown-linux-gnueabi-gcc
compiler.caarchg54.semver=5.4

compiler.carm64g550.exe=/opt/compiler-explorer/arm64/gcc-5.5.0/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-gcc
compiler.carm64g550.semver=5.5.0
compiler.carm64g550.objdumper=/opt/compiler-explorer/arm64/gcc-5.5.0/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-objdump
compiler.carm64g550.demangler=/opt/compiler-explorer/arm64/gcc-5.5.0/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-c++filt

compiler.carm64g630.exe=/opt/compiler-explorer/arm64/gcc-6.3.0/aarch64-unknown-linux-gnueabi/bin/aarch64-unknown-linux-gnueabi-gcc
compiler.carm64g630.semver=6.3
compiler.carm64g640.exe=/opt/compiler-explorer/arm64/gcc-6.4.0/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-gcc
Expand Down
9 changes: 6 additions & 3 deletions etc/config/crystal.amazon.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
compilers=&crystal
defaultCompiler=crystal1111
defaultCompiler=crystal1121

group.crystal.compilers=crystal1111:crystal1101:crystal192:crystal182:crystal173:crystal162:crystal151:crystal141:crystal132:crystal122:crystal11:crystal10:crystal036:crystal035:crystal034:crystal033:crystal032:crystal031:crystal030:crystal029
group.crystal.compilers=crystal1121:crystal1111:crystal1101:crystal192:crystal182:crystal173:crystal162:crystal151:crystal141:crystal132:crystal122:crystal11:crystal10:crystal036:crystal035:crystal034:crystal033:crystal032:crystal031:crystal030:crystal029
group.crystal.isSemVer=true
group.crystal.baseName=Crystal
group.crystal.groupName=Crystal x86-64
Expand All @@ -11,8 +11,11 @@ group.crystal.compilerType=crystal
group.crystal.objdumper=/opt/compiler-explorer/gcc-snapshot/bin/objdump
group.crystal.licenseLink=https://github.com/crystal-lang/crystal/blob/master/LICENSE
group.crystal.licenseName=Apache 2
group.crystal.licensePreamble=Copyright 2012-2023 Manas Technology Solutions.
group.crystal.licensePreamble=Copyright 2012-2024 Manas Technology Solutions.

compiler.crystal1121.semver=1.12.1
compiler.crystal1121.exe=/opt/compiler-explorer/crystal-1.12.1/bin/crystal
compiler.crystal1121.cc=/opt/compiler-explorer/gcc-snapshot/bin/gcc
compiler.crystal1111.semver=1.11.1
compiler.crystal1111.exe=/opt/compiler-explorer/crystal-1.11.1/bin/crystal
compiler.crystal1111.cc=/opt/compiler-explorer/gcc-snapshot/bin/gcc
Expand Down
13 changes: 12 additions & 1 deletion etc/config/fortran.amazon.properties
Original file line number Diff line number Diff line change
Expand Up @@ -573,9 +573,20 @@ compiler.flangtrunknew-fc.supportsBinaryExecute=false

###############################
# GCC for ARM 64bit
group.gccaarch64.compilers=farm64g640:farm64g730:farm64g820:farm64g1050:farm64g1210:farm64g1220:farm64g1230:farm64g1310:farm64g1140:farm64g1320:farm64g1410
group.gccaarch64.compilers=farm64g494:farm64g550:farm64g640:farm64g730:farm64g820:farm64g1050:farm64g1210:farm64g1220:farm64g1230:farm64g1310:farm64g1140:farm64g1320:farm64g1410
group.gccaarch64.groupName=ARM (AARCH64) GCC
group.gccaarch64.baseName=AARCH64 gfortran

compiler.farm64g494.exe=/opt/compiler-explorer/arm64/gcc-4.9.4/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-gfortran
compiler.farm64g494.semver=4.9.4
compiler.farm64g494.objdumper=/opt/compiler-explorer/arm64/gcc-4.9.4/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-objdump
compiler.farm64g494.demangler=/opt/compiler-explorer/arm64/gcc-4.9.4/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-c++filt

compiler.farm64g550.exe=/opt/compiler-explorer/arm64/gcc-5.5.0/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-gfortran
compiler.farm64g550.semver=5.5.0
compiler.farm64g550.objdumper=/opt/compiler-explorer/arm64/gcc-5.5.0/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-objdump
compiler.farm64g550.demangler=/opt/compiler-explorer/arm64/gcc-5.5.0/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-c++filt

compiler.farm64g640.exe=/opt/compiler-explorer/arm64/gcc-6.4.0/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-gfortran
compiler.farm64g640.semver=6.4
compiler.farm64g730.exe=/opt/compiler-explorer/arm64/gcc-7.3.0/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-gfortran
Expand Down
19 changes: 18 additions & 1 deletion etc/config/mlir.amazon.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
compilers=&mliropt
compilers=&mliropt:&mlirtranslate
defaultCompiler=mliropt1600
compilerType=mlir

Expand All @@ -22,3 +22,20 @@ compiler.mliropt1405.exe=/opt/compiler-explorer/mlir-14.0.5/bin/mlir-opt
compiler.mliropt1405.semver=14.0.5
compiler.mliropt1400.exe=/opt/compiler-explorer/mlir-14.0.0/bin/mlir-opt
compiler.mliropt1400.semver=14.0.0

group.mlirtranslate.compilers=mlirtranslate1400:mlirtranslate1405:mlirtranslate1600:mlirtranslatetrunk
group.mlirtranslate.isSemVer=true
group.mlirtranslate.baseName=MLIR Translate
group.mlirtranslate.licenseName=LLVM Apache 2
group.mlirtranslate.licenseLink=https://github.com/llvm/llvm-project/blob/main/mlir/LICENSE.TXT
group.mlirtranslate.licensePreamble=The LLVM Project is under the Apache License v2.0 with LLVM Exceptions

compiler.mlirtranslatetrunk.exe=/opt/compiler-explorer/mlir-trunk/bin/mlir-translate
compiler.mlirtranslatetrunk.semver=(trunk)
compiler.mlirtranslatetrunk.isNightly=true
compiler.mlirtranslate1600.exe=/opt/compiler-explorer/mlir-16.0.0/bin/mlir-translate
compiler.mlirtranslate1600.semver=16.0.0
compiler.mlirtranslate1405.exe=/opt/compiler-explorer/mlir-14.0.5/bin/mlir-translate
compiler.mlirtranslate1405.semver=14.0.5
compiler.mlirtranslate1400.exe=/opt/compiler-explorer/mlir-14.0.0/bin/mlir-translate
compiler.mlirtranslate1400.semver=14.0.0
8 changes: 7 additions & 1 deletion etc/config/rust.amazon.properties
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ compiler.mrustc-master.isNightly=true
#################################
# Installed libs, generated from ce_install generate-rust-crates
# Don't modify directly
libs=aho-corasick:ansi_term:anyhow:arrayvec:atty:autocfg:backtrace:base64:bincode:bitflags:block-buffer:byteorder:bytes:cc:cfg-if:chrono:clap:color-eyre:contracts:crossbeam-channel:crossbeam-deque:crossbeam-epoch:crossbeam-utils:dashmap:digest:either:env_logger:eyre:fnv:futures:futures-channel:futures-core:futures-task:futures-util:generic-array:getrandom:h2:hashbrown:heck:http:httparse:hyper:idna:indexmap:itertools:itoa:lazy_static:libc:lock_api:log:matches:memchr:memoffset:miniz_oxide:mio:ndarray:num:num-integer:num-traits:num_cpus:num_traits:once_cell:opaque-debug:parking_lot:parking_lot_core:percent-encoding:phf:pin-project-lite:pkg-config:ppv-lite86:proc-macro-hack:proc-macro2:quote:rand:rand_chacha:rand_core:rayon:regex:regex-syntax:rustc_version:ryu:scopeguard:semver:semver-parser:serde:serde_derive:serde_json:slab:smallvec:socket2:strsim:subtle:syn:termcolor:textwrap:thiserror:thiserror-impl:thread_local:time:tokio:toml:typenum:unicode-bidi:unicode-normalization:unicode-segmentation:unicode-width:unicode-xid:url:vec_map:version_check:wide:winapi:zerocopy
libs=aho-corasick:ansi_term:anyhow:arrayvec:atty:autocfg:backtrace:base64:bincode:bitflags:block-buffer:byteorder:bytes:cc:cfg-if:chrono:clap:color-eyre:contracts:crossbeam-channel:crossbeam-deque:crossbeam-epoch:crossbeam-utils:dashmap:digest:either:env_logger:eyre:fnv:futures:futures-channel:futures-core:futures-task:futures-util:generic-array:getrandom:h2:hashbrown:heck:http:httparse:hyper:idna:indexmap:itertools:itoa:lazy_static:libc:lock_api:log:matches:memchr:memoffset:miniz_oxide:mio:ndarray:nix:num:num-integer:num-traits:num_cpus:num_traits:once_cell:opaque-debug:parking_lot:parking_lot_core:percent-encoding:phf:pin-project-lite:pkg-config:ppv-lite86:proc-macro-hack:proc-macro2:quote:rand:rand_chacha:rand_core:rayon:regex:regex-syntax:rustc_version:ryu:scopeguard:semver:semver-parser:serde:serde_derive:serde_json:slab:smallvec:socket2:strsim:subtle:syn:termcolor:textwrap:thiserror:thiserror-impl:thread_local:time:tokio:toml:typenum:unicode-bidi:unicode-normalization:unicode-segmentation:unicode-width:unicode-xid:url:vec_map:version_check:wide:winapi:zerocopy

libs.aho-corasick.name=aho-corasick
libs.aho-corasick.url=https://crates.io/crates/aho-corasick
Expand Down Expand Up @@ -596,6 +596,12 @@ libs.ndarray.versions=0154
libs.ndarray.versions.0154.version=0.15.4
libs.ndarray.versions.0154.path=libndarray.rlib

libs.nix.name=nix
libs.nix.url=https://crates.io/crates/nix
libs.nix.versions=0280
libs.nix.versions.0280.version=0.28.0
libs.nix.versions.0280.path=libnix.rlib

libs.num.name=num
libs.num.url=https://crates.io/crates/num
libs.num.versions=040
Expand Down
10 changes: 5 additions & 5 deletions lib/base-compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3181,12 +3181,12 @@ export class BaseCompiler implements ICompiler {
return false;
}

isCfgCompiler(compilerVersion: string) {
isCfgCompiler() {
return (
compilerVersion.includes('clang') ||
compilerVersion.includes('icc (ICC)') ||
this.compiler.version.includes('clang') ||
this.compiler.version.includes('icc (ICC)') ||
['amd64', 'arm32', 'aarch64', 'llvm'].includes(this.compiler.instructionSet ?? '') ||
compilerVersion.match(/^([\w-]*-)?g((\+\+)|(cc)|(dc))/g) !== null
/^([\w-]*-)?g((\+\+)|(cc)|(dc))/.test(this.compiler.version) !== null
);
}

Expand Down Expand Up @@ -3586,7 +3586,7 @@ but nothing was dumped. Possible causes are:
logger.debug(`${compiler} is version '${version}'`);
this.compiler.version = version;
this.compiler.fullVersion = fullVersion;
this.compiler.supportsCfg = this.isCfgCompiler(version);
this.compiler.supportsCfg = this.isCfgCompiler();
// all C/C++ compilers support -E
this.compiler.supportsPpView = this.compiler.lang === 'c' || this.compiler.lang === 'c++';
this.compiler.supportsAstView = this.couldSupportASTDump(version);
Expand Down
2 changes: 1 addition & 1 deletion lib/compilers/assembly.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export class AssemblyCompiler extends BaseCompiler {
return this.getGeneratedOutputFilename(defaultOutputFilename);
}

override isCfgCompiler(/* compilerVersion */) {
override isCfgCompiler() {
return true;
}
}
2 changes: 1 addition & 1 deletion lib/compilers/beebasm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class BeebAsmCompiler extends BaseCompiler {
return result;
}

override isCfgCompiler(/*compilerVersion: string*/): boolean {
override isCfgCompiler(): boolean {
return true;
}
}
5 changes: 5 additions & 0 deletions lib/compilers/golang.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,4 +272,9 @@ export class GolangCompiler extends BaseCompiler {
override getArgumentParser(): any {
return GolangParser;
}

override isCfgCompiler() {
// #6439: `gccgo` is ok, the default go compiler `gc` isn't
return !this.compiler.version.includes('go version');
}
}
2 changes: 1 addition & 1 deletion lib/compilers/ispc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class ISPCCompiler extends BaseCompiler {
);
}

override isCfgCompiler(/*compilerVersion*/) {
override isCfgCompiler() {
return true;
}
}
2 changes: 1 addition & 1 deletion lib/compilers/movfuscator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class MovfuscatorCompiler extends BaseCompiler {
return 'movfuscator';
}

override isCfgCompiler(compilerVersion: string) {
override isCfgCompiler() {
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/compilers/nim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class NimCompiler extends BaseCompiler {
return NimParser;
}

override isCfgCompiler(/*compilerVersion*/) {
override isCfgCompiler() {
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/compilers/racket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class RacketCompiler extends BaseCompiler {
return [];
}

override isCfgCompiler(/*compilerVersion*/) {
override isCfgCompiler() {
return false;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/compilers/rust.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export class RustCompiler extends BaseCompiler {
return RustParser;
}

override isCfgCompiler(/*compilerVersion*/) {
override isCfgCompiler() {
return true;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/compilers/snowball.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export class SnowballCompiler extends BaseCompiler {
return options;
}

override isCfgCompiler(/*compilerVersion*/) {
override isCfgCompiler() {
return true;
}
}
2 changes: 1 addition & 1 deletion lib/compilers/solidity-eravm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class SolidityEravmCompiler extends BaseCompiler {
return ['--combined-json', 'asm', '-o', 'contracts'];
}

override isCfgCompiler(/*compilerVersion*/) {
override isCfgCompiler() {
return false;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/compilers/solidity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class SolidityCompiler extends BaseCompiler {
];
}

override isCfgCompiler(/*compilerVersion*/) {
override isCfgCompiler() {
return false;
}

Expand Down
2 changes: 1 addition & 1 deletion lib/compilers/swift.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class SwiftCompiler extends BaseCompiler {
return SwiftParser;
}

override isCfgCompiler(/*compilerVersion*/) {
override isCfgCompiler() {
return true;
}
}
2 changes: 1 addition & 1 deletion lib/compilers/zig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export class ZigCompiler extends BaseCompiler {
return userOptions.filter(option => !forbiddenOptions.test(option));
}

override isCfgCompiler(/*compilerVersion*/): boolean {
override isCfgCompiler(): boolean {
return true;
}
}
Loading

0 comments on commit 16e7b66

Please sign in to comment.