aboutsummaryrefslogtreecommitdiff
path: root/src/boot/me
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-10-08 23:58:48 -0700
committerGraydon Hoare <[email protected]>2010-10-08 23:58:48 -0700
commitf956067867f176992261f305befd9c718aa4a028 (patch)
tree137410b391aaf06405d60cf1b724b069283e186c /src/boot/me
parentQuad counters are revealing. Move drops out-of-line, cut 200kb from rustc. (diff)
downloadrust-f956067867f176992261f305befd9c718aa4a028.tar.xz
rust-f956067867f176992261f305befd9c718aa4a028.zip
Implement a -minimal mode prologue, cut 100kb from rustc.
Diffstat (limited to 'src/boot/me')
-rw-r--r--src/boot/me/trans.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/boot/me/trans.ml b/src/boot/me/trans.ml
index d4579211..d84c87a4 100644
--- a/src/boot/me/trans.ml
+++ b/src/boot/me/trans.ml
@@ -3477,7 +3477,7 @@ let trans_visitor
* the non-zero refcount case (i.e. fall-through means zero refcount).
*)
and drop_refcount_and_cmp (boxed:Il.cell) : quad_idx =
- in_quad_category "drop refcnt + free"
+ in_quad_category "refcount"
begin
fun _ ->
iflog (fun _ -> annotate "drop refcount and maybe free");
@@ -3498,7 +3498,7 @@ let trans_visitor
end
and incr_refcount (boxed:Il.cell) : unit =
- in_quad_category "incr refcnt"
+ in_quad_category "refcount"
begin
fun _ ->
let rc = box_rc_cell boxed in