Nicholas Nethercote
e3584b76b3
Bug 527754 - CseFilter not able to handle downstream modification of instructions. r=rreitmai,gal.
...
--HG--
extra : convert_revision : 8d7d6dcce7ebda66b1aab48f40b46c1e7df2d91d
2009-12-01 14:56:44 +11:00
Nicholas Nethercote
b7cf8c804f
Bug 531324 - nanojit: improve int32 constant generation in i386 backend. r=graydon.
...
--HG--
extra : convert_revision : 3b04b5fdd47f0469f040fb147d60ed4cd30d8c8e
2009-11-30 17:26:15 +11:00
Leon Sha
e913eb4c6a
Bug 531218 - NJ: Remove unused _getfp for solaris from nanojit. r=stejohns.
...
--HG--
extra : convert_revision : 2d22cabbe865243948ddcad4bc73dba4fc0c5aef
2009-11-30 09:24:10 +08:00
Leon Sha<leon.sha@sun.com>
e93e6c4af5
Bug 530979 - NJ: Build errors for lirasm.cpp on solaris with sun studio. r=graydon
...
--HG--
extra : convert_revision : 69ef86e45856c850accc542111053c4387a8b804
2009-11-26 09:21:05 +08:00
Brendan Eich
7e754c5e8c
See bug 533138.
2009-12-05 23:35:06 -08:00
Andreas Gal
97dc7a9174
Try to fix autoconf madness for bug 530896.
2009-12-05 16:53:16 -08:00
Andreas Gal
3ded1d4c80
Efficient Implementation of JSDOUBLE_IS_INT using SSE2 (original patch by Moh Haghighat/Intel, bug 530896, r=dvander).
2009-12-05 12:46:46 -08:00
David Anderson
51a679002f
Fix scope chain traversal with let blocks (bug 523793, r=dmandelin,mrbkap).
2009-12-04 23:05:47 -08:00
David Anderson
8fb72a7a12
Get rid of TreeInfo and inline its members into TreeFragment (bug 525371, r=gal,lw)
2009-12-04 19:59:55 -08:00
Jason Orendorff
ad0e287615
Bug 532363 - TM: "Assertion failure: IsDenseArrayId(cx, obj, (jsid) prop), at ../jsarray.cpp". r=bzbarsky.
2009-12-04 15:38:25 -06:00
Igor Bukanov
dfbcf19f40
bug 531682 - patching js1_4/Eval/jstests.list to include bug's test
2009-12-04 21:57:51 +03:00
Igor Bukanov
ac9a848ac5
bug 531037 - patching js1_4/Eval/jstests.list to include bug's test
2009-12-04 21:54:43 +03:00
Andreas Gal
fd6f74bc98
Add regress-532491.js to jstests.list (follow-up for bug 532491).
2009-12-04 10:46:09 -08:00
Boris Zbarsky
49f81f2fb2
Bug 532847. Can't assert that sprop has a shortid in callProp/setCallProp until we know the prop is special. r=brendan
2009-12-04 01:08:22 -05:00
Boris Zbarsky
b346e737a5
Bug 530240 followup. Can't assume vp[1] is an object here, in fact. Fixes orange.
2009-12-03 23:35:36 -05:00
Boris Zbarsky
b811feadbc
Bug 532477 followup to fix bustage.
2009-12-03 23:10:08 -05:00
Boris Zbarsky
834d8db5e4
Bug 532477. Replace js_SetCallArg/js_SetCallVar with hand-crafted LIR in the common easy case of a Call object whose frame is no longer active at record time. r=dmandelin,brendan
2009-12-03 23:03:47 -05:00
Boris Zbarsky
fb6fe53972
Bug 530255. Replace GetFromClosure/GetClosureVar/GetClosureArg with hand-crafted LIR in the common easycase of a Call object whose frame is no longer active at record time, and make GetFromClosure use a direct read from the object's dslots if we discover that the frame became inactive between record and trace. r=dmandelin,brendan
2009-12-03 23:03:46 -05:00
Brendan Eich
f9a0ec438d
Bleah.
2009-12-03 19:47:53 -08:00
Brendan Eich
7bfac5769d
Add JSOP_ENUMELEM to gigundo-assert in LeaveTree (532787, r=me).
2009-12-03 19:47:19 -08:00
Boris Zbarsky
5319ea360b
Bug 532823 followup. Fix where we add the 3+fp->argc. r=brendan
2009-12-03 22:43:13 -05:00
David Mandelin
a47f877d42
Bug 532823: fix slot computation for JSOP_NAME accessing outer vars defined in trace entry frame, r=bz
2009-12-03 18:48:45 -08:00
Jason Orendorff
b46379b4f6
Bug 530879 - Generators get incorrect arguments.length. Discovered by Donny Viszneki. r=brendan.
2009-12-03 16:12:09 -06:00
David Mandelin
90477b6487
Bug 530489: don't (incorrectly) trace custom equality ops, r=jorendorff
2009-12-03 13:02:36 -08:00
Andreas Gal
ab4554e731
Only consider an eval cache entry if the static level matches (532491, r=igor).
2009-12-03 12:12:39 -08:00
Boris Zbarsky
8365d1cfcb
Bug 530240. Faster NormalizeThis for String objects. r=brendan
2009-12-03 14:39:55 -05:00
Boris Zbarsky
2e2e3eeb0c
Bug 521423. Make JSString 4 words instead of 2; make substring() and company never have to copy. r=brendan
2009-12-03 14:39:42 -05:00
Jim Blandy
3279efddb0
Bug 532176: Fix 'make jstestbrowser EXTRA_TEST_ARGS=...'; allow command line to override test list. r=bclary
2009-12-03 09:27:26 -08:00
Jim Blandy
322d958de0
Bug 532041: Add missing call to reportCompare. r=orange jsreftests
2009-12-03 01:25:17 -08:00
Brendan Eich
ff0880a5f4
Test for last checkin (532043).
2009-12-02 21:51:18 -08:00
Brendan Eich
05f85209b1
Trace JSOP_ENUMELEM, for the group-assignment special case of destructuring assignment (532043, r=gal).
2009-12-02 21:50:04 -08:00
Brendan Eich
9ccccbbe6b
Extra assertions, control flow cleanup in putProperty, and a crucial scope hashtable fix to removeProperty (stored was not reloaded from *spp; got rid of this ancient over-optimization by hand-coded 'register allocation'; 532096, r=mrbkap).
2009-12-02 19:13:31 -08:00
Jim Blandy
ff9fa29631
Bug 532254: Give TCF_FUN_PARAM_EVAL a distinct value. r=mrbkap
...
Regression test included.
2009-12-02 15:17:02 -08:00
Jim Blandy
dbab286e15
Bug 531972: Add parent dir jstests.list entries; call reportCompare as needed; fix anonymous function objects in js/src/tests/ecma_5/strict/13.1.js. r=bclary, r=mrbkap
...
While prior patches created new test directories
js/src/tests/ecma_5/strict and js/src/tests/js1_8_1/strict, they
failed to add jstests.list entries to their parent directories. This
adds them.
The strict tests generally were written to use assertEq, which is
simple and gives nice source positions in failure messages under the
JS shell. However, the jsreftests require each test file to call
reportCompare at least once. This adds a dummy call to reportCompare
to each file. It would be nice to make everything work in both
environments, perhaps using arguments.caller.
The test script js/src/tests/ecma_5/strict/13.1.js tried parsing
statements of the form 'function(x,x){}'. However, anonymous function
expressions are not allowed in a statement context when
JSOPTION_ANONFUNFIX is set. This is set under the browser, but clear
in the shell; bug 532233 suggests that the two be reconciled.
2009-12-02 15:13:14 -08:00
Jim Blandy
05b34d7c12
Bug 532041: Test that duplicate argument checks use JSFunction::u.i.names correctly. r=sayrer
2009-12-02 09:54:51 -08:00
Igor Bukanov
969bdae222
bug 531682 - fixing eval(source, scope) to match 191, 192 semantics. r=mrbkap
2009-12-02 19:22:34 +03:00
David Anderson
4ab577e3c3
Merge.
2009-12-01 16:32:58 -08:00
David Anderson
b7f7a14f13
Backed out changeset 0082849624a5, potential orange.
2009-12-01 16:32:45 -08:00
Brendan Eich
f19c7e9d1b
Fix js_FindDuplicateFormal to crack the fun->u.i.names union correctly, and spruce it up with C++ (532041, r=jimb).
2009-12-01 14:48:05 -08:00
David Anderson
c80f627585
Remove TreeInfo (bug 525371, r=lw).
2009-12-01 13:32:02 -08:00
Robert Sayre
3192563f6f
Reland bug 473228 and bug 530507
2009-12-01 16:02:09 -05:00
Robert Sayre
03f335335d
Relanding Tolerate race condition or broken resolve hook (530507, r=jorendorff). Backed out changeset fb34a7163a43
2009-12-01 15:54:01 -05:00
Robert Sayre
8dac81dafc
Merge
2009-12-01 15:51:22 -05:00
Robert Sayre
4ea539c658
Relanding: Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). Backed out changeset ee7bfc1923ad
2009-12-01 15:49:15 -05:00
Robert Sayre
8be5b171b9
Backed out changeset c03ebf340688. Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff).
2009-12-01 09:56:16 -05:00
Robert Sayre
5d08f03267
Backed out changeset c696751593d6. Tolerate race condition or broken resolve hook (530507, r=jorendorff).
2009-12-01 09:54:38 -05:00
Blake Kaplan
f9ed6eeaa4
Bug 468506 - JS_GetFrameThis needs to call js_ComputeThis in more cases. r=brendan
...
--HG--
extra : rebase_source : 2a107feb26544159f04b60c27508338cef8fdf7f
2009-11-30 16:05:44 -05:00
David Anderson
30300db88d
Recursion needs to fix up argsobj when it pops frames on trace (bug 531298, r=dmandelin).
2009-12-01 10:37:30 -08:00
Robert Sayre
5d34830070
Backout bug 473228 and its follow-up, temporarily, to attempt a clean merge of other stuff.
2009-12-01 09:57:20 -05:00
Robert Sayre
708784babe
Merge backout.
2009-12-01 09:54:57 -05:00