Jason Orendorff
6772d63b3d
Bug 511836 - Assertion failure: JSVAL_IS_INT(v), at ../jsapi.h. Iterator.prototype not initialized properly. r=mrbkap.
...
--HG--
extra : rebase_source : 50975b84c4b399a96d24eaa1884308c6a5b4d586
2009-08-21 11:58:34 -05:00
Blake Kaplan
bfebb50319
Bug 509557 - Initialize the prototype's flags so that we can always assume that an XPCNativeWrapper's flags are integers. r=jst sr=bzbarsky
2009-08-18 21:02:05 -07:00
Blake Kaplan
439954f9eb
Bug 509557 - Don't do a bunch of extra work and create a bunch of extra objects during window creation.
2009-08-18 21:02:05 -07:00
Blake Kaplan
79c31490dc
Bug 515475 - Get rid of a spurious security check in js_InternalGetOrSet that isn't needed anymore. r=brendan
2009-09-10 14:47:19 -07:00
Blake Kaplan
71d5ed8b0d
Bug 514554 - Don't skip state transitions without initializing members. r=peterv sr=jst
2009-09-10 14:09:35 -07:00
Robert Sayre
ca5aa4b4ac
Temporarily ifdef jsapi-tests on wince, so the rest of the tests can run. r=ted
2009-09-09 12:48:04 -04:00
Josh Aas
621cf29067
Add executable bits back to config.guess files. b=515002
2009-09-09 08:20:25 -04:00
Reed Loden
b5846b26bb
Bug 294375 - Remove support for libgnomevfs's handling of user modifications to the MIME database, as it has been deprecated for years [r=karlt sr=roc]
2009-09-08 15:08:02 -05:00
Josh Aas
099411b764
Sync config.guess to latest version from gnu, include fix for GNU Savannah bug 6827. b=515002 r=ted
2009-09-08 14:55:19 -04:00
cls
9ab69d6189
Bug 505739 - "Remove XCFLAGS from default compile line to fix mingw cross-compile issues" ( remove XCFLAGS from COMPILE_CFLAGS / COMPILE_CXXFLAGS) [r=bsmedberg]
2009-09-04 21:54:07 -05:00
Jacek Caban
354f838a98
Bug 505739 - "Remove XCFLAGS from default compile line to fix mingw cross-compile issues" (remove X_CFLAGS from CPPFLAGS) [r=bsmedberg]
2009-09-04 21:54:02 -05:00
Benjamin Smedberg
008e309c7f
Bug 513032 - remove empty conditionals in our makefiles, r=ted
2009-08-27 10:48:18 -07:00
Shawn Wilsher
993694805d
Bug 513710 - Places toolkit JS should use XPCOMUtils.defineLazy[Service]Getter
...
r=sayrer for XPCOMUtils change
r=mak for places changes
--HG--
extra : rebase_source : 70367abfaf16fcf37aab6f55f024b95ff3d269fa
2009-09-02 13:55:16 -07:00
Mitchell Field
be725fa2ce
Bug 514131 - remove xpcom/obsolete, r=bsmedberg
2009-09-02 13:01:29 -04:00
Serge Gautherie
374aaaddf3
Bug 513602 - Remove (now) useless MOZ_GFX_TOOLKIT; (Bv1-MC) Just remove it
...
r=vladimir
2009-09-01 00:41:38 +02:00
Shawn Wilsher
287d6992b8
Bug 508850 - XPCOMUtils should provide a convenient way to define lazy getters
...
r=sayrer
sr=bsmedberg
2009-08-31 09:32:05 -07:00
Ben Newman
4d0f1f9548
Trivial indentation fixups that should have gone in with 9e16ec20e6fe. r=brendan
2009-08-28 15:34:31 -07:00
Ben Newman
e5a024bacf
Bug 500644 - PAC: crash when using PAC-based manual proxy config and the attached testcase. r=mrbkap sr=brendan
...
--HG--
extra : rebase_source : 68dbf79d8e257f3915b817723ca51deb840e4298
2009-08-27 18:07:44 -07:00
Blake Kaplan
eb16f9a84d
Bug 495325 - Follow ES about indirect eval being global eval. r=brendan/igor
...
--HG--
extra : rebase_source : 397bd79f787fc6d079fea1b2433a8e262626ca46
2009-08-17 18:08:20 -07:00
Graydon Hoare
56a6b95359
Bug 518925 - LirWriter leak with regexp match in debug builds, r=dvander.
2009-09-25 15:45:45 -07:00
Graydon Hoare
ee59e42dc3
Bug 518730 - TM: change the allocators to calloc, r=gal.
2009-09-25 15:16:10 -07:00
Graydon Hoare
b5097e03aa
Bug 497009 - Deallocate LIR after recording, r=gal.
...
--HG--
extra : rebase_source : 5fc9d76620f83d3bbf6ba7a4656c296654bb6323
2009-09-23 18:46:34 -07:00
David Mandelin
df2ec67c4d
No bug, undo change to obsolete valgrind option in 886a447d6a8f, no_r=me
2009-09-25 15:03:03 -07:00
Luke Wagner
3cf8a59c01
Bug 503952 - Use JSTempVector in scanner/parser; remove JSStringBuffer (r=brendan)
2009-08-14 16:10:59 -07:00
David Anderson
bed67e910c
Removed callee from FrameInfo, and fixed upvar bugs in stack reconstruction (bug 510300, r=dmandelin,brendan).
2009-08-21 08:09:47 -07:00
Graydon Hoare
cad54739ba
Bug 511309 - Followup patch to force flush on the CodeAllocs, r=sayrer.
2009-08-20 21:02:41 -07:00
Robert Sayre
4d69e4136d
Merge.
2009-08-20 22:47:58 -04:00
Robert Sayre
4bf25b4f6e
Fix jsapi-tests assert in debug builds. tests need to happen inside a request.
2009-08-20 22:16:32 -04:00
Graydon Hoare
503c025d90
Bug 511309 - Delete class Fragmento and all uses of it, r=dvander.
...
--HG--
extra : rebase_source : 47047589288ac0758e0068307b5a8f393db97606
2009-08-20 17:22:47 -07:00
Andreas Gal
ebfe09b112
Fast path for writing a double into an array (511737, r=danderson).
2009-08-20 16:53:10 -07:00
Graydon Hoare
ebe9c3f20b
Bug 511237 - Remove primary use of Fragmento from jsregexp, r=dmandelin.
2009-08-18 15:32:54 -07:00
Graydon Hoare
571bd08a08
Bug 511040 - Make nanojit::HashMap usable for non-word keys, r=edwsmith.
...
--HG--
extra : rebase_source : 7d4dff334de629f60342736e50c518ec891df19f
2009-08-18 15:32:47 -07:00
Jason Orendorff
0615e68e91
Bug 505798 - JSAPI test harness. r=Waldo.
2009-08-20 17:20:14 -05:00
David Mandelin
6e0758faf2
Trailing whitespace cleanup, no_r=me
2009-08-20 15:21:14 -07:00
Robert Sayre
86100e21e2
Merge mozilla-central to tracemonkey.
2009-08-20 18:02:17 -04:00
David Anderson
57bffd92e3
Consolidated inner global typemap completion logic and fixed a bug when extending nested exits (bug 510518, r=gal,sayrer).
2009-08-20 13:06:27 -07:00
Bob Clary
6ecfde050f
bug 509098 - JavaScript Tests - remove accidentally committed changes to spidermonkey-n-1.9.3.tests.
...
--HG--
extra : rebase_source : 054ae65a872e7bb914a9a97f4240503ba04e081b
2009-08-20 12:15:43 -07:00
Jason Orendorff
5418886640
Bug 511418 - static-analysis error in jsobj.cpp:4257: cannot access JS_REQUIRES_STACK variable JSContext::fp and another trivial error in jstracer.cpp. r=gal.
...
--HG--
extra : rebase_source : 9ee93b34fbf656437932a4f3c8b373a11911cffd
2009-08-20 14:13:21 -05:00
Bob Clary
8616b8e0d1
Bug 273467 - ecma 9.3.1 - ToNumber(signed hex string) is NaN.
2009-08-20 12:08:03 -07:00
Bob Clary
b62a57c240
Bug 509098 - modify test due to removal of JS_HAS_LVALUE_RETURN support.
2009-08-20 12:07:59 -07:00
Bob Clary
03d3b46e0f
Bug 511714 - JavaScript Tests - include new 1.9.3 branch exclusion file.
2009-08-20 12:07:55 -07:00
Jason Orendorff
88e3edcd5e
Bug 506491 - Download Manager opens 'Blank' - intermittent - Error: gStr.timeUnits is undefined and download is null. r=brendan.
...
--HG--
extra : rebase_source : 22338610bff62f5aefca99a07f4f54621d18a680
2009-08-20 12:25:09 -05:00
Serge Gautherie
3c1ea54617
Bug 495730 - xpcshell-tests: each test leaks 3 nsStringBuffer, after (harness) bug 483062 landing; (Ev1) xpcshell.cpp: s/null/nsnull/; bustage fix
2009-08-20 18:07:23 +02:00
Serge Gautherie
915501a755
Bug 495730 - xpcshell-tests: each test leaks 3 nsStringBuffer, after (harness) bug 483062 landing; (Dv2a) xpcshell.cpp: call crashReporter->SetEnabled(PR_FALSE); r=ted.mielczarek
2009-08-20 17:35:30 +02:00
Andreas Gal
0525ca1267
Atomize unit strings at birth (511567, r=shaver).
2009-08-19 19:37:59 -07:00
David Anderson
ffb8283fd1
Build fix followup to bug 506714.
2009-08-19 16:42:25 -07:00
David Anderson
16fa18ade6
Added trace tree visualizer (bug 506714, r=gal).
2009-08-19 16:11:59 -07:00
Jason Orendorff
5d4cab246e
Bug 507446 - TM: use return values instead of outparams for box_jsval, unbox_jsval. r=dmandelin.
...
--HG--
extra : rebase_source : e49f886c1723d90064cd11da0959f4a1e0fe23f4
2009-08-19 17:00:18 -05:00
Andreas Gal
eb0e17b391
Build fix for bug 511307.
2009-08-19 15:58:36 -07:00
Andreas Gal
489dd4c0f9
Specialize math functions to integer arithmetic where appropriate (511307, r=dvander).
2009-08-19 15:31:10 -07:00
Andreas Gal
c09eb5d1a9
Remove debug printfs (no bug).
2009-08-19 15:29:56 -07:00
Andreas Gal
9a78cb5d5f
Use thread-local RNG for Math.random() (511328, r=shaver,waldo).
2009-08-19 15:23:54 -07:00
Andreas Gal
81c28c4fe8
Notify JS_CommenceRuntimeShutdown from CycleCollector (511522, r=graydon).
2009-08-19 15:13:02 -07:00
Robert Sayre
0da1878591
Merge.
2009-08-19 15:30:21 -04:00
Robert Sayre
9cc65226f2
Backed out changeset 5817b38a8686
2009-08-19 15:30:06 -04:00
Robert Sayre
7e4b86a92f
Try to fix bustage by revving XDR number.
2009-08-19 14:23:43 -04:00
David Mandelin
1e05c1b289
Bug 510655: set argsobj->private when leaving trace only if created on trace, r=igor
2009-08-19 11:11:39 -07:00
Igor Bukanov
a8f8431b74
bug 509143 - js_CloneRegExp is missing a call to js_SetLastIndex. r=mrbkap
2009-08-19 19:53:51 +03:00
Luke Wagner
b115ec69f9
Add test for bug 507180
2009-08-19 09:36:25 -07:00
Rich Walsh
26a48fb72d
Bug 510657 - simple OS/2 build fix in nanojit/avmplus, r=graydon
...
--HG--
extra : rebase_source : 7d4d1a75b659862460ecccdef80ce95fca119e32
2009-08-19 13:42:46 +02:00
Blake Kaplan
7073411c9d
Bug 509075 - Update this function to use shiny new APIs that don't require multiple searches for the property. r=jorendorff sr=jst
2009-08-18 20:55:30 -07:00
Luke Wagner
1f36a4f0c2
Bug 503952 - Use JSTempVector in jsstr.cpp (r=waldo)
...
--HG--
extra : rebase_source : ac955b5d784ca8fc9a61129e580c2751beb4109f
2009-08-14 16:10:59 -07:00
Luke Wagner
3b9c42c86e
Bug 507180 - Fix imacros (r=waldo)
2009-08-19 09:06:22 -07:00
Andreas Gal
c438241025
Backout bug 506125.
2009-08-18 17:30:05 -07:00
Andreas Gal
1982bae71c
Build fix for bug 506125.
2009-08-18 17:14:34 -07:00
Andreas Gal
57285268f7
Schedule GC based on process memory pressure (506125, r=igor,waldo).
2009-08-18 16:38:02 -07:00
Andreas Gal
ebc6f01967
Add an API to notify the JS engine that we are about to destroy the runtime (511252, r=brendan).
2009-08-18 16:31:20 -07:00
Luke Wagner
b0ad24c6d8
Bug 503952 - Replace JSStringBuffer with JSTempVector in jsxml (r=brendan)
2009-08-14 16:10:58 -07:00
Luke Wagner
0587891279
Bug 509826 - replace js_NewStringCopyN with js_NewDependentString in jsstr (r=waldo)
2009-08-18 14:13:28 -07:00
Luke Wagner
1d573dc2f2
Actually fix bustage: JS_STATIC_ASSERT cannot be used in classes.
2009-08-18 09:21:53 -07:00
Luke Wagner
20fddc0b26
Fixed jsvector.h bustage.
2009-08-18 09:03:23 -07:00
Luke Wagner
d41529b0d4
Bug 510319 - fix ptrdiff overflow in JSTempVector
2009-08-18 08:41:30 -07:00
Jacob Bramley
56c7a54588
Allow an out-of-memory condition to be interpreted as a pass for testBug507425. (510207, r=dmandelin)
2009-08-18 12:00:10 +01:00
Bob Clary
01e935eb04
bug 510901 - Sisyphus - support 1.9.3 branch.
2009-08-18 00:30:00 -07:00
Bob Clary
de4888f662
bug 501124 - JavaScript Test by bogomip.
2009-08-18 00:30:00 -07:00
Bob Clary
4826fb6c7c
bug 488995 - JavaScript Test by PenPal.
2009-08-18 00:30:00 -07:00
Bob Clary
2983c14cbb
bug 488989 - JavaScript Test by Jeff Walden.
2009-08-18 00:30:00 -07:00
Bob Clary
96b34d5791
bug 481436 - JavaScript Test by Gary Kwong, Jason Orendorff.
2009-08-18 00:30:00 -07:00
Bob Clary
b0d8e3ec51
bug 474319 - JavaScript Test by Gary Kwong.
2009-08-18 00:30:00 -07:00
Bob Clary
e980027181
bug 473040 - JavaScript Test by Gary Kwong.
2009-08-18 00:29:59 -07:00
Bob Clary
bcb7520d62
bug 466206 - JavaScript Test by Gary Kwong.
2009-08-18 00:29:59 -07:00
Bob Clary
b25f6a8ae9
bug 465980 - JavaScript Tests by Mike Shaver, Jeff Walden.
2009-08-18 00:29:59 -07:00
Bob Clary
de8b3dd0d0
bug 465063 - JavaScript Test by Gary Kwong.
2009-08-18 00:29:59 -07:00
Bob Clary
8f33cfe9d0
bug 454704 - JavaScript Test by Jesse Ruderman.
2009-08-18 00:29:59 -07:00
Bob Clary
75a81649b9
bug 427196 - JavaScript Tests by Jesse Ruderman, Igor Bukanov.
2009-08-18 00:29:59 -07:00
Bob Clary
f4a7bf3c95
bug 426520 - JavaScript Test by Adam Hauner, Jesse Ruderman.
2009-08-18 00:29:59 -07:00
Bob Clary
fdb13995e1
bug 369696 - JavaScript Tests by Jesse Ruderman, Igor Bukanov.
2009-08-18 00:29:59 -07:00
Bob Clary
91c470efb1
bug 506567 - JavaScript Test by John Hanely.
2009-08-18 00:29:59 -07:00
Bob Clary
cce53d05dd
bug 504078 - JavaScript Test by Anders Hammarquist.
2009-08-18 00:29:59 -07:00
Bob Clary
eb9a32187c
Bug 509164 - Sisyphus - support mozilla-build start*.bat environment settings, r=ctalbert.
2009-08-18 00:29:59 -07:00
Bob Clary
b8cc1ab90c
bug 496846 - run browser tests via file:.
2009-08-18 00:29:58 -07:00
Bob Clary
fc757f2763
bug 353078 - JavaScript Test - modify test to only fail in the event of a crash.
2009-08-18 00:29:58 -07:00
Bob Clary
2e1b1c26be
bug 452498 - JavaScript Tests - disable js1_5/decompilation/regress-352073.js for 1.8.x, 1.9.0 due to changes in test.
2009-08-18 00:29:58 -07:00
Bob Clary
46098ed3e9
bug 383269 - JavaScript Tests - js1_5/GC/regress-383269-{01,02}.js are timing dependent and fail randomly, add to performance*.tests.
2009-08-18 00:29:58 -07:00
Bob Clary
a4e88052cd
Bug 457618 - update js1_7/block/order-of-operation.js
2009-08-18 00:29:58 -07:00
Bob Clary
632647c94d
bug 457618 - JavaScript Tests - update tests due bug 346749 (let declarations at function level should be treated as var).
2009-08-18 00:29:58 -07:00
Bob Clary
225c3a7d88
bug 496113 - JavaScript Test by Masakazu Takahashi.
2009-08-18 00:29:58 -07:00
David Anderson
3ef3ec0c6c
Improved joinEdgesToEntry functionality and cleanliness (bug 509093, r=sayrer,gal).
2009-08-17 18:01:00 -07:00
David Mandelin
2ad51ab3d0
Bug 510730: make new trace-test harness output tinderbox-parseable, r=graydon
...
--HG--
extra : rebase_source : de6ca79b0df5b8d98e24f2fe6cd5ebd4f16c5964
2009-08-17 16:53:41 -07:00
Nicholas Nethercote
c035e918c7
Bug 511012 - TM: don't use addName() and insStorei() together. r=gal.
2009-08-18 09:27:48 +10:00
Jason Orendorff
b3aba1ee4c
Delete unused JSBUILTIN_ constants. No bug. r=gal.
2009-08-17 17:36:36 -05:00
David Mandelin
46854c2304
Bug 509599: on trace, call putArguments when returning from JS function via either return or stop, r=jorendorff
2009-08-17 15:29:09 -07:00
David Mandelin
25b6a55ac6
Bug 510434: don't trace setting |arguments|, r=brendan
2009-08-17 15:20:26 -07:00
Jim Blandy
24dfed2435
Bug 509510: Update tests to match final ECMA 5 spec. r=mrbkap
2009-08-17 14:54:52 -07:00
Jim Blandy
d73272bc1a
Bug 509510: Make Object.getPrototypeOf reject primitives, not coerce them. r=mrbkap
2009-08-17 14:54:52 -07:00
Andreas Gal
5d82186f20
Don't flush the code cache every time we GC (506117, r=brendan).
2009-08-17 14:50:57 -07:00
Jason Orendorff
bb4f47d677
Re-apply d8e4676dc10e (bug 510553) to trace-test.py. Changeset c3648b2ea86c inadvertently reverted these changes because I rebased it across d8e4676dc10e and rebase is dumb. r=sea of orange
...
--HG--
extra : rebase_source : 461c4b16b92841b6cf3e3460f2c55a143787706d
2009-08-15 07:14:45 -05:00
Jason Orendorff
d25d775501
Bug 510568 - Kill one last #if JS_HAS_LVALUE_RETURN directive. r=Waldo.
2009-08-15 07:21:06 -05:00
David Mandelin
184e8b155d
Backed out changeset 238e8b557e4f: causing tjss orange
...
--HG--
extra : rebase_source : 49cfd40e67221067c45c85a5b96db39d22be1f67
2009-08-14 19:17:00 -07:00
Blake Kaplan
905b04895d
Fix compiler warnings on x86-64 (and maybe even miscompilation) by forcing this value to be the right width.
2009-08-14 16:52:48 -07:00
David Mandelin
a5a7e420d0
Bug 505591: trace JSOP_NAME for returned closures, r=dvander
2009-08-14 16:02:47 -07:00
David Mandelin
4af2805055
Bug 509982 followup: simpler faster test for presence of upvars in a flat closure, sr=brendan
2009-08-14 15:36:50 -07:00
David Mandelin
14e11d3ed9
Bug 504587 test case: test shape guard validity, r=jorendorff via IRC
2009-08-14 15:34:23 -07:00
David Mandelin
4fad6d2e5d
Bug 509982 part 2: add test case
2009-08-14 15:29:54 -07:00
David Mandelin
3d7dd5021a
Bug 509982: don't populate flat closure upvars when there aren't any upvars, r=dvander
2009-08-14 15:25:05 -07:00
Jeff Walden
3ee1d5026c
Bug 510537 - Implement Array.isArray, easiest ES5 feature evar. r=jorendorff
2009-08-14 03:23:07 -07:00
Robert Sayre
b52839d7b8
Merge.
2009-08-14 17:58:22 -04:00
Robert Sayre
c582767e79
Merge mozilla-central to tracemonkey.
2009-08-14 17:49:42 -04:00
Jason Orendorff
d14a48ad53
Bug 508051 part 2 - Avoid imacros for JSOP_INSTANCEOF. Re-landing per comment 8. r=gal.
2009-08-14 16:34:43 -05:00
Jason Orendorff
56b69d0816
Bug 508051 part 1 - Avoid imacros for JSOP_SETELEM. Re-landing per comment 8. r=gal.
2009-08-14 15:47:04 -05:00
Jason Orendorff
ecb3693d52
Remove Python 3.x version of trace-test.py. Maintaining two copies is a headache. r=dmandelin.
...
--HG--
extra : rebase_source : 91fcfe4a1b16b788ec42f1ab37097ee2bfe81413
2009-08-14 15:07:11 -05:00
Saint Wesonga
6aeef52dac
Bug 273467 - -"-0x1" results in 1 instead of NaN. r=brendan.
2009-08-14 15:03:10 -05:00
Makoto Kato
b2ac773127
Bug 510449 - Bug 493457 causes crash on x64 windows build because JSSLOT_CLASS_MASK_BITS is uint32. r=jwalden
...
--HG--
extra : rebase_source : f9c5040cdec6d23ecfd1ac49f0ce6e97e356f4f1
2009-08-14 11:09:15 -07:00
Hashem Masoud
c8f711113e
Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin
2009-08-14 16:09:00 +02:00
Leon Sha
b5dce5822e
Bug 510451 Build failed on solaris after merge tamarin's CodeAlloc(bug 504462). r=gal
2009-08-14 18:07:28 +08:00
Siddharth Agarwal
c1873e837d
Final part of bug 503756 -- reland bug 489579. r=bsmedberg
...
--HG--
extra : rebase_source : 73a994583b600cc03ba51a323cf96bb18c2e8153
2009-08-14 03:03:30 +05:30
Robert Sayre
2874c6425c
Merge tracemonkey to mozilla-central.
2009-08-13 17:38:22 -04:00
Jason Orendorff
92e7f5cf05
Merge backout.
2009-08-13 12:20:04 -05:00
Jason Orendorff
fd7ddc1057
Backed out changeset a17cbb14793f (bug 510193) which caused trace-test.js to fail (spuriously) on x86.
2009-08-13 12:19:39 -05:00
Andreas Gal
fee752ae24
Cleaning code cache flush handling (510136, r=jorendorff).
2009-08-13 08:35:35 -07:00
Ben Hearsum
1ca9588693
bug 508282: bump mozilla-central version to 1.9.3a1pre/3.7a1pre. r=catlee. CLOSED TREE
2009-08-13 10:06:28 -04:00
Jacob Bramley
967d281c76
Relax the testTableSwitch2 test for non-x86 platforms which don't use ::tableswitch() in jstracer.cpp. (510193, r=jorendorff)
2009-08-13 14:53:03 +01:00
Andreas Gal
25b9ed2a98
Backed out bug 508051. Fails trace-test/mandelbrot.
2009-08-13 04:08:34 -07:00
Blake Kaplan
fd26ee6ac1
Fix bug 508752. r+sr=jst
2009-08-10 18:07:00 -07:00
Blake Kaplan
392333159f
Bug 509824 - Don't call into the script security manager off the main thread. r=bent sr=jst
2009-08-18 20:53:15 -07:00
Robert Strong
9c9b7be90e
Followup to Bug 507513 - Need ABI defined for WinCE / WinMo. Make the code portable. r=ted.mielczarek
2009-08-18 16:08:56 -07:00
Serge Gautherie
cb736aa5e4
Bug 508760 - Remove MSVC6 support from the tree; (Ev1) js/src/*; r=graydon
2009-08-18 19:24:45 +02:00
Edwin Smith
87b101337d
Bug 510545 - Convert LInsHashSet to use Allocator instead of GC, r=gal.
...
--HG--
extra : rebase_source : 233cf623b49f030ca083ba250294e00b61afdac5
2009-08-06 09:41:07 -04:00
David Mandelin
36075e6bc3
Bug 510553: make trace-test.py use correct program argv passing and path separator conventions, r=jorendorff
2009-08-14 12:09:42 -07:00
Igor Bukanov
be037e50cc
bug 495061 - followup - fixing a typo in JS_FASTCALL declaration
2009-08-14 20:54:26 +02:00
Igor Bukanov
7e607aac4d
bug 495061 - js_PutArgsObject and js_PutCallObject that never fail. r=brendan
2009-08-14 20:43:16 +02:00
Makoto Kato
7cd16a8284
Bug 501324 - Bug 497618 causes crashes while building with MSVC++ on Win x64. r=jwalden
2009-08-14 11:28:24 -07:00
Makoto Kato
7147fd6a28
Bug 510449 - Bug 493457 causes crash on x64 windows build because JSSLOT_CLASS_MASK_BITS is uint32. r=jwalden
2009-08-14 11:09:59 -07:00
Leon Sha
e8ef1e87a3
Bug 510451 - Build failed on solaris after merge tamarin's CodeAlloc(bug 504462). r=gal
2009-08-14 18:01:38 +08:00
Luke Wagner
94a2c2cadd
Bug 503952 - replace JSStringBuffer with JSTempVector in json.cpp
2009-08-13 17:22:55 -07:00
Brendan Eich
4a2fccb6db
Avoid unused variable warning if not verbose.
2009-08-13 16:54:36 -07:00
Jason Orendorff
5e91f575d6
Bug 509098 - Remove JS_HAS_LVALUE_RETURN support, part 2. r=brendan. This was part of the original patch, but while rebasing it I accidentally dropped the parts that touch jsops.cpp.
...
--HG--
extra : rebase_source : 5ee3c72911a371ff14fb4696c73e9b17928f4845
2009-08-13 17:49:56 -05:00
David Mandelin
c0f2845030
Bug 505588: simpler test format and improved harness for trace-tests, r=jorendorff
2009-08-13 15:42:51 -07:00
Jason Orendorff
8384b1e239
Bug 509098 - Remove JS_HAS_LVALUE_RETURN support. r=brendan.
2009-08-13 16:18:33 -05:00
Jason Orendorff
7de8690fbc
Bug 510091 - Fennec crash on mousedown on an iframe. r=Waldo.
2009-08-13 16:07:13 -05:00
Jason Orendorff
eb983a642d
Bug 509103 - Drop support for assigning to parameterized properties. r=shaver.
...
--HG--
extra : rebase_source : 1c1d756ed4a510414a561546d73d3989204c16cb
2009-08-13 16:05:25 -05:00
Jacob Bramley
f77c90d4c3
Relax the testTableSwitch2 test for non-x86 platforms which don't use ::tableswitch() in jstracer.cpp. (510193, r=jorendorff) (with minor orangeness fix by jorendorff, r=shaver)
2009-08-13 15:03:48 -05:00
Taras Glek
8943704095
Bug 457949 - no need for Stopwatch r=bsmedberg
...
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Brad Lassey
14569d27f4
bug 503137 - xpcshell.exe needs an --environ cli option to work with xpcshell unittests on windows mobile r+sr=mrbkap
2009-08-28 10:16:30 -04:00
Blake Kaplan
e6ad9883bf
Bug 512589 - Initialize some more members. r=peterv sr=peterv
2009-08-27 12:45:34 -07:00
Benjamin Smedberg
0df64c6bc4
Additional followup to bug 398573 - remove REQUIRES from the tree even when they are in makefile conditional blocks
...
--HG--
extra : rebase_source : cc65c34a414e6c67a5651fc9cf0b6bd709ebcdbd
2009-08-27 08:53:13 -07:00
Ted Mielczarek
3d123a9cd0
bug 511791 - configure and PGO fail with ICC. r=bsmedberg
2009-08-25 18:18:24 -04:00
Peter Van der Beken
8b5c239aac
Fix for bug 510677 (Avoid XPCCallContext for WrapNativeToJSVal). r/sr=jst.
...
--HG--
extra : rebase_source : 647f360f5603a2f9ade579a9911ba51af1db91b5
2009-08-14 21:00:24 +02:00
Peter Van der Beken
e20a909c30
Remove debugging code for setters and methods to avoid weird behaviour from calling the native setters and methods twice.
...
--HG--
extra : rebase_source : bc087eb4c541411d5adc696b267295d4d172614e
2009-08-24 08:44:16 -07:00
Peter Van der Beken
06a3290ed7
Fix for bug 510673 (Add a quickstub for document.write). r/sr=jst.
...
--HG--
extra : rebase_source : 10b08ef2c45a0db19122851cd105a7580e499d0a
2009-08-14 19:55:43 +02:00
Mark Banner
f53b655eed
Sync js/src/config files with change from changeset a1a1591eee2a / Bug 402892 "Switch from gnome-vfs to GIO" (add gio/gio.h to system-headers) - to fix unit test bustage.
2009-08-26 08:17:16 +01:00
David Anderson
42e1fe8339
Fixed assertion botch, (fallout from bug 512029 desk r=jorendorff).
...
--HG--
extra : rebase_source : a934cbfbc1e641d2c49511d1041105d8bec4aa66
2009-08-25 13:41:05 -07:00
Robert Sayre
9eda7abe2f
Merge tracemonkey to mozilla-central.
2009-08-25 09:52:56 -07:00
Benjamin Smedberg
2e9438fd2f
Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted
2009-08-25 08:59:31 -07:00
Serge Gautherie
fffa744caa
Bug 506502 - Remove "MOZ_BITS == 16" parts (in dbm and nsprpub); (Bv1-MC) Remove (last) 3 *.mak; r=gal
2009-08-25 15:22:26 +02:00
Josh Aas
cc8d9ebb04
Remove java-specific preferences from Firefox UI, hidden prefs. Java should be managed via the addons manager. Also improves accuracy of "window.navigator.javaEnabled()". b=506985 r/sr=jst uireview=faaborg
2009-08-24 15:56:43 -07:00
Magnus Melin
bfbe8d383b
Bug 248280: pref "javascript.allow.mailnews" is obsolete and should be removed. r=dmose
2009-08-24 21:12:22 +03:00
Rich Walsh
f5f2f3bc1a
Bug 510657 - implement OS/2 memory functionality in nanojit/avmplus, r=gal
2009-08-24 10:21:37 +02:00
Vladimir Vukicevic
8ddb6fef0b
b=510571; [arm,wince] don't report illegal instructions to debugger while doing our tests; r=graydon
2009-08-20 19:19:56 -07:00
Edwin Smith
fa572124fd
Bug 510116 - Remove dead code paths and arguments in nanojit::compile, r=gal.
2009-08-05 15:06:00 -04:00
Graydon Hoare
7ae3eb245d
Bug 510104 - NJ: fix arm merge fallout, r=gal.
...
--HG--
extra : rebase_source : e739a12da66e0d65171bb5c2e3c09f98431ddf7c
2009-08-12 17:45:08 -07:00
Luke Wagner
fa2f83712c
Bug 507458 - clear the waters a bit regarding JSVAL_BOOLEAN
2009-08-12 16:39:23 -07:00
Edwin Smith
83930e09a2
Bug 510095 - allocate LirBuffer with Allocator instead of GC, don't extend GCFinalizedObject, r=gal.
...
--HG--
extra : rebase_source : 42aa431e0d795351860f0794ea0392e1f663132b
2009-08-04 15:03:34 -04:00
Edwin Smith
ad06720f03
Bug 510078 - Convert LirNameMap to HashMap<> and Allocator, r=gal.
...
* * *
Don't allocate CodeAlloc with GC and dont extend GCFinalizedObject (bug 506390 r=tharwood+)
* Change PageMgr::CodeAlloc from pointer to embedded instance.
* Assembler takes CodeAlloc& now, like it already does for Allocator&
* PoolObject.cpp|h now use VMCFG_NANOJIT instead of (deprecated) FEATURE_NANOJIT
(both #defines are equivalent)
--HG--
extra : rebase_source : 90847a654d7f669a4c2ac364dd9aae7be38cae77
2009-08-04 14:18:38 -04:00
Jason Orendorff
bc52c17224
Bug 508051 part 2 - Avoid imacros for JSOP_INSTANCEOF. r=gal.
2009-08-12 15:40:56 -05:00
Jason Orendorff
cc37757a20
Bug 508051 part 1 - Avoid imacros for JSOP_SETELEM. r=gal.
2009-08-12 15:27:01 -05:00
Edwin Smith
3967b233d5
Bug 510036 - Convert LabelMap to HashMap<> and Allocator, r=gal.
...
--HG--
extra : rebase_source : 4f1385922085fe086084c418aa22dcc4cc4c1961
2009-08-04 13:56:48 -04:00
Graydon Hoare
7bddd2c62f
Bug 510015: TM: more Allocator merge fallout in jsregexp.cpp, r=gal.
...
--HG--
extra : rebase_source : 7607da6f49cc355af49b73528c826d5888291eb9
2009-08-12 12:26:17 -07:00
Edwin Smith
9c489db37c
Bug 509893 - Convert NInsList to SeqBuilder<> and Allocator, r=gal.
...
--HG--
extra : rebase_source : ca2b073138301d78829fa1096e0cb3da607073de
2009-08-04 13:21:15 -04:00
Edwin Smith
7de6b2bc04
Bug 509890 - Convert InsList to SeqBuilder<> and Allocator, r=gal.
...
--HG--
extra : rebase_source : 22303e739a0a6669c634595149028872aa7bd334
2009-08-04 13:11:53 -04:00
Edwin Smith
3a5203b81c
Bug 509885 - Convert NInsMap to Allocator, r=gal.
...
--HG--
extra : rebase_source : 3586f950b5698052af74081f8f986f32dc57fa68
2009-08-04 11:06:46 -04:00
Graydon Hoare
77e519e3e4
Bug 509883 - Grab bag of formatting churn, r=gal.
...
--HG--
extra : rebase_source : 05d7b651a381a9e5daca47a2140bd6f1b1154a5b
2009-08-04 11:33:14 -04:00
Robert Sayre
c8a923e58e
Merge mozilla-central to tracemonkey.
2009-08-12 12:18:38 -07:00
Peter Van der Beken
16bf42fce4
Fix for bug 499199 (Try to avoid XPCCallContexts in quickstubs for wrapper-cached things). r/sr=jst.
...
--HG--
extra : rebase_source : 8fc828106f3cf5e82e902cefd79e55df2b8721c3
2009-08-10 12:12:59 +02:00
timeless@mozdev.org
870ed948d4
Bug 505901 PutProperty has useless null check in !targetprop else case
...
r=gal
2009-08-12 11:49:54 +02:00
timeless@mozdev.org
191308c5ea
Bug 505838 JS_GetStringBytes(JS_ValueToString(...)..) is a bad pattern
...
r=jorendorff
2009-08-12 11:49:53 +02:00
timeless@mozdev.org
6028fe0d79
Bug 505804 XPC_SJOW_Call leaks args if JS_GetFunctionObject(callWrapper) yields null
...
r=mrbkap
2009-08-12 11:49:53 +02:00
timeless@mozdev.org
ccd14cb0e0
Bug 505771 double free [@ JS_free - snarf] in jsshell
...
r=gal
2009-08-12 11:49:53 +02:00
timeless@mozdev.org
354de8a330
Bug 505568 jsshell should use the public api for property iteration
...
r=mrbkap
2009-08-12 11:49:53 +02:00
timeless@mozdev.org
bc35a8740a
Bug 504395 SimulateImacroCFG leaks tmp_pcstack when LOCAL_ASSERT fails
...
r=graydon
2009-08-12 11:49:52 +02:00
Edwin Smith
a65666cc5a
Bug 509856 - convert LabelStateMap and RegAllocMap to Allocator based containers, r=gal.
2009-08-04 10:48:48 -04:00
Edwin Smith
6652a33cf1
Bug 509833 - Convert live() analyzer to Allocator, r=gal.
2009-08-04 10:18:25 -04:00
Edwin Smith
1913010941
Bug 509818 - Replace StringList with SeqBuilder<char*>, use Allocator, r=dvander.
2009-08-04 09:54:47 -04:00
Brendan Eich
35efd21601
Fix annoying GCC warning (no ifdef __GNUC__ noise, that just taxes us for gcc's deficiencies).
2009-08-11 16:22:35 -07:00
Luke Wagner
8437742100
Bug 509725 - use JSTempVector in String.prototype.replace. r=Waldo
2009-08-11 15:45:32 -07:00
David Anderson
91b95f0a95
Merge.
2009-08-11 14:12:27 -07:00
David Anderson
74070d2a77
LirNameMap must be reset if flushing the allocator (bug 509786, r=graydon).
2009-08-11 14:11:07 -07:00
Jason Orendorff
3137ee0467
Bug 509636 - Assertion failure: pn->pn_type != TOK_COMMA, at ../jsemit.cpp. r=Waldo.
...
--HG--
extra : rebase_source : 1d413958d72dc3fda3ade90cf199965fb1d6de61
2009-08-11 15:57:23 -05:00
Jason Orendorff
9dc4a54a5d
Bug 498488 - Change some JSObject macros to methods. r=Waldo.
2009-08-11 15:05:44 -05:00
Maks Verver
fce0a4a253
Simpler parseInt logic (bug 507993 followup, r=brendan,dvander).
2009-08-11 12:54:55 -07:00
David Anderson
67c4f874a9
Fixed FindLoopEdgeTarget not setting its outparam in one case (bug 509089 fallout, desk r=gal).
2009-08-11 12:51:40 -07:00
Luke Wagner
21205c39ce
Removed unnecessary null check before cx->free.
2009-08-11 11:10:44 -07:00
Boris Zbarsky
99d0bce640
Hack to make bug 509557 less annoying.
2009-08-11 13:25:14 -04:00
David Anderson
5268047217
Static analysis build fixes (bug 509089 fallout, no bug).
2009-08-10 22:23:58 -07:00
David Anderson
869bf43660
Cleaned up and refactored AttemptToStabilizeTree (bug 509089, r=gal).
2009-08-10 22:15:52 -07:00
Edwin Smith
b21d256eb9
Bug 509634 - Add new Allocator-friendly containers, r=dvander.
...
--HG--
extra : rebase_source : 9d85c87d2c12729873ad5af330edd2495d590d79
2009-08-04 09:31:29 -04:00
David Anderson
7a7dbed77d
Fixed parseInt handling negative numbers wrong in JIT'd code (bug 507993, r=brendan).
2009-08-10 18:09:51 -07:00
Edwin Smith
74be99c7ff
Bug 509609 - Don't allocate CodeAlloc with GC and dont extend GCFinalizedObject, r=dvander.
2009-08-04 14:53:56 -04:00
Edwin Smith
186c032f2a
Bug 509598 - Remove dead nanojit::CseFilter and LInsHashSet::replace, r=dvander.
...
--HG--
extra : rebase_source : ec7d125901bb032ad0dc5d7021070181bf8cde3d
2009-08-03 15:45:01 -04:00
Edwin Smith
a81fcd433a
Bug 509596 - Remove some dead code, r=dvander.
...
--HG--
extra : rebase_source : 9d5ff6c6900b3befce2f6b6bf13d02a582f4a35d
2009-08-03 15:18:55 -04:00
Graydon Hoare
3dd52407c3
Bug 509586 - More VMPI insulation, r=jorendorff.
...
--HG--
extra : rebase_source : 0b468edd0ee08afe59fa9e7202ad3e96024f0371
2009-08-10 17:10:25 -07:00
Jason Orendorff
d60a115007
Bug 509301 - Value chosen for callee in args_resolve is nonsense. Fixes a debug browser assertion. r=Waldo.
2009-08-10 16:23:32 -05:00
Graydon Hoare
114f8d3c01
Bug 507302 - more whitespace fixes, r=nnethercote.
...
--HG--
extra : rebase_source : 7d208da8eabd76f66cfe323b5b598f45130299c6
2009-07-29 16:21:40 -07:00
Jeff Walden
484c2f1212
Bug 504233 - Add SIZE_MAX, etc. #defines to SpiderMonkey. r=jimb
2009-07-15 15:59:25 -07:00
Brendan Eich
79d774b114
Bug 515815 - TM: Regression on shell test case regress-452498-224.js (r=igor).
2009-09-11 10:47:47 -07:00
Brendan Eich
1cef550e73
Fix obvious thinko that bites Gary's fuzzer (515892, r=igor tomorrow, I trust).
2009-09-11 00:00:52 -07:00
Nicholas Nethercote
4b5aeeae4f
Bug 514551 - nanojit: avoid using ~allocator.free. r=edwsmith.
2009-09-11 16:21:10 +10:00
Nicholas Nethercote
4faa4a2405
Bug 515312 - nanojit: kill reservations in the Sparc backend. r=leon.sha.
2009-09-11 14:43:50 +10:00
David Mandelin
17a8b24ac7
Bug 515844: option to run a trace-test in gdb, r=dvander
2009-09-10 18:39:30 -07:00
Jim Blandy
f98db45fa3
Bug 510117: Correct pseudocode describing use/def processing. r=brendan
2009-09-10 18:02:08 -07:00
David Anderson
a17ec3c834
Follow-up nits (spacing, comment typo) to bug 513844.
2009-09-10 17:24:28 -07:00
Luke Wagner
d72c89d060
Backed out changeset b866396faae4
2009-09-10 16:44:01 -07:00
Luke Wagner
e9357856b4
Bug 506410 - bring template lovin' to hash tables (r=jorendorff)
2009-09-10 16:16:29 -07:00
David Mandelin
0fcb7aaa76
Bug 500857: show JIT reset events in tracevis, r=nnethercote
...
--HG--
extra : rebase_source : a9be775abf15badf980e3be3535e99b30ce5c235
2009-09-10 16:06:34 -07:00
David Anderson
0638ddff8d
Follow-up fix for SanityFilter triggering on ill-typed LIR (bug 513844, no_r=me).
2009-09-10 15:41:48 -07:00
David Anderson
fdcaf63219
Greatly improved tracer x64 compliance and compatibility (bug 513844, r=gal).
2009-09-10 15:38:18 -07:00
David Anderson
927b38b06f
Merge backout.
2009-09-10 15:13:26 -07:00
David Anderson
10b1ebccfe
Backed out changeset 1870d316eb00
2009-09-10 15:12:14 -07:00
Blake Kaplan
adf434e70c
Bug 513428 - Ignore transparent wrappers when deciding if something is an array or not. r=brendan
2009-09-10 14:51:45 -07:00
Andreas Gal
b6a2946c7a
Tracker::get must never be called for values not in the tracker (515752, r=dmandelin).
2009-09-10 13:11:26 -07:00
Bob Clary
572aca124f
Bug 469718 - browser javascript reftests, r=sayrer, r=ted.mielczarek.
...
--HG--
rename : js/tests/Makefile => js/tests/SisyphusMakefile
2009-09-10 12:38:29 -07:00
Jason Orendorff
7bf465cfd3
Bug 515682 - js/src/jsapi-tests is missing a README file. r=brendan.
2009-09-10 14:28:55 -05:00
Brendan Eich
811ccb299a
Fixes based on jorendorff's comments in bug 515273.
2009-09-10 10:54:33 -07:00
Brendan Eich
706bd30498
Fix js*inlines.h harder (515628, r=jorendorff).
2009-09-10 10:23:52 -07:00
Jason Orendorff
4e3fc88ef8
Fix release-only linker error introduced by changeset 08ab547f6808 (having to do with jsscriptinlines.h). r=red.
2009-09-10 11:50:43 -05:00
Brendan Eich
bb9d2c5506
Followup for 513119, r=jorendorff.
2009-09-10 07:22:20 -07:00
Igor Bukanov
8b5938706b
bug 440834 - do not cache enumerators when object shape overflowed. r=brendan
2009-09-10 15:59:43 +04:00
Igor Bukanov
3c4beac4d9
bug 515199 - js_GetGCThingTraceKind must check for JSString::isStatic and return JSTRACE_STRING if so. r=brendan
2009-09-10 15:13:59 +04:00
Leon Sha
4e128c3edd
Bug 515586 - Tracemonkey build failed with Sun Studio at jsstr.cpp. r=gal
2009-09-10 15:29:20 +08:00
Graydon Hoare
e9a727c872
Bug 514999 - Followup to fix orange opt tinderboxes, r=me.
...
--HG--
extra : rebase_source : 876279e2d327c8faf76bba28f94ba40f347a2000
2009-09-09 20:39:35 -07:00
Nicholas Nethercote
a5ab37ac5f
Fix bustage caused by the patch for 514066.
2009-09-10 14:24:57 +10:00
Nicholas Nethercote
b29cd64403
Bug 514066 - TM: Make short functions in LIR.cpp inline. r=gal.
2009-09-10 14:02:59 +10:00
Brendan Eich
016b0f207a
Bug 514981 - JSStackFrame::sharp{Array,Depth} should be locals allocated due to #n[#=] usage (r=igor).
2009-09-09 20:21:15 -07:00
Graydon Hoare
8132680f0e
Bug 515551 - FIX_FPU should depend on __i386__ not __i486__, r=brendan.
2009-09-09 20:09:50 -07:00
Nicholas Nethercote
f110b091bc
Bug 514349 - nanojit: start to kill Reservations. r=edwsmith,rreitmai.
2009-09-10 11:00:18 +10:00
Andreas Gal
bd58a78c21
Set nativeVp immediately before the native call (514999, r=mrbkap).
2009-09-09 17:38:07 -07:00
Jeff Walden
9deeafc1b0
Fix filename in comment to kick a tinderbox, r=red
2009-09-09 17:23:42 -07:00
Jeff Walden
fcb571fda5
Fix initialization, r=bustage
2009-09-09 17:00:26 -07:00
Jason Orendorff
b53824855d
Bug 513119 - Change JSScript macros to methods. r=Waldo.
2009-09-09 18:52:55 -05:00
Jason Orendorff
1a7723b3aa
Fix compile bustage from changeset b7ee9263cf96. Trivial fix. r=red.
2009-09-09 18:52:40 -05:00
Jeff Walden
c8f686672d
Bug 505587 - Implement ES5 Object.getOwnPropertyDescriptor. r=mrbkap
2009-07-21 19:35:59 -07:00
David Anderson
3ae21db572
Fixed regex LIR to be x64 compliant (bug 514548, r=lw).
2009-09-09 15:53:26 -07:00
David Anderson
fbf123ad5b
Fixed uninitialized variable in nanojit ARM backend (bug 515493, r=gal).
2009-09-09 15:45:18 -07:00
Jason Orendorff
25a80d6547
Fix a leak valgrind finds in jsapi-tests/testXDR.cpp. No bug, too trivial for a review, no_r=me.
2009-09-09 16:51:46 -05:00
Jason Orendorff
e170e4b573
Bug 511728 - Misc. cleanup from bug 503080. r=igor.
...
--HG--
extra : rebase_source : f4b7b385bbece2316912ce67c77a49ac8fca6e5c
2009-09-09 15:53:37 -05:00
Julian Seward
b8505fdfae
Bug 514647 - Fix space leaks in JS shell, r=gal.
...
--HG--
extra : rebase_source : 33073aa3fa68c69adaaf3516dc568b691a6573b5
2009-09-09 14:21:18 -07:00
Jason Orendorff
500dba18ba
Fix typo in inArrayTest.js introduced in changeset ff4821569605. No bug#. r=orange.
2009-09-09 16:12:51 -05:00
Graydon Hoare
c49ca202b2
Bug 511938 - Fix up recently-invalidated assertion, r=dvander.
2009-09-09 11:36:24 -07:00
David Anderson
daf1fa4dbe
Fixed LIR_ret/asm_ret on ARM (bug 515290, r=gal,vlad).
2009-09-09 12:55:17 -07:00
Andreas Gal
09f4fc3f88
Merge.
2009-09-09 12:53:11 -07:00
Andreas Gal
bb688e13fe
Backed out changeset 5c7fbeed8f96 (bug 515290, accidentally committed unrelated changes with the bug).
2009-09-09 12:52:58 -07:00
David Mandelin
512c25cdc4
Bug 504797 extra bit: newly required include in jsfun.cpp, no_r=me
2009-09-09 11:46:32 -07:00
David Mandelin
a8c3972f23
Bug 504797: give arguments objects created on trace a private value that can be used to look up argument values in the native stack, r=gal
2009-09-09 11:40:21 -07:00
David Anderson
e0f904df58
Added LIR_ov and full cmov support to x64 backend (bug 514496, r=rreitmai).
2009-09-09 11:19:12 -07:00
David Anderson
22a1120a3e
Added LIR helpers for x64 code generation (bug 514532, r=edwsmith).
2009-09-09 11:15:48 -07:00
David Anderson
01362958c6
Added LIR_ldcb and LIR_ldcs to x64 backend (bug 514586, r=rreitmai).
2009-09-09 10:58:24 -07:00
Brendan Eich
ed3daf20b0
My first jsapi test (515273, rs=Waldo).
2009-09-08 21:28:51 -07:00
danderson@mozilla.com
b29acb6983
Fix asm_ret on ARM (515290, r=gal,vlad).
2009-09-08 20:23:53 -07:00
Nicholas Nethercote
21dbf49f8b
Bug 515138 - TM/nanojit: merge the two StackFilter passes. r=gal.
2009-09-09 11:48:30 +10:00
Brendan Eich
e1ca08f794
Avoid wildman storage-punning hacks for non-unit static strings (515273, r=gal/gwagner).
2009-09-08 17:46:02 -07:00
Julian Seward
cf806f6974
Bug 513407 - NJ: fold out (x == y) ? x : y and (y == x) ? x : y. r=gal.
2009-09-09 10:25:16 +10:00
David Anderson
7b69388035
Fixed a hack that created temporarily ill-typed LIR, i2f(i2f) (bug 503427, r=gal).
2009-09-08 16:47:55 -07:00
Nicholas Nethercote
6ee8551d7d
Bug 512824 - TM: gcc complains about invalid aliasing in LIR.h. r=gal.
2009-09-09 09:18:41 +10:00
Andreas Gal
c14bc4a8fc
Use align attribute since GCC seems to ignore the pack pragma on ARM (515248, r=brendan).
2009-09-08 14:55:30 -07:00
Brendan Eich
551a7b73b6
Use pragma pack for static strings (trying to clear orange; r=gal).
2009-09-08 13:18:59 -07:00
Brendan Eich
809ce29270
Cope with null tvr string refs (515000 followup, r=self).
2009-09-07 21:08:31 -07:00
Nicholas Nethercote
65a88a5c2c
Bug 514625 - nanojit: kill AR::highwatermark. r=edwsmith.
2009-09-08 09:11:53 +10:00
Brendan Eich
7a412f40b3
JSTempValueRooter JSTVU_SINGLE over-constrains GC-thing against static allocation (515000, r=gal).
2009-09-07 00:35:27 -07:00
Jeff Walden
949fac944e
Missed a test updating for bug 514603, thanks to bc for pointing it out
2009-09-06 21:41:40 -07:00
Brendan Eich
aea922b775
Zim got the bug, man! (514971, r=gal).
2009-09-06 18:15:16 -07:00
Brendan Eich
115e07166f
I bust myself back to private, like Sgt. Zim in 'Starship Troopers', in order to fight bugs hand-to-hand with no claim to higher rank (514971, r=gal).
2009-09-06 17:59:17 -07:00
Jeff Walden
036565d094
Update tests that now (correctly) fail in response to the fixing of bug 514603 (also, brendan-conflicts on a holiday Sunday afternoon, grumble grumble mutter mutter ;-) )
2009-09-06 12:27:28 -07:00
Brendan Eich
9ee946f5e6
Fix script JSUpvarsArray allocation to avoid misaligning other members (514645, r=igor).
2009-09-06 12:05:51 -07:00
Brendan Eich
725051d58f
Fix bogus assertion from bug 510644 (514943, r=self).
2009-09-06 11:56:26 -07:00
Brendan Eich
efeb782ab4
Followup to fix assertion that walks into strong assertions in fix for bug 514819.
2009-09-05 23:41:52 -07:00
Brendan Eich
098462c563
Check (without regressing hot paths) where needed to avoid treating static JSStrings like gc-things in the heap (514819, r=gal).
2009-09-05 21:48:30 -07:00
gwagner@mozilla.com
baca785d37
Prefer unit strings over integer strings for [0..9] in NumberToString (514884, r=gal).
2009-09-05 20:24:42 -07:00
Igor Bukanov
6bfe4771cc
bug 513190 - avoiding jsint tagging of the private slot data. r=jorendorff
2009-09-05 19:59:11 +04:00
Jesse Ruderman
6b6f0e013c
Add trace-test for bug 465902
2009-09-04 22:50:49 -07:00
Brendan Eich
2b439c7885
Use class statics for the unit and int string tables (513530 followup, r=gwagner).
2009-09-04 18:04:14 -07:00
David Anderson
0650a2788b
LIR sanity checker from tamarin-redux (bug 514503, r=gal,edwsmith).
2009-09-04 17:56:22 -07:00
Brendan Eich
b347b52323
Minimal fix for latent js_InferFlags bug where TR::snapshot calls js_InferFlags on arbitrary ops (514790, r=gal).
2009-09-04 17:47:23 -07:00
Luke Wagner
dbc9bb4660
Moved tests in js/src and js/src/correct to trace-tests (r=jorendorff)
...
--HG--
rename : js/src/call.js => js/src/trace-test/tests/basic/call2.js
rename : js/src/correct/check-3d-morph.js => js/src/trace-test/tests/sunspider/check-3d-morph.js
rename : js/src/correct/check-3d-raytrace.js => js/src/trace-test/tests/sunspider/check-3d-raytrace.js
rename : js/src/correct/check-access-binary-trees.js => js/src/trace-test/tests/sunspider/check-access-binary-trees.js
rename : js/src/correct/check-access-fannkuch.js => js/src/trace-test/tests/sunspider/check-access-fannkuch.js
rename : js/src/correct/check-access-nbody.js => js/src/trace-test/tests/sunspider/check-access-nbody.js
rename : js/src/correct/check-access-nsieve.js => js/src/trace-test/tests/sunspider/check-access-nsieve.js
rename : js/src/correct/check-bitops-3bit-bits-in-byte.js => js/src/trace-test/tests/sunspider/check-bitops-3bit-bits-in-byte.js
rename : js/src/correct/check-bitops-bits-in-byte.js => js/src/trace-test/tests/sunspider/check-bitops-bits-in-byte.js
rename : js/src/correct/check-bitops-bitwise-and.js => js/src/trace-test/tests/sunspider/check-bitops-bitwise-and.js
rename : js/src/correct/check-bitops-nsieve-bits.js => js/src/trace-test/tests/sunspider/check-bitops-nsieve-bits.js
rename : js/src/correct/check-controlflow-recursive.js => js/src/trace-test/tests/sunspider/check-controlflow-recursive.js
rename : js/src/correct/check-date-format-tofte.js => js/src/trace-test/tests/sunspider/check-date-format-tofte.js
rename : js/src/correct/check-date-format-xparb.js => js/src/trace-test/tests/sunspider/check-date-format-xparb.js
rename : js/src/correct/check-mont.js => js/src/trace-test/tests/sunspider/check-mont.js
2009-09-04 16:40:45 -07:00
Andreas Gal
27381a9ab1
Reset nativeVp only after the native call returns (513981, r=mrbkap).
2009-09-04 17:00:08 -07:00
Luke Wagner
28a6837fd4
Build fix for bug 513530, trailing enum comma.
2009-09-04 16:52:20 -07:00
Gregor Wagner
0becd3863d
dvander missed part of the patch (bug 513530).
2009-09-04 16:43:28 -07:00
David Anderson
e6a431e6ae
Merge.
2009-09-04 16:29:40 -07:00
Gregor Wagner
2e1104b40f
Cache result of Number2String (bug 513530, r=brendan).
2009-09-04 16:28:30 -07:00
Brendan Eich
fd61e1b61a
Fix imacro vs. script code disassembly/decompilation confusion (510644, r=jorendorff).
2009-09-04 16:27:17 -07:00
Gregor Wagner
cf62469ed2
Fast path for js_StringToInt32 if string length is 1 (bug 514267, r=brendan).
2009-09-04 16:26:08 -07:00
Jeff Walden
bb3a9524fa
Bug 514603 - ES5: (function(){}).propertyIsEnumerable("prototype") should be false, not true. r=brendan
2009-09-04 02:16:05 -07:00
David Anderson
6e929c1385
Fixed codeAlloc misuse in x64 backend (bug 513842 followup, r=gal).
2009-09-04 14:50:16 -07:00
Luke Wagner
6bfe9f9329
Bug 460904 - rename/tweak JSTraceableFunction (take 2)
2009-09-04 13:44:31 -07:00
Luke Wagner
3087376a4d
Backed out changeset 94da2f68afdb
2009-09-04 11:35:52 -07:00
Luke Wagner
52d822b6d2
Bug 460904 - rename/tweak JSTraceableFunction (r=jorendorff)
2009-09-03 11:57:14 -07:00
Nicholas Nethercote
02a5869681
Bug 512646 - nanojit: remove RegAlloc::{count,checkCount(),countFree()}. r=edwsmith.
2009-09-04 15:58:10 +10:00
David Anderson
19e6272d43
Implemented side exits in the x64 backend, and merged in tamarin-redux changes (bug 514537, r=gal).
2009-09-03 19:12:47 -07:00
Nicholas Nethercote
ea4545c24a
Follow-up to bug 513843. r=gal (via IRC).
2009-09-04 11:07:36 +10:00
Andreas Gal
0564bbf1e0
Compilation fix for NativeARM.cpp (LIR_call was renamed to LIR_icall, r=dvander).
2009-09-03 17:54:48 -07:00
Nicholas Nethercote
a27675d43a
Bug 513831 - nanojit: some regalloc comments, etc. r=edwsmith.
2009-09-04 09:18:01 +10:00
David Mandelin
39b0d1f96d
Bug 510498: try 'python -u' to avoid tinderbox timeouts, r=jorendorff
2009-09-03 16:14:37 -07:00
David Mandelin
a69a6f44b9
Bug 514101: show running trace-test when interrupted by Ctrl+C, r=dvander
...
--HG--
extra : rebase_source : 3f85a036f9c4e732d247b8210d47845c2b141771
2009-09-03 16:10:15 -07:00
Andreas Gal
6771d193dd
Introduce a register fence instruction to force all registers to be spilled (514374, r=edwsmith,rreitmai).
2009-09-03 14:43:30 -07:00
Brendan Eich
cce4dce512
Join lambdas assigned or initialized as methods to the compiler-created function object if we can, with a read barrier to clone on method value extractions other than call expressions (471214, r=jorendorff).
2009-09-03 14:41:19 -07:00
Jason Orendorff
13c0c5eff8
Bug 513115 - EMCA5: test failures in ecma_5/Date/15.9.4.2.js. r=dmandelin.
...
--HG--
extra : rebase_source : 9aada8547a89f7711780b3b34b45c6b573bdeb82
2009-09-03 15:52:03 -05:00
Jeff Walden
5670ca5621
Bug 514309 - Object.prototype.hasOwnProperty mishandles non-primitive property name. r=brendan
...
--HG--
extra : rebase_source : 56a59bf5d25f0c7303cac96b90fb4bababdf8e53
2009-09-02 21:13:51 -07:00
Andreas Gal
026f651d69
Incorrect register hint for LIR_param for 386 backend (514344, r=njn).
2009-09-02 21:09:34 -07:00
Nicholas Nethercote
0abd6c54da
Bug 511051 - TM/nanojit: use NULL as the condition for unconditional guards, again. r=gal.
2009-09-03 13:06:31 +10:00
Nicholas Nethercote
5adc17c6a5
Bug 514110 - nanojit: avoid getresv() because it has a redundant test. r=gal.
2009-09-03 09:36:51 +10:00
Jason Orendorff
d41212b7a6
Bug 514222 - js_GetMutableScope gives the scope a unique shape. r=brendan.
2009-09-02 17:58:25 -05:00
Luke Wagner
5c14309cd1
Bug 511750 - factor template utilities into js::tl (r=brendan)
...
--HG--
extra : rebase_source : a5a396811268e71af8e56c66dab491f3081bc20a
2009-09-01 18:46:19 -07:00
Brendan Eich
932d989110
Fix net vs. gross botches from patch for 489899 (514112, r=gal).
2009-09-01 22:54:02 -07:00
Nicholas Nethercote
320a2cfb64
Backed out changeset 48928150aa27 due to Tinderbox breakage.
2009-09-02 12:14:09 +10:00
Nicholas Nethercote
85c5abe0a7
Bug 513865 - nanojit: make LirReader::read() clearer and faster. r=gal.
2009-09-02 10:20:28 +10:00
Luke Wagner
cdd6b54ff9
Fix bustage: switch uintN to size_t
2009-09-01 16:41:32 -07:00
Andreas Gal
f6ce0dc81e
Register allocate loop-spanning references (513843, r=rreitmai).
2009-09-01 16:30:51 -07:00
Luke Wagner
17f41ec26d
Bug 460904 - refactor jsstr regexp ops (r=waldo)
2009-08-12 13:01:34 -07:00
Andreas Gal
2b1f1a8bf9
JS_ISSPACE has wrong space character check (513701, r=brendan).
2009-09-01 15:45:11 -07:00
Andreas Gal
447939882c
Load state after spilling or we might clobber a callee-saved register (513878, r=dvander).
2009-09-01 15:30:19 -07:00
Andreas Gal
fadffac705
Make branchStateMap, patches, and labels fields of the Assembler (513884, r=rreitmai).
2009-09-01 15:27:34 -07:00
David Anderson
f003096144
Fixed trace-test.py -x option (bug 514022, r=dmandelin).
2009-09-01 15:06:02 -07:00
David Anderson
21466cd521
Added LIR_float to distinguish NULL from 0.0 on x64 (bug 513838, r=gal,rreitmai).
2009-09-01 14:26:24 -07:00
Nicholas Nethercote
84f6367d69
Bug 512614 - nanojit: remove FST1..FST7 from Nativei386.cpp. r=edwsmith.
2009-09-01 16:55:15 +10:00
Nicholas Nethercote
7f3df7efb0
Bug 512423 - nanojit: inline small RegAlloc methods. r=edwsmith.
2009-09-01 16:03:01 +10:00
David Anderson
66b35f24b6
Use newer codeAlloc() in x64 backend (bug 513842, r=gal).
2009-08-31 19:57:32 -07:00
Nicholas Nethercote
e409ab2bb3
Bug 512596 - TM: improve TMFLAGS=help message. r=jseward.
2009-09-01 10:08:46 +10:00
Andreas Gal
42daf230a5
Compilation fix for bug 513787.
2009-08-31 17:02:16 -07:00
Andreas Gal
292f7e316d
Don't restore FP twice when exiting a fragment (513787, r=rreitmai).
2009-08-31 16:35:50 -07:00
David Anderson
a33078ac37
Merge Assembler::disp() changes from tamarin-redux, always use 4-byte granularity (bug 513796, r=gal).
2009-08-31 16:14:22 -07:00
David Anderson
935ae0427d
Fixed all ARGSIZE_LO usages to be ARGSIZE_P or ARGSIZE_I (bug 513790, r=jorendorff).
2009-08-31 16:06:24 -07:00
Andreas Gal
2b192c3c31
Use asm_ret to emit code for LIR_ret and LIR_fret (513771, r=dvander).
2009-08-31 15:01:41 -07:00
David Mandelin
dd195bf785
Bug 513476: update README for trace-tests.py to reflect usage of tree-standard python 2.5, no_r=me
2009-08-31 12:11:00 -07:00
David Mandelin
41b0b5b229
Bug 513131: convenient retest feature for trace-tests.py, r=jorendorff
2009-08-31 12:05:54 -07:00
David Mandelin
8c9d1bb5a7
Bug 513118: improved CLI selection of single tests for trace-test.py, r=jorendorff
2009-08-31 11:57:32 -07:00
Nicholas Nethercote
686dcb25be
Bug 512610 - nanojit: some register allocation clean-ups. r=edwsmith.
2009-08-31 15:33:46 +10:00
Nicholas Nethercote
e7fbdc867c
Bug 512398 - nanojit: kill RegAlloc::used. r=edwsmith.
2009-08-31 15:02:08 +10:00
Leon Sha
1f7b2525ab
Bug 513208 - Tracemonkey build failed on solairs at jsnum.h. r=gal. Remove the space after copysign
2009-08-31 12:05:27 +08:00
Leon Sha<leon.sha@sun.com>
6c708d7ac4
Bug 513211 - [tracemonkey]trace-test testBug504520Harder.js failed on sparc platform. r=gal.
2009-08-31 12:12:38 +08:00
Leon Sha<leon.sha@sun.com>
df159dfdb0
Bug 512433 - tracemonkey build failed at NativeSparc.cpp. r=gal.
2009-08-31 12:04:25 +08:00
Leon Sha
b432f885db
Bug 513208 - Tracemonkey build failed on solairs at jsnum.h. r=gal
2009-08-31 11:21:51 +08:00
Nicholas Nethercote
6c0c4d9616
Bug 512652 - TM: refactor Assembler::evict(). r=edwsmith.
2009-08-31 11:48:21 +10:00
Igor Bukanov
932b904a7a
bug 511425 - followup to fix bogus assert
2009-08-30 22:07:19 +04:00
Jason Orendorff
235e72bc0c
Bug 513429 - Say "int" and "quad" in debug output for those LIR opcodes. r=edwsmith.
...
--HG--
extra : rebase_source : 0d9b017c0f4dbe7cd7c0f3dad27a3bee80eaa276
2009-08-30 11:36:48 -04:00
Andreas Gal
64b13a5ec6
Remove useless FASTCALL declarations and make hashcode and equals less branchy (513539, r=dvander).
2009-08-30 00:11:12 -07:00
Andreas Gal
84094cb9d0
Remove remainder of now unused LIR_loop support code (513535, r=dvander).
2009-08-29 23:26:54 -07:00
Andreas Gal
4394dfd752
Don't allocate in Queue constructor by default (513497, r=shaver).
2009-08-29 18:57:57 -07:00
Andreas Gal
c85b53a42a
Backout bug 512617.
2009-08-29 18:46:27 -07:00
Andreas Gal
25efe9f46a
Future proofing nit for bug 513379.
2009-08-29 14:19:44 -07:00
Andreas Gal
13d0507fa2
More fallout from bug 512617 bonus patch.
2009-08-29 13:33:10 -07:00
Andreas Gal
8b20919625
Restore 'CALLEE' tracable native type, quickstubs need it (compilation fix for bug 512617).
2009-08-29 13:05:16 -07:00
Andreas Gal
64328a8e94
Consolidate object creation on trace (512617, r=jorendorff).
2009-08-29 12:36:00 -07:00
Andreas Gal
6424c04026
Inline js_DoubleToInteger (513436, r=sayrer).
2009-08-29 02:36:45 -07:00
Andreas Gal
7a4da2ecd3
Shortcut strncmp in string to number conversion path (513434, r=sayrer).
2009-08-29 02:28:00 -07:00
Andreas Gal
3ffdadab9b
Fast path for is/is not space character classification (513379, r=sayrer).
2009-08-29 02:17:10 -07:00
Andreas Gal
7d3f588878
Inline GetUnitString fast path (513373, r=sayrer).
2009-08-28 16:30:41 -07:00
Andreas Gal
60fa2078b6
js_GetExistingStringAtom should check for unit strings (512996, r=jorendorff).
2009-08-28 15:53:55 -07:00
Andreas Gal
706e1e3bd3
Remove unused hasLoop flag (513263, r=graydon).
2009-08-28 14:38:09 -07:00
Andreas Gal
14813a11f4
Remove some TM-only fields from nanojit (513187, r=dvander).
2009-08-28 14:36:37 -07:00
Igor Bukanov
b919139e8d
bug 511425 - removal of JSObjectOps.(get|set)RequiredSlot. r=brendan
2009-08-28 09:53:26 +04:00
Nicholas Nethercote
3c773f1b39
Bug 512640 follow-up: remove a stray debugging printf.
2009-08-28 15:23:14 +10:00
Nicholas Nethercote
2bb3987d6f
Bug 512640 - nanojit: refactor Assembler::findRegFor(). r=edwsmith.
2009-08-28 14:59:52 +10:00
Andreas Gal
317b5f2e3a
Remove explicitSavedRegs and loop hacks from nanojit (513139, r=dvander).
2009-08-27 18:46:45 -07:00
Graydon Hoare
72ae192dab
Bug 496816 - Force x87 FPU to 64-bit mode on any x86-gcc platform, r=brendan.
2009-08-27 11:34:13 -07:00
Graydon Hoare
5b06cc0665
Bug 510602 - Massage LIR opcodes to merge state, r=dvander.
2009-08-27 17:52:46 -07:00
Graydon Hoare
fa12dc4a05
Bug 513049 - TM: Add env var to force-disable SSE, r=gal.
2009-08-27 17:16:13 -07:00
Graydon Hoare
a4b6a75ae6
Bug 513063 - Followup to fix windows breakage, r=jorendorff.
2009-08-27 15:54:40 -07:00
David Mandelin
03bdb1b7bf
No bug, trace test from bug 511241, no_r=me
2009-08-27 15:52:04 -07:00
David Mandelin
db7fb65c2f
Bug 505591 followup: add trace tests, no_r=me
2009-08-27 15:48:56 -07:00
David Mandelin
368b225d78
Bug 505591: trace JSOP_NAME for returned closures, r=dvander
...
--HG--
extra : rebase_source : 496a99feeb0fee876cd72b24e1e753d9b41ea51f
2009-08-27 15:40:37 -07:00
Andreas Gal
8986edfd26
Build fix for 513063.
2009-08-27 15:34:20 -07:00
David Mandelin
41734fc7d9
No bug, test case filed in bug 513038, no_r=me
2009-08-27 15:17:03 -07:00
David Mandelin
2f814a4418
Bug 512182: run some trace tests with TMFLAGS=full
2009-08-27 15:10:59 -07:00
David Mandelin
a086bb3ab9
Bug 510642: traverse scope chain correctly for traced JSOP_BINDNAME, r=jimb
2009-08-27 15:07:46 -07:00
Robert Sayre
2d246a4cb2
Merge
2009-08-27 14:17:04 -07:00
Andreas Gal
d4c110a6b1
Avoid bit twiddling on double values (513063, r=brendan).
2009-08-27 13:59:19 -07:00
Luke Wagner
99a4b18694
Added #ifdef JS_TRACER. Added JS_REQUIRES_STACK.
2009-08-27 13:52:29 -07:00
David Anderson
67d863503e
Merged Assembler.h!nRegisterAllocFromSet changes from tamarin-redux (bug 513083, r=gal).
2009-08-27 13:50:30 -07:00
David Anderson
c04fa74537
Merged Assembler.h!nPatchBranch changes from tamarin-redux (bug 513079, r=gal).
2009-08-27 13:47:39 -07:00
David Anderson
83d28f8a00
Merged LIR_alloc changes from tamarin-redux (bug 513069, r=gal).
2009-08-27 13:22:30 -07:00
Robert Sayre
efd90f24a0
Merge mozilla-central to tracemonkey.
2009-08-27 13:20:24 -07:00
Luke Wagner
a5b9103165
Bug 419743 - Add JSOP_CONCATN (r=waldo)
2009-08-18 15:43:17 -07:00
David Anderson
a43dd7468a
Fixed Containers.h!murmurhash not compiling on x64 (bug 512797, r=graydon).
2009-08-27 12:48:52 -07:00
Jason Orendorff
df3e3a355d
Bug 510709 - Assertion failure: PN_TYPE(pn) == TOK_FUNCTION, at ../jsparse.cpp. r=brendan.
2009-08-27 12:28:28 -07:00
Blake Kaplan
c10e9bb5ef
Bug 512897 - Innerize the scope chain to protect from native callers passing an outer object. r=brendan
2009-08-27 11:43:54 -07:00
Blake Kaplan
6060f8e476
No bug - Fix warning when tracing is not on. r=jorendorff
...
--HG--
extra : rebase_source : f1733190a19f19d37665eb8d3db2427fed69b5ee
2009-08-25 14:18:12 -07:00
Bruce Hoult
f34bc60b2a
Bug 430930 - Extend Date.parse to cover ISO 8601 formats, r=graydon.
2009-08-26 18:13:48 -07:00
David Anderson
32cdaad163
Merged 64-bit arithmetic ops from tamarin-redux (bug 512836, r=gal).
2009-08-26 17:14:18 -07:00
David Anderson
83fc2d7e10
Merge 64-bit comparison opcodes from tamarin-redux (bug 512826, r=gal).
2009-08-26 16:30:23 -07:00
Jason Orendorff
dafc9b5d2a
Bug 508685 - Remove last parameter of defineProperty op. r=brendan.
2009-08-26 14:28:36 -07:00
Robert Sayre
2b65c06912
Merge mozilla-central to tracemonkey.
2009-08-26 13:09:40 -07:00