Commit e8f6d0c1 authored by Benedikt Meurer's avatar Benedikt Meurer Committed by Commit Bot

[cleanup] Remove leftover tail-call check.

Bug: v8:6921
Change-Id: I3d45197dfd92b725d8caf5b6e5ebacd4b5b7b0d7
Reviewed-on: https://chromium-review.googlesource.com/718341
Commit-Queue: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: 's avatarMathias Bynens <mathias@chromium.org>
Cr-Commit-Position: refs/heads/master@{#48525}
parent bb514c42
...@@ -1879,8 +1879,7 @@ Reduction JSTypedLowering::ReduceJSCall(Node* node) { ...@@ -1879,8 +1879,7 @@ Reduction JSTypedLowering::ReduceJSCall(Node* node) {
node, common()->Call(Linkage::GetStubCallDescriptor( node, common()->Call(Linkage::GetStubCallDescriptor(
isolate(), graph()->zone(), callable.descriptor(), isolate(), graph()->zone(), callable.descriptor(),
1 + arity, flags))); 1 + arity, flags)));
} else if (is_builtin && Builtins::HasCppImplementation(builtin_index) && } else if (is_builtin && Builtins::HasCppImplementation(builtin_index)) {
((flags & CallDescriptor::kSupportsTailCalls) == 0)) {
// Patch {node} to a direct CEntryStub call. // Patch {node} to a direct CEntryStub call.
ReduceBuiltin(isolate(), jsgraph(), node, builtin_index, arity, flags); ReduceBuiltin(isolate(), jsgraph(), node, builtin_index, arity, flags);
} else { } else {
......
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