Commit bd094d0d authored by Georg Neis's avatar Georg Neis Committed by Commit Bot

[turbofan] Don't crash while printing static assert failure

We want to crash after printing :)

Change-Id: Ia739b54655e9cbce56b4f774ef6af1a771db4c1f
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2358674Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
Commit-Queue: Marja Hölttä <marja@chromium.org>
Auto-Submit: Georg Neis <neis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69412}
parent 0510c7a6
......@@ -3090,6 +3090,7 @@ void InstructionSelector::VisitUnreachable(Node* node) {
void InstructionSelector::VisitStaticAssert(Node* node) {
Node* asserted = node->InputAt(0);
AllowHandleDereference allow_handle_dereference;
asserted->Print(4);
FATAL(
"Expected Turbofan static assert to hold, but got non-true input:\n %s",
......
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