introduce a few copies here and there
This commit is contained in:
@@ -345,7 +345,7 @@ fn malloc_boxed_raw(bcx: block, t: ty::t,
|
||||
|
||||
// Get the tydesc for the body:
|
||||
let lltydesc = get_tydesc(ccx, t, static_ti);
|
||||
lazily_emit_all_tydesc_glue(ccx, static_ti);
|
||||
lazily_emit_all_tydesc_glue(ccx, copy static_ti);
|
||||
|
||||
// Allocate space:
|
||||
let rval = Call(bcx, ccx.upcalls.malloc, [lltydesc]);
|
||||
|
||||
@@ -36,7 +36,7 @@ enum x86_64_reg_class {
|
||||
memory_class
|
||||
}
|
||||
|
||||
fn is_sse(c: x86_64_reg_class) -> bool {
|
||||
fn is_sse(++c: x86_64_reg_class) -> bool {
|
||||
ret alt c {
|
||||
sse_fs_class | sse_fv_class |
|
||||
sse_ds_class | sse_dv_class { true }
|
||||
|
||||
Reference in New Issue
Block a user