Mercurial > hg > CbC > CbC_xv6
changeset 340:b09689bf7f8d
tweak
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 21 Feb 2020 21:41:46 +0900 |
parents | 75df4b25f6a5 |
children | 97e3acfa9fba |
files | src/gearsTools/trans_impl.pl |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gearsTools/trans_impl.pl Fri Feb 21 21:41:05 2020 +0900 +++ b/src/gearsTools/trans_impl.pl Fri Feb 21 21:41:46 2020 +0900 @@ -74,7 +74,7 @@ $instance_impl =~ s/([A-Z])/_\l$1/g; print $out <<"EOF"; -$impl_ir->{isa}* create$impl_ir->{name}(struct Context* context) { +$impl_ir->{isa}* create$impl_ir->{name}(struct Context* cbc_context) { struct $impl_ir->{isa}* $instance_inter = new $impl_ir->{isa}(); struct $impl_ir->{name}* $instance_impl = new $impl_ir->{name}(); $instance_inter->$instance_inter = (union Data*)$instance_impl;