清华大学-编译原理第八章幻灯片.pptVIP

  • 2
  • 0
  • 约3.32万字
  • 约 126页
  • 2018-03-27 发布于未知
  • 举报
void Binky(class Cow betsy) { betsy.InitCow(5); } _Binky: BeginFuncWithParams betsy; Var _t2; _t2 = 5; Var _t3; _t3 = *(betsy); Var _t4; _t4 = *(_t3 + 4); ACall _t4(betsy, _t2); EndFunc; (2) E?E1+E2 {E.place:= newtemp; emit(E.place“:=” E1.place“+”E2.place)} (3) E? - E1 { E.place:=newtemp; emit(E.place“:=”“uminus” E1.place)} (4) E?( E1) { E.place:= E1.place} (5) E?id {E.place:=newtemp; P:=lookup(id.name); if P?nil then E.place:=P

文档评论(0)

1亿VIP精品文档

相关文档