Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/instruction.h')
-rw-r--r--deps/v8/src/compiler/instruction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/compiler/instruction.h b/deps/v8/src/compiler/instruction.h
index 803f3e0c1de..1991e309d34 100644
--- a/deps/v8/src/compiler/instruction.h
+++ b/deps/v8/src/compiler/instruction.h
@@ -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); }