aboutsummaryrefslogtreecommitdiff
path: root/src/boot/me
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-08-04 00:27:36 -0700
committerGraydon Hoare <[email protected]>2010-08-04 00:27:36 -0700
commit7595aca5e3254d7b0e93f2599ce477984acadfef (patch)
treecd48a904d7fa1a0560765df0a4c12021d9d8e2b5 /src/boot/me
parentMerge branch 'master' of [email protected]:graydon/rust (diff)
downloadrust-7595aca5e3254d7b0e93f2599ce477984acadfef.tar.xz
rust-7595aca5e3254d7b0e93f2599ce477984acadfef.zip
Kill the preallocator, install a sane replacement. Closes #131. And probably a lot of others.
Diffstat (limited to 'src/boot/me')
-rw-r--r--src/boot/me/trans.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/boot/me/trans.ml b/src/boot/me/trans.ml
index faa39442..f2bb2287 100644
--- a/src/boot/me/trans.ml
+++ b/src/boot/me/trans.ml
@@ -160,8 +160,7 @@ let trans_visitor
let emitters = Stack.create () in
let push_new_emitter (vregs_ok:bool) (fnid:node_id option) =
let e = Il.new_emitter
- abi.Abi.abi_prealloc_quad
- abi.Abi.abi_is_2addr_machine
+ abi.Abi.abi_emit_target_specific
vregs_ok fnid
in
Stack.push (Hashtbl.create 0) e.Il.emit_size_cache;