about summary refs log tree commit diff
path: root/src/boot/be/ra.ml
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2010-08-03 18:52:49 -0700
committerGraydon Hoare <graydon@mozilla.com>2010-08-03 18:52:49 -0700
commitc014748c0191b711e2adf5a5db224474ea4e75d3 (patch)
tree6c48001fb6c568ff409c73c3d6998dd292b31800 /src/boot/be/ra.ml
parent6277b462e938d9df8b75126244817d2e28dab80a (diff)
downloadrust-c014748c0191b711e2adf5a5db224474ea4e75d3.tar.gz
rust-c014748c0191b711e2adf5a5db224474ea4e75d3.zip
Remove dead implicit-destinations logic from IL.
Diffstat (limited to 'src/boot/be/ra.ml')
-rw-r--r--src/boot/be/ra.ml9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/boot/be/ra.ml b/src/boot/be/ra.ml
index 53b4f46f929..3da474b4255 100644
--- a/src/boot/be/ra.ml
+++ b/src/boot/be/ra.ml
@@ -131,12 +131,9 @@ let kill_redundant_moves (cx:ctxt) : unit =
 ;;
 
 let quad_jump_target_labels (q:quad) : Il.label list =
-  let explicits =
-    match q.Il.quad_body with
-        Il.Jmp { Il.jmp_targ = Il.CodeLabel lab } -> [ lab ]
-      | _ -> []
-  in
-    explicits @ q.quad_implicits;
+  match q.Il.quad_body with
+      Il.Jmp { Il.jmp_targ = Il.CodeLabel lab } -> [ lab ]
+    | _ -> []
 ;;
 
 let quad_used_vregs (q:quad) : Il.vreg list =