Bug 124138 - regress/script-tests/make-indexed-storage.js.ftl-eager-no-cjit: Exception: Error: bad result: NaN
Summary: regress/script-tests/make-indexed-storage.js.ftl-eager-no-cjit: Exception: Er...
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Filip Pizlo
Depends on: 124137 124169 124171 124181
Blocks: 112840
  Show dependency treegraph
Reported: 2013-11-10 23:37 PST by Filip Pizlo
Modified: 2013-11-17 17:47 PST (History)
8 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2013-11-10 23:37:47 PST
Will fix it soon.

This is revealed by the fix to https://bugs.webkit.org/show_bug.cgi?id=124137
Comment 1 Filip Pizlo 2013-11-17 17:47:00 PST
OK, I think this is fixed, as of http://trac.webkit.org/changeset/159394.

The problem was that we were constant-folding a variable but only along one control flow path, which was resulting in its live range appearing to be truncated.

This was ultimately solved by ensuring that liveness in the original bytecode, rather than liveness in the DFG IR after optimization, determines whether or not a variable is preserved by OSR.