diff options
author | Michaël Zasso <targos@protonmail.com> | 2017-12-05 16:41:55 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2017-12-06 12:52:07 +0100 |
commit | 1854ba04e9a68f062beb299dd6e1479279b26363 (patch) | |
tree | d5b2df9b8c1deb6388f7a728fca8e1c98c779abe /deps/v8/src/compiler/register-allocator-verifier.cc | |
parent | b52c23b75f96e1c9d2c7b3a7e5619170d0a0d8e1 (diff) | |
download | node-new-1854ba04e9a68f062beb299dd6e1479279b26363.tar.gz |
deps: update V8 to 6.3.292.46
PR-URL: https://github.com/nodejs/node/pull/16271
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to 'deps/v8/src/compiler/register-allocator-verifier.cc')
-rw-r--r-- | deps/v8/src/compiler/register-allocator-verifier.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/src/compiler/register-allocator-verifier.cc b/deps/v8/src/compiler/register-allocator-verifier.cc index a57ed4f1a6..452ff705bd 100644 --- a/deps/v8/src/compiler/register-allocator-verifier.cc +++ b/deps/v8/src/compiler/register-allocator-verifier.cc @@ -23,7 +23,7 @@ void VerifyEmptyGaps(const Instruction* instr) { i <= Instruction::LAST_GAP_POSITION; i++) { Instruction::GapPosition inner_pos = static_cast<Instruction::GapPosition>(i); - CHECK(instr->GetParallelMove(inner_pos) == nullptr); + CHECK_NULL(instr->GetParallelMove(inner_pos)); } } @@ -77,7 +77,7 @@ RegisterAllocatorVerifier::RegisterAllocatorVerifier( for (size_t i = 0; i < instr->OutputCount(); ++i, ++count) { BuildConstraint(instr->OutputAt(i), &op_constraints[count]); if (op_constraints[count].type_ == kSameAsFirst) { - CHECK(instr->InputCount() > 0); + CHECK_LT(0, instr->InputCount()); op_constraints[count].type_ = op_constraints[0].type_; op_constraints[count].value_ = op_constraints[0].value_; } @@ -333,7 +333,7 @@ BlockAssessments* RegisterAllocatorVerifier::CreateForBlock( // TODO(mtrofin): the following check should hold, however, in certain // unit tests it is invalidated by the last block. Investigate and // normalize the CFG. - // CHECK(current_block_id.ToInt() == 0); + // CHECK_EQ(0, current_block_id.ToInt()); // The phi size test below is because we can, technically, have phi // instructions with one argument. Some tests expose that, too. } else if (block->PredecessorCount() == 1 && block->phis().size() == 0) { |