Commit d84fc429 authored by Camillo Bruni's avatar Camillo Bruni Committed by Commit Bot

[gn] Fix v8_code_comment assertion

Change-Id: Ia553e38ca65587c16c36c736c2b9ca9b686ed3e5
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2839561
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Commit-Queue: Jakob Gruber <jgruber@chromium.org>
Auto-Submit: Camillo Bruni <cbruni@chromium.org>
Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74067}
parent 1f187e12
...@@ -334,7 +334,7 @@ if (v8_enable_v8_checks == "") { ...@@ -334,7 +334,7 @@ if (v8_enable_v8_checks == "") {
v8_enable_v8_checks = v8_enable_debugging_features v8_enable_v8_checks = v8_enable_debugging_features
} }
if (v8_enable_snapshot_code_comments) { if (v8_enable_snapshot_code_comments) {
assert(v8_code_comments || v8_code_comments == "", assert(v8_code_comments == true || v8_code_comments == "",
"v8_enable_snapshot_code_comments conflicts with v8_code_comments.") "v8_enable_snapshot_code_comments conflicts with v8_code_comments.")
v8_code_comments = true v8_code_comments = true
} else if (v8_code_comments == "") { } else if (v8_code_comments == "") {
......
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