Skip to content

Commit

Permalink
Correct signature
Browse files Browse the repository at this point in the history
  • Loading branch information
steshaw committed Apr 18, 2011
1 parent 077d3a5 commit 83ae2c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chap07/frame.sig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sig
val formals: frame -> access list
val allocLocal: frame -> bool -> access

val procEntryExit1: {frame: frame, body: Tree.exp} -> Tree.exp
val procEntryExit1: {frame: frame, body: Tree.stm} -> Tree.stm

val FP: Temp.temp
val wordSize: int
Expand Down
2 changes: 1 addition & 1 deletion chap07/x64frame.sml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ structure X64Frame: FRAME = struct

structure T = Tree

fun procEntryExit1 {frame: frame, body: T.exp} = body (* TODO *)
fun procEntryExit1 {frame: frame, body: T.stm} = body (* TODO *)

fun exp (InFrame k) exp = T.MEM(T.BINOP(T.PLUS, exp, T.CONST k))
| exp (InReg temp) _ = T.TEMP temp
Expand Down

0 comments on commit 83ae2c3

Please sign in to comment.