diff options
| author | Graydon Hoare <[email protected]> | 2010-10-05 18:44:39 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-10-05 18:44:39 -0700 |
| commit | 8ecbe49a8fa8b4bb17c2d798d5de6fc0303c5bc6 (patch) | |
| tree | 11c52a82f424b8782e7dd13e7965e580dbf01c5d /src/boot/be/abi.ml | |
| parent | Add input coordinate tracking to all major rustc ast nodes. (diff) | |
| download | rust-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.ml | 3 |
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); |