Commit baca9a9b authored by ahaas's avatar ahaas Committed by Commit bot

[wasm] Remove the NeedsFrameState flag in the call descriptor of ToNumber.

R=titzer@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#35573}
parent 4de391ef
......@@ -2105,12 +2105,11 @@ Node* WasmGraphBuilder::BuildJavaScriptToNumber(Node* node, Node* context,
Callable callable = CodeFactory::ToNumber(jsgraph()->isolate());
CallDescriptor* desc = Linkage::GetStubCallDescriptor(
jsgraph()->isolate(), jsgraph()->zone(), callable.descriptor(), 0,
CallDescriptor::kNeedsFrameState, Operator::kNoProperties);
CallDescriptor::kNoFlags, Operator::kNoProperties);
Node* stub_code = jsgraph()->HeapConstant(callable.code());
Node* result =
graph()->NewNode(jsgraph()->common()->Call(desc), stub_code, node,
context, jsgraph()->EmptyFrameState(), effect, control);
Node* result = graph()->NewNode(jsgraph()->common()->Call(desc), stub_code,
node, context, effect, control);
*control_ = result;
*effect_ = result;
......
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