Commit 462a0150 authored by Georg Neis's avatar Georg Neis Committed by Commit Bot

[turbofan] Use && instead of & in some condition.

R=jarin@chromium.org

Change-Id: I7005dc4c8282f8de75859f642e4d1808c6a8ef90
Reviewed-on: https://chromium-review.googlesource.com/c/1462000Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
Commit-Queue: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59487}
parent cc7ac98b
......@@ -147,7 +147,7 @@ void CodeGenerator::AssembleCode() {
}
// Check that {kJavaScriptCallCodeStartRegister} has been set correctly.
if (FLAG_debug_code & (info->code_kind() == Code::OPTIMIZED_FUNCTION ||
if (FLAG_debug_code && (info->code_kind() == Code::OPTIMIZED_FUNCTION ||
info->code_kind() == Code::BYTECODE_HANDLER)) {
tasm()->RecordComment("-- Prologue: check code start register --");
AssembleCodeStartRegisterCheck();
......
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