mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 09:24:46 +01:00
Add a diagnostic string to an assert.
This commit is contained in:
@@ -3408,7 +3408,7 @@ bool X86FastISel::fastLowerCall(CallLoweringInfo &CLI) {
|
||||
TII.get(TargetOpcode::COPY), VA.getLocReg()).addReg(ArgReg);
|
||||
OutRegs.push_back(VA.getLocReg());
|
||||
} else {
|
||||
assert(VA.isMemLoc());
|
||||
assert(VA.isMemLoc() && "Unknown value location!");
|
||||
|
||||
// Don't emit stores for undef values.
|
||||
if (isa<UndefValue>(ArgVal))
|
||||
|
||||
Reference in New Issue
Block a user