Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/translate/translate-basis.sml
ViewVC logotype

Diff of /branches/vis15/src/compiler/translate/translate-basis.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5571, Wed May 30 22:11:07 2018 UTC revision 5572, Thu May 31 12:54:04 2018 UTC
# Line 177  Line 177 
177  (*  (*
178                  (BV.pow_ri,             simpleOp Op.Power),                  (BV.pow_ri,             simpleOp Op.Power),
179  *)  *)
180                  (BV.pow_ri,             fn (y, _, [f, n]) => (case IR.Var.getDef n                  (BV.pow_ri,             fn (y, _, [f, n]) => case IR.Var.getDef n
181                                             of IR.LIT(Literal.Int n) =>                                             of IR.LIT(Literal.Int n) =>
182                                                  [assignEin(y, Mk.powTI(IntInf.toInt n), [f])]                                                  [assignEin(y, Mk.powTI(IntInf.toInt n), [f])]
183  (* FIXME: there is no guarantee that n will be constant! *)  (* FIXME: there is no guarantee that n will be constant! *)

Legend:
Removed from v.5571  
changed lines
  Added in v.5572

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0