Note: There are a few cases of duplicates in user autocompletion which are being worked on.

IonMonkey: JSOP_AND cannot be used in loops.

RESOLVED FIXED

Status

()

Core
JavaScript Engine
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: sstangl, Assigned: sstangl)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
We currently fail to compile the following script:

> function f() {
> 	var i = 1;
> 	while (i && 1 == 1)
> 	{ }
> }
> 
> f();

The IonBuilder assumes that both sides of the && have a common join point, which is only useful for code like |var x 1 && 7;|.

This bug is preventing us from running v8's crypto test.
(Assignee)

Comment 1

6 years ago
Created attachment 589348 [details] [diff] [review]
Fix bogus stackDepth() assertions.
Attachment #589348 - Flags: review?(jdemooij)

Updated

6 years ago
Attachment #589348 - Flags: review?(jdemooij) → review+
(Assignee)

Comment 2

6 years ago
http://hg.mozilla.org/projects/ionmonkey/rev/49bc8d35a21e
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.