From 0fd7d1525d01f6a1592c46d38a7ec6d1f348f295 Mon Sep 17 00:00:00 2001 From: Victor Gomes Date: Thu, 21 Apr 2022 14:40:45 +0200 Subject: [PATCH] [maglev] Set properties as constexpr Fixes https://ci.chromium.org/ui/p/v8/builders/ci/V8%20Linux64%20-%20gcov%20coverage/29098/overview and https://ci.chromium.org/ui/p/v8/builders/ci/V8%20Linux64%20gcc%20-%20debug%20builder/1389/overview Bug: v8:7700 Change-Id: I90717b9644b75cef28656893d37aa57e5f03e2fe Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3599478 Auto-Submit: Victor Gomes Reviewed-by: Tobias Tebbi Commit-Queue: Tobias Tebbi Cr-Commit-Position: refs/heads/main@{#80109} --- src/maglev/maglev-ir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/maglev/maglev-ir.h b/src/maglev/maglev-ir.h index 9230ee14cb..ae38c20fae 100644 --- a/src/maglev/maglev-ir.h +++ b/src/maglev/maglev-ir.h @@ -453,7 +453,7 @@ class NodeBase : public ZoneObject { OpProperties::Pure() | OpProperties::TaggedValue(); constexpr Opcode opcode() const { return OpcodeField::decode(bit_field_); } - OpProperties properties() const { + constexpr OpProperties properties() const { return OpPropertiesField::decode(bit_field_); }