Commit 023905b9 authored by Yu Yin's avatar Yu Yin Committed by Commit Bot

[mips] Fix build error in debug mode.

Change-Id: I98ebc42a7dc343abc471d04c606b6746f6cae18a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1596047Reviewed-by: 's avatarBill Budge <bbudge@chromium.org>
Commit-Queue: Yu Yin <xwafish@gmail.com>
Cr-Commit-Position: refs/heads/master@{#61256}
parent e5feab6d
...@@ -201,8 +201,8 @@ struct ExtendingLoadMatcher { ...@@ -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));
......
...@@ -34,6 +34,7 @@ ...@@ -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"
......
...@@ -35,6 +35,7 @@ ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment