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

Add missing FrameState to JSTypedLoweringTester::Binop.

R=titzer@chromium.org
TEST=cctest/test-js-typed-lowering

Review URL: https://codereview.chromium.org/925583002

Cr-Commit-Position: refs/heads/master@{#26626}
parent 515d2606
......@@ -114,8 +114,13 @@ class JSTypedLoweringTester : public HandleAndZoneScope {
Node* Binop(const Operator* op, Node* left, Node* right) {
// JS binops also require context, effect, and control
if (OperatorProperties::HasFrameStateInput(op)) {
return graph.NewNode(op, left, right, context(),
EmptyFrameState(context()), start(), control());
} else {
return graph.NewNode(op, left, right, context(), start(), control());
}
}
Node* Unop(const Operator* op, Node* input) {
// JS unops also require context, effect, and 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