Fix HasOutput for more than one output
Change-Id: I9cab4e35c356a1fdd9942bd54832e7a375cd0800 Reviewed-on: https://chromium-review.googlesource.com/1152162 Reviewed-by: Bill Budge <bbudge@chromium.org> Commit-Queue: Deepti Gandluri <gdeepti@chromium.org> Cr-Commit-Position: refs/heads/master@{#54739}
This commit is contained in:
parent
a8f0909905
commit
39e3cec671
@ -811,7 +811,7 @@ class V8_EXPORT_PRIVATE Instruction final {
|
||||
return &operands_[i];
|
||||
}
|
||||
|
||||
bool HasOutput() const { return OutputCount() == 1; }
|
||||
bool HasOutput() const { return OutputCount() > 0; }
|
||||
const InstructionOperand* Output() const { return OutputAt(0); }
|
||||
InstructionOperand* Output() { return OutputAt(0); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user