add fn fname to failwith s
This commit is contained in:
parent
66c374b28f
commit
d73a8e5c4b
1 changed files with 12 additions and 12 deletions
|
@ -428,52 +428,52 @@ module InstructionSelector : InstructionSelector = struct
|
||||||
|
|
||||||
let mov ~(dst : dst) ~(src : src) =
|
let mov ~(dst : dst) ~(src : src) =
|
||||||
(* TODO *)
|
(* TODO *)
|
||||||
failwith "Students! This is your job!"
|
failwith "Students! This is your job! (mov)"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
let bin ins ~dst ~srcl ~srcr =
|
let bin ins ~dst ~srcl ~srcr =
|
||||||
(* TODO *)
|
(* TODO *)
|
||||||
failwith "Students! This is your job!"
|
failwith "Students! This is your job! (bin)"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
let add ~dst ~srcl ~srcr =
|
let add ~dst ~srcl ~srcr =
|
||||||
(* TODO *)
|
(* TODO *)
|
||||||
failwith "Students! This is your job!"
|
failwith "Students! This is your job! (add)"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
let sub ~dst ~srcl ~srcr =
|
let sub ~dst ~srcl ~srcr =
|
||||||
(* TODO *)
|
(* TODO *)
|
||||||
failwith "Students! This is your job!"
|
failwith "Students! This is your job! (sub)"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
let mul ~dst ~srcl ~srcr =
|
let mul ~dst ~srcl ~srcr =
|
||||||
(* TODO *)
|
(* TODO *)
|
||||||
failwith "Students! This is your job!"
|
failwith "Students! This is your job! (mul)"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
let div ~dst ~srcl ~srcr =
|
let div ~dst ~srcl ~srcr =
|
||||||
(* TODO *)
|
(* TODO *)
|
||||||
failwith "Students! This is your job!"
|
failwith "Students! This is your job! (div)"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
let andl ~dst ~srcl ~srcr =
|
let andl ~dst ~srcl ~srcr =
|
||||||
(* TODO *)
|
(* TODO *)
|
||||||
failwith "Students! This is your job!"
|
failwith "Students! This is your job! (andl)"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
let orl ~dst ~srcl ~srcr =
|
let orl ~dst ~srcl ~srcr =
|
||||||
(* TODO *)
|
(* TODO *)
|
||||||
failwith "Students! This is your job!"
|
failwith "Students! This is your job! (orl)"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
let conditional_jump ~cc ~srcl ~srcr ~ll ~lr =
|
let conditional_jump ~cc ~srcl ~srcr ~ll ~lr =
|
||||||
(* TODO *)
|
(* TODO *)
|
||||||
failwith "Students! This is your job!"
|
failwith "Students! This is your job! (conditional_jump)"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
let switch ?default ~discriminant ~cases () =
|
let switch ?default ~discriminant ~cases () =
|
||||||
(* TODO *)
|
(* TODO *)
|
||||||
failwith "Students! This is your job!"
|
failwith "Students! This is your job! (switch)"
|
||||||
;;
|
;;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -506,7 +506,7 @@ module FrameManager (IS : InstructionSelector) : FrameManager = struct
|
||||||
|
|
||||||
let location_of fd id =
|
let location_of fd id =
|
||||||
(* TODO *)
|
(* TODO *)
|
||||||
failwith "Students! This is your job!"
|
failwith "Students! This is your job! (location_of)"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
let function_prologue fd =
|
let function_prologue fd =
|
||||||
|
@ -521,7 +521,7 @@ module FrameManager (IS : InstructionSelector) : FrameManager = struct
|
||||||
|
|
||||||
let call fd ~kind ~f ~args =
|
let call fd ~kind ~f ~args =
|
||||||
(* TODO *)
|
(* TODO *)
|
||||||
failwith "Students! This is your job!"
|
failwith "Students! This is your job! (call)"
|
||||||
;;
|
;;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Reference in a new issue