Commit 1530a744 authored by Ulan Degenbaev's avatar Ulan Degenbaev Committed by Commit Bot

[heap] Adjust condition for enabling concurrent marking.

This changes CPU check to use 'target_cpu' instead of 'v8_target_cpu'.

Bug: chromium:694255
Change-Id: Ic3ad5253e4e0b66b13e9f16a5842bcf49881fa52
Reviewed-on: https://chromium-review.googlesource.com/677994Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48119}
parent 478bd9b1
...@@ -151,7 +151,7 @@ if (v8_check_microtasks_scopes_consistency == "") { ...@@ -151,7 +151,7 @@ if (v8_check_microtasks_scopes_consistency == "") {
v8_check_microtasks_scopes_consistency = is_debug || dcheck_always_on v8_check_microtasks_scopes_consistency = is_debug || dcheck_always_on
} }
if (v8_enable_concurrent_marking == "") { if (v8_enable_concurrent_marking == "") {
if (v8_target_cpu == "x86" || v8_target_cpu == "x64") { if (target_cpu == "x86" || target_cpu == "x64") {
v8_enable_concurrent_marking = true v8_enable_concurrent_marking = true
} else { } else {
v8_enable_concurrent_marking = false v8_enable_concurrent_marking = false
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
# Enable concurrent marking. # Enable concurrent marking.
'conditions': [ 'conditions': [
['v8_target_arch=="x64" or v8_target_arch=="ia32"', { ['target_arch=="x64" or target_arch=="ia32"', {
'v8_enable_concurrent_marking%': 1, 'v8_enable_concurrent_marking%': 1,
},{ },{
'v8_enable_concurrent_marking%': 0, 'v8_enable_concurrent_marking%': 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment