| Index: src/compiler/bytecode-graph-builder.cc
|
| diff --git a/src/compiler/bytecode-graph-builder.cc b/src/compiler/bytecode-graph-builder.cc
|
| index 1a608db89bc04faedd1ae0d5fde8557c5b7293b6..d9f52a61b76ad03a381b3fbab4645ef6013da33c 100644
|
| --- a/src/compiler/bytecode-graph-builder.cc
|
| +++ b/src/compiler/bytecode-graph-builder.cc
|
| @@ -706,8 +706,7 @@ Node* BytecodeGraphBuilder::BuildLoadGlobal(Handle<Name> name,
|
| uint32_t feedback_slot_index,
|
| TypeofMode typeof_mode) {
|
| VectorSlotPair feedback = CreateVectorSlotPair(feedback_slot_index);
|
| - DCHECK_EQ(FeedbackVectorSlotKind::LOAD_GLOBAL_IC,
|
| - feedback_vector()->GetKind(feedback.slot()));
|
| + DCHECK(IsLoadGlobalICKind(feedback_vector()->GetKind(feedback.slot())));
|
| const Operator* op = javascript()->LoadGlobal(name, feedback, typeof_mode);
|
| return NewNode(op);
|
| }
|
|
|