Skip to content

Commit 9d8539a

Browse files
committed
Changing flag name
1 parent c3b2c1d commit 9d8539a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

bin/transpiler/src/main.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@ bool read_buffer_from_file(std::ifstream &ifile, std::vector<std::uint8_t> &v) {
6868
template<typename ProfilingType, typename ConstraintSystemType, typename ColumnsRotationsType,
6969
typename ArithmetizationParams>
7070
void print_sol_files(ConstraintSystemType &constraint_system, ColumnsRotationsType &columns_rotations,
71-
std::string out_folder_path = ".", bool optimize_gates = false, bool generate_yul = true) {
71+
std::string out_folder_path = ".", bool optimize_gates = false, bool generate_asm = true) {
7272
ProfilingType::process_split(
7373
nil::blueprint::main_sol_file_template,
7474
nil::blueprint::gate_sol_file_template,
7575
constraint_system,
7676
columns_rotations,
7777
out_folder_path,
7878
optimize_gates,
79-
generate_yul
79+
generate_asm
8080
);
8181
}
8282

@@ -230,7 +230,7 @@ int main(int argc, char *argv[]) {
230230
("output-folder-path,o", boost::program_options::value<std::string>(), "Output folder absolute path.\
231231
It'll be better to create an empty folder for output")
232232
("optimize-gates", "Put multiple sequental small gates into one .sol file")
233-
("no-yul", "Skip optimised yul code generation")
233+
("no-asm", "Skip optimised assembly/yul code generation")
234234
;
235235
// clang-format on
236236

@@ -249,7 +249,7 @@ int main(int argc, char *argv[]) {
249249
std::string circuit_file_name;
250250
std::string output_folder_path;
251251
std::string public_input;
252-
bool generate_yul = true;
252+
bool generate_asm = true;
253253

254254
if (vm.count("mode")) {
255255
mode = vm["mode"].as<std::string>();
@@ -386,12 +386,12 @@ int main(int argc, char *argv[]) {
386386
bool optimize_gates = false;
387387
if( vm.count("optimize-gates") )
388388
optimize_gates = true;
389-
if(vm.count("no-yul")){
390-
generate_yul = false ;
389+
if(vm.count("no-asm")){
390+
generate_asm = false ;
391391
}
392392

393393
print_sol_files<ProfilingType, ConstraintSystemType, ColumnsRotationsType, ArithmetizationParams>(
394-
constraint_system, columns_rotations, output_folder_path, optimize_gates, generate_yul);
394+
constraint_system, columns_rotations, output_folder_path, optimize_gates, generate_asm);
395395
}
396396

397397

0 commit comments

Comments
 (0)