Commit 706cbe38 authored by jarin's avatar jarin Committed by Commit bot

[turbofan] Improve message for unexpected opcode in simplified lowering.

The main goal is to have the opcode number on the stack, so that we can
extract it from minidumps.

Review-Url: https://codereview.chromium.org/2301853002
Cr-Commit-Position: refs/heads/master@{#39066}
parent 432790c9
......@@ -2461,9 +2461,10 @@ class RepresentationSelector {
return SetOutput(node, MachineRepresentation::kTagged);
default:
V8_Fatal(__FILE__, __LINE__,
"Representation inference: unsupported opcode %s\n.",
node->op()->mnemonic());
V8_Fatal(
__FILE__, __LINE__,
"Representation inference: unsupported opcode %i (%s), node #%i\n.",
node->opcode(), node->op()->mnemonic(), node->id());
break;
}
UNREACHABLE();
......
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