Bug 27294 - REGRESSION: fast/js/postfix-syntax.html fails with interpreter
Summary: REGRESSION: fast/js/postfix-syntax.html fails with interpreter
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Oliver Hunt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-15 03:46 PDT by Simon Hausmann
Modified: 2009-07-15 05:17 PDT (History)
0 users

See Also:


Attachments
fixeration! (56.95 KB, patch)
2009-07-15 04:24 PDT, Oliver Hunt
no flags Details | Formatted Diff | Diff
attach patch instead of the changelog (1.60 KB, patch)
2009-07-15 04:53 PDT, Oliver Hunt
hausmann: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Hausmann 2009-07-15 03:46:26 PDT
The above test fails when run with the interpreter but succeeds with the jit.

The following simplyer testcase reproduces the bug:

var x = 0; x = x++; print(x)

without the "var" the script prints "0", with "var" it prints incorrectly "1".
Comment 1 Oliver Hunt 2009-07-15 04:24:01 PDT
Created attachment 32776 [details]
fixeration!
Comment 2 Oliver Hunt 2009-07-15 04:53:46 PDT
Created attachment 32778 [details]
attach patch instead of the changelog
Comment 3 Simon Hausmann 2009-07-15 05:13:34 PDT
Comment on attachment 32778 [details]
attach patch instead of the changelog

r=me
Comment 4 Oliver Hunt 2009-07-15 05:17:03 PDT
Committed r45904