Lines 25-31
if (is_win) {
Link Here
|
25 |
# the stack alignment, so we must use the platform's default alignment in those |
25 |
# the stack alignment, so we must use the platform's default alignment in those |
26 |
# cases; https://crbug.com/928743. |
26 |
# cases; https://crbug.com/928743. |
27 |
if (current_cpu == "x86" || current_cpu == "x64") { |
27 |
if (current_cpu == "x86" || current_cpu == "x64") { |
28 |
if (use_thin_lto || is_win) { |
28 |
if (is_win) { |
29 |
needs_stack_alignment = false |
29 |
needs_stack_alignment = false |
30 |
# The defaults are stack_alignment=4 for x86 and stack_alignment=16 for x64. |
30 |
# The defaults are stack_alignment=4 for x86 and stack_alignment=16 for x64. |
31 |
} else { |
31 |
} else { |
Lines 42-48
if (current_cpu == "x86" || current_cpu == "x64") {
Link Here
|
42 |
incoming_stack_boundary = 2 |
42 |
incoming_stack_boundary = 2 |
43 |
} |
43 |
} |
44 |
} else if (current_cpu == "x64") { |
44 |
} else if (current_cpu == "x64") { |
45 |
stack_alignment = 32 |
45 |
stack_alignment = 16 |
46 |
|
46 |
|
47 |
if (!is_clang) { |
47 |
if (!is_clang) { |
48 |
# Values used by GCC. |
48 |
# Values used by GCC. |