diff options
| author | Patrick Walton <[email protected]> | 2010-08-24 16:11:43 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2010-08-24 16:11:43 -0700 |
| commit | 1b117f936dc7c21a32a14587103fc066990f06cf (patch) | |
| tree | c15d8d6c06a2047f38dcf5569e8086ba8f9c3636 /src/boot | |
| parent | Elide preempt check on thunk and ctor frames. Wins 8kb on rustc. (diff) | |
| download | rust-1b117f936dc7c21a32a14587103fc066990f06cf.tar.xz rust-1b117f936dc7c21a32a14587103fc066990f06cf.zip | |
Remove obsolete TODO about checking for return statements
Diffstat (limited to 'src/boot')
| -rw-r--r-- | src/boot/me/type.ml | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/boot/me/type.ml b/src/boot/me/type.ml index 17a4b38f..25ae22b3 100644 --- a/src/boot/me/type.ml +++ b/src/boot/me/type.ml @@ -1019,8 +1019,6 @@ let process_crate (cx:Semant.ctxt) (crate:Ast.crate) : unit = let visit_obj_drop_pre _ _ = push_fn_ctx Ast.TY_nil false in let visit_obj_drop_post _ _ = ignore (Stack.pop fn_ctx_stack) in - (* TODO: make sure you can't fall off the end of a function if it doesn't - * return void *) let visit_stmt_pre (stmt:Ast.stmt) : unit = try iflog cx |