New issue
Advanced search Search tips

Issue 669024 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocking:
issue 668413



Sign in to add a comment

Difference between x64 and ia32: arguments and undefined

Project Member Reported by machenb...@chromium.org, Nov 28 2016

Issue description

# Minimized program:
function f_0(y) { return y.u; }
function f_1() { return f_0.apply(0, arguments); }
function f_2(x) { return f_1({ u : x }); }
f_2(42);
f_2(-1073741825);
%OptimizeFunctionOnNextCall(f_2);
print(f_2());


# Compared default with ia32

# Flags of default:
--abort_on_stack_overflow --expose-gc --allow-natives-syntax --invoke-weak-callbacks --omit-quit --es-staging  --random-seed 940966644
# Flags of ia32:
--abort_on_stack_overflow --expose-gc --allow-natives-syntax --invoke-weak-callbacks --omit-quit --es-staging  --random-seed 940966644

Difference:
- undefined
+ 0

### Start of configuration default:
undefined

### End of configuration default

### Start of configuration ia32:
0

### End of configuration ia32
 

Comment 1 by jarin@chromium.org, Nov 29 2016

Owner: mstarzinger@chromium.org
Status: Assigned (was: Untriaged)
Bug in escape-analysis/deopt in crankshaft. Michi agreed to take a look.
Project Member

Comment 2 by bugdroid1@chromium.org, Nov 30 2016

Labels: v8-foozzie-failure
I assume this is fixed or wontfix?
Labels: -Pri-1 Pri-2
Status: Fixed (was: Assigned)
Yes, somewhere in between "Fixed" and "WontFix". The issue should no longer happen because the iteration count of escape analysis in Crankshaft was limited to a single iteration. We won't improve on Crankshaft to allow bumping the iteration count. One could still trigger this by specifying --escape-analysis-iterations manually (which your fuzzer won't do, also the flag is not in our test corpus).

Sign in to add a comment