[mips] Fix build error in debug mode.

Change-Id: I98ebc42a7dc343abc471d04c606b6746f6cae18a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1596047
Reviewed-by: Bill Budge <bbudge@chromium.org>
Commit-Queue: Yu Yin <xwafish@gmail.com>
Cr-Commit-Position: refs/heads/master@{#61256}
This commit is contained in:
Yu Yin 2019-05-06 10:59:26 +08:00 committed by Commit Bot
parent e5feab6d26
commit 023905b97b
3 changed files with 4 additions and 2 deletions

View File

@ -201,8 +201,8 @@ struct ExtendingLoadMatcher {
DCHECK(m.IsWord64Sar()); DCHECK(m.IsWord64Sar());
if (m.left().IsLoad() && m.right().Is(32) && if (m.left().IsLoad() && m.right().Is(32) &&
selector_->CanCover(m.node(), m.left().node())) { selector_->CanCover(m.node(), m.left().node())) {
DCHECK_EQ(selector_->GetEffectiveLevel(node), DCHECK_EQ(selector_->GetEffectLevel(node),
selector_->GetEffectiveLevel(m.left().node())); selector_->GetEffectLevel(m.left().node()));
MachineRepresentation rep = MachineRepresentation rep =
LoadRepresentationOf(m.left().node()->op()).representation(); LoadRepresentationOf(m.left().node()->op()).representation();
DCHECK_EQ(3, ElementSizeLog2Of(rep)); DCHECK_EQ(3, ElementSizeLog2Of(rep));

View File

@ -34,6 +34,7 @@
#include "src/objects-inl.h" #include "src/objects-inl.h"
#include "src/objects/heap-number.h" #include "src/objects/heap-number.h"
#include "src/objects/js-array-inl.h" #include "src/objects/js-array-inl.h"
#include "src/ostreams.h"
#include "src/simulator.h" #include "src/simulator.h"
#include "src/v8.h" #include "src/v8.h"
#include "test/cctest/cctest.h" #include "test/cctest/cctest.h"

View File

@ -35,6 +35,7 @@
#include "src/macro-assembler.h" #include "src/macro-assembler.h"
#include "src/objects-inl.h" #include "src/objects-inl.h"
#include "src/objects/heap-number.h" #include "src/objects/heap-number.h"
#include "src/ostreams.h"
#include "src/simulator.h" #include "src/simulator.h"
namespace v8 { namespace v8 {