Add missing FrameState to JSTypedLoweringTester.
R=titzer@chromium.org TEST=cctest/test-js-typed-lowering/JSToNumberOfNumberOrOtherPrimitive Review URL: https://codereview.chromium.org/862963002 Cr-Commit-Position: refs/heads/master@{#26194}
This commit is contained in:
parent
9baa7e07f8
commit
65eb16178d
@ -101,7 +101,6 @@
|
||||
'test-api/Regress93759': [PASS, NO_VARIANTS],
|
||||
'test-debug/DebugBreakOnExceptionInObserveCallback': [PASS, NO_VARIANTS],
|
||||
'test-object-observe/DeliveryCallbackThrows': [PASS, NO_VARIANTS],
|
||||
'test-js-typed-lowering/JSToNumberOfNumberOrOtherPrimitive': [PASS, NO_VARIANTS],
|
||||
|
||||
# TODO(titzer): Triggers bug in late control reduction.
|
||||
'test-run-inlining/InlineLoopGuardedEmpty': [SKIP],
|
||||
|
@ -118,7 +118,12 @@ class JSTypedLoweringTester : public HandleAndZoneScope {
|
||||
|
||||
Node* Unop(const Operator* op, Node* input) {
|
||||
// JS unops also require context, effect, and control
|
||||
return graph.NewNode(op, input, context(), start(), control());
|
||||
if (OperatorProperties::HasFrameStateInput(op)) {
|
||||
return graph.NewNode(op, input, context(), EmptyFrameState(context()),
|
||||
start(), control());
|
||||
} else {
|
||||
return graph.NewNode(op, input, context(), start(), control());
|
||||
}
|
||||
}
|
||||
|
||||
Node* UseForEffect(Node* node) {
|
||||
|
Loading…
Reference in New Issue
Block a user