Mercurial > hg > Members > menikon > CbC_xv6
comparison src/gearsTools/trans_impl.pl @ 144:eef045e9772a
update pipe_read
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 15 Dec 2019 13:43:23 +0900 |
parents | 8e93917ce4be |
children | 06bf68d3b83b |
comparison
equal
deleted
inserted
replaced
143:f70c4ec3fb8a | 144:eef045e9772a |
---|---|
112 print $out " ${instance_inter}->$var_name = 0;\n"; | 112 print $out " ${instance_inter}->$var_name = 0;\n"; |
113 } | 113 } |
114 } | 114 } |
115 } | 115 } |
116 | 116 |
117 | |
118 for my $code (@{$impl_ir->{codes}}) { | |
119 my $code_gear = $code->{name}; | |
120 print $out " ${instance_impl}->$code_gear = C_$code_gear$impl_ir->{name};\n" | |
121 } | |
122 | |
117 for my $code (@{$inter_ir->{codes}}) { | 123 for my $code (@{$inter_ir->{codes}}) { |
118 my $code_gear = $code->{name}; | 124 my $code_gear = $code->{name}; |
119 print $out " ${instance_inter}->$code_gear = C_$code_gear$impl_ir->{name};\n" | 125 print $out " ${instance_inter}->$code_gear = C_$code_gear$impl_ir->{name};\n" |
120 } | 126 } |
121 | 127 |