Commit e432f07d authored by mstarzinger's avatar mstarzinger Committed by Commit bot

[unittests] Remove redundant checkpoint in JSTypedLoweringTest.

R=bmeurer@chromium.org
TEST=unittests/JSTypedLoweringTest

Review-Url: https://codereview.chromium.org/2694063003
Cr-Commit-Position: refs/heads/master@{#43186}
parent 8dde6acb
......@@ -732,14 +732,10 @@ TEST_F(JSTypedLoweringTest, JSStorePropertyToExternalTypedArrayWithConversion) {
Node* context = UndefinedConstant();
Node* effect = graph()->start();
Node* control = graph()->start();
// TODO(mstarzinger): Once the effect-control-linearizer provides a frame
// state we can get rid of this checkpoint again. The reducer won't care.
Node* checkpoint = graph()->NewNode(common()->Checkpoint(),
EmptyFrameState(), effect, control);
VectorSlotPair feedback;
const Operator* op = javascript()->StoreProperty(language_mode, feedback);
Node* node = graph()->NewNode(op, base, key, value, context,
EmptyFrameState(), checkpoint, control);
EmptyFrameState(), effect, control);
Reduction r = Reduce(node);
Matcher<Node*> offset_matcher =
......@@ -757,7 +753,7 @@ TEST_F(JSTypedLoweringTest, JSStorePropertyToExternalTypedArrayWithConversion) {
BufferAccess(type),
IsPointerConstant(bit_cast<intptr_t>(&backing_store[0])),
offset_matcher, IsNumberConstant(array->byte_length()->Number()),
value_matcher, checkpoint, control));
value_matcher, effect, control));
}
}
}
......
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