aboutsummaryrefslogtreecommitdiff
path: root/src/boot/be/abi.ml
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-10-05 18:44:39 -0700
committerGraydon Hoare <[email protected]>2010-10-05 18:44:39 -0700
commit8ecbe49a8fa8b4bb17c2d798d5de6fc0303c5bc6 (patch)
tree11c52a82f424b8782e7dd13e7965e580dbf01c5d /src/boot/be/abi.ml
parentAdd input coordinate tracking to all major rustc ast nodes. (diff)
downloadrust-8ecbe49a8fa8b4bb17c2d798d5de6fc0303c5bc6.tar.xz
rust-8ecbe49a8fa8b4bb17c2d798d5de6fc0303c5bc6.zip
Add -minimal mode to rustboot that skips emitting code that's broken or unneeded for rustc. Shrink rustc by 300kb. Back under 1mb.
Diffstat (limited to 'src/boot/be/abi.ml')
-rw-r--r--src/boot/be/abi.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/boot/be/abi.ml b/src/boot/be/abi.ml
index c16fec36..a7b98c2c 100644
--- a/src/boot/be/abi.ml
+++ b/src/boot/be/abi.ml
@@ -126,7 +126,8 @@ type abi =
-> Common.nabi
-> Common.fixup (* grow_task *)
-> bool (* is_obj_fn *)
- -> unit);
+ -> bool (* minimal *)
+ -> unit);
abi_emit_fn_epilogue: (Il.emitter -> unit);