Reformat a bunch of recent churn.
This commit is contained in:
parent
eb9969f546
commit
b84fffaa4e
26 changed files with 471 additions and 470 deletions
|
|
@ -90,9 +90,10 @@ const int obj_body_elt_fields = 2;
|
|||
|
||||
const int obj_body_elt_with_obj = 3;
|
||||
|
||||
/* The base object to which an anonymous
|
||||
* object is attached */
|
||||
const int fn_field_code = 0;
|
||||
|
||||
/* The base object to which an anonymous
|
||||
* object is attached */
|
||||
const int fn_field_code = 0;
|
||||
|
||||
const int fn_field_box = 1;
|
||||
|
||||
|
|
|
|||
|
|
@ -175,6 +175,7 @@ mod write {
|
|||
} else {
|
||||
// If we aren't saving temps then just output the file
|
||||
// type corresponding to the '-c' or '-S' flag used
|
||||
|
||||
auto triple = x86::get_target_triple();
|
||||
llvm::LLVMRustWriteOutputFile(pm.llpm, llmod,
|
||||
str::buf(triple),
|
||||
|
|
|
|||
|
|
@ -16,11 +16,9 @@ fn get_meta_sect_name() -> str {
|
|||
|
||||
fn get_data_layout() -> str {
|
||||
if (str::eq(target_os(), "macos")) {
|
||||
ret "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16"
|
||||
+ "-i32:32:32-i64:32:64"
|
||||
+ "-f32:32:32-f64:32:64-v64:64:64"
|
||||
+ "-v128:128:128-a0:0:64-f80:128:128"
|
||||
+ "-n8:16:32";
|
||||
ret "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16" + "-i32:32:32-i64:32:64" +
|
||||
"-f32:32:32-f64:32:64-v64:64:64" +
|
||||
"-v128:128:128-a0:0:64-f80:128:128" + "-n8:16:32";
|
||||
}
|
||||
if (str::eq(target_os(), "win32")) {
|
||||
ret "e-p:32:32-f64:64:64-i64:64:64-f80:32:32-n8:16:32";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue