Closed Bug 659636 Opened 13 years ago Closed 12 years ago

Reflect.parse returns code after dead code elimination

Categories

(Core :: JavaScript Engine, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 571617

People

(Reporter: zbraniecki, Unassigned)

Details

steps to reproduce:

Reflect.parse("if(1)1") == Reflect.parse("1")

Reflect.parse("if(0)1") == Program->BlockStatement
(In reply to comment #1)
> dupe of bug 659636 ?

I think you typed the wrong bug number.
(In reply to comment #2)
> (In reply to comment #1)
> > dupe of bug 659636 ?
> 
> I think you typed the wrong bug number.

Yay, recursion!

I meant bug 571617
Marking as dup since I believe constant-folding has been completely disabled for Reflect.parse. Please reopen if I've missed something.

Dave
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.