Commit 5acd9eef authored by Clemens Hammacher's avatar Clemens Hammacher Committed by Commit Bot

[Liftoff] Add missing bailout

We cannot handle i64 values yet, so bail out if an indirect call
returns i64. The same bailout already exists for direct calls.

R=ahaas@chromium.org

Bug: v8:6600
Change-Id: I3ddf44a913ee79b5610862e3a93059c6d37a280c
Reviewed-on: https://chromium-review.googlesource.com/885813Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50862}
parent 2dc69c10
......@@ -995,6 +995,9 @@ class LiftoffCompiler {
const Value args[], Value returns[]) {
if (operand.sig->return_count() > 1)
return unsupported(decoder, "multi-return");
if (operand.sig->return_count() == 1 &&
!CheckSupportedType(decoder, operand.sig->GetReturn(0), "return"))
return;
// Assume only one table for now.
uint32_t table_index = 0;
......
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