Commit Graph

3645 Commits

Author SHA1 Message Date
Aristid Breitkreuz
661d3c51b2 Bug 461163 - No public API for OBJ_GET_PROPERTY or the JavaScript [] operator (and similar functions). r=brendan. 2008-10-24 12:09:09 -05:00
Andreas Gal
9701440e6d Merge. 2008-10-23 14:49:25 -07:00
Andreas Gal
c867e60dfc Merge. 2008-10-23 14:47:00 -07:00
Jason Orendorff
01acd787a0 Eliminate warning about ignored visibility attribute on js_CloseIterator when compiling jsbuiltins.cpp. No bug#. r=brendan. 2008-10-23 16:38:58 -05:00
Jason Orendorff
7336afcbbd Fix blatant bugs in jsbuiltins.h. No bug#. r=dvander. 2008-10-23 15:39:35 -05:00
Brendan Eich
1772bc4d6f Bug 461307 - Crash [@ QuoteString] with for(/x/[''] in []) (r=mrbkap). 2008-10-23 11:37:07 -07:00
Andreas Gal
23f283c78e Merge. 2008-10-22 22:30:37 -07:00
Andreas Gal
19ed8b2e9c Only track and look up LOOP_EXIT side exits in the tree info (r=danderson). 2008-10-22 22:29:51 -07:00
Rob Arnold
6e2f659fac Fix memory leak in LInsHashSet::grow - bug 461069 r=danderson 2008-10-22 23:07:37 -04:00
Andreas Gal
57cf783a3b Make sure we set remaining fslots to void in FastNewDate (459628, r=brendan). 2008-10-22 19:19:07 -07:00
Andreas Gal
e68f86bd08 Merge. 2008-10-22 19:09:03 -07:00
Andreas Gal
5b7d8ddbe0 Backed out changeset 82f5fed6d91a (Linux GCC doesn't seem to like clobbering ebx in inline assembly). 2008-10-22 19:08:28 -07:00
Andreas Gal
ba66d9d48c Added test-case for 459630 (WFM) to make sure we don't regress it down the road. 2008-10-22 19:06:18 -07:00
Andreas Gal
04b27d4cf3 Avoid pusha/popa inside assembly (icc crashes) when checking for SSE2 using cpuid (461280, r=danderson). 2008-10-22 18:55:54 -07:00
Andreas Gal
ffe407c883 Backed out changeset 91277d409f44 (accidentally also touched Makefile.ref and config/Darwin.mk) 2008-10-22 18:46:41 -07:00
Andreas Gal
3b66906c5d Enable JIT by default for content (r=danderson). 2008-10-22 18:21:51 -07:00
Andreas Gal
5cc94e1d59 Re-use loop exit side exit if we already have one for that PC location and the same type map (461076, r=danderson). 2008-10-22 16:27:25 -07:00
Andreas Gal
e2a6acb46a Use LIR_loop for loop edge to avoid going into a side exit handler at every loop edge (461231, r=danderson). 2008-10-22 16:00:08 -07:00
Brendan Eich
e0a0cfe21f Bug 461235 - "Assertion failure: pos == GET_UINT16(pc)" decompiling function with array comprehension (r=mrbkap). 2008-10-22 15:47:52 -07:00
Jim Blandy
48c4b8be4b Bug 461192: Rename fd_copysign to js_copysign. r=jorendorff
Since we're no longer using fdlibm, it doesn't make sense to use
fd_copysign as the name of SpiderMonkey's appropriately chosen version
of copysign.  js_copysign seems more appropriate.
2008-10-22 14:52:14 -07:00
Jim Blandy
aff447bc08 Bug 461192: Drop fd_ prefix from math functions. r=jorendorff
The Mozilla tree used to optionally use its own math library, fdlibm.
For each standard math function FOO, fdlibm defined its own version
named fd_FOO.  The SpiderMonkey sources called the fd_FOO functions
directly.  In configurations where fdlibm was not used, jslibmath.h
#defined fd_FOO to expand to FOO, resulting in references to the
standard math library's functions.

Now that fdlibm is not used, even optionally, those fd_ prefixes are
unnecessary.  However, some code is still needed to choose the right
copysign function, so jslibmath.h still has a reason to exist.
2008-10-22 14:52:14 -07:00
Jim Blandy
cf8c925b8f Bug 461192: Remove references to JS_USE_FDLIBM_MATH from js/src/jsmath.cpp. r=jorendorff
The Mozilla tree no longer uses fdlibm, so these adaptor macros are no
longer necessary.
2008-10-22 14:52:14 -07:00
Graydon Hoare
95bed8b2ed Bug 461205 - make callee-save LIR_param use optional. r=gal,edwsmith 2008-10-22 14:32:37 -07:00
Blake Kaplan
2d412e5217 Bug 453310 - Reparameterize GetNewOrUsed and move some work around. r+sr=brendan 2008-10-22 13:19:08 -07:00
Blake Kaplan
5adf556d30 Bug 396851 - Check to see if we're UniversalXPConnect-enabled to allow privileged web pages to unwrap XOWs. r+sr=bzbarsky 2008-10-22 13:15:22 -07:00
Brendan Eich
5c85747b5c Bug 441479 - for-in loops should use one backward branch (with downward goto on entry; r=mrbkap). 2008-10-22 12:47:51 -07:00
Jason Orendorff
88e0a669e0 Bug 461110 - Extra parens in decompilation of "a += b = 3". r=brendan. 2008-10-22 14:26:49 -05:00
Jason Orendorff
da34f1f2e5 Bug 461108 - Decompiler emits extra parens around assignment in "for(;;)" condition. r=brendan. 2008-10-22 14:06:16 -05:00
Vladimir Vukicevic
0a60bbe04b [arm] fix build after SideExit sharing patch 2008-10-22 11:11:51 -07:00
Vladimir Vukicevic
efb82ea705 [arm] correctly have chk version of LD underrunProtect 2008-10-22 11:02:24 -07:00
Vladimir Vukicevic
d2f0736eb6 [arm] misc codegen fix 2008-10-22 11:02:24 -07:00
Vladimir Vukicevic
57b6c8d721 [arm] Use real B/BX instead of BL for side exit jumps; no need to update lr 2008-10-22 11:02:24 -07:00
Vladimir Vukicevic
9ae67df93c [arm] Get rid of CALL, just use BL directly 2008-10-22 11:02:24 -07:00
Vladimir Vukicevic
844190ed5d [arm] Get correct value in return reg after fragment exit 2008-10-22 11:02:24 -07:00
Vladimir Vukicevic
eb73398c11 [arm] Enable VFP 2008-10-22 11:02:24 -07:00
Peter Van der Beken
0261cd68b1 Fix for bug 459828 (Remove nsIDOMCustomEvent.idl). r=smaug, sr=sicking. 2008-10-22 15:35:34 +02:00
Peter Van der Beken
601505a0e8 Fix for bug 459830 (Remove unused quickstubs). r=jorendorff. 2008-10-22 15:08:56 +02:00
Peter Van der Beken
ddd2023646 Fix for bug 460940 (Dependency problem when removing an interface from dom_quickstubs.qsconf). r=ted. 2008-10-22 15:07:20 +02:00
Bob Clary
96e591f9ba bug 461044 - Sisyphus - add fennec support 2008-10-22 04:50:22 -07:00
Andreas Gal
74418814c5 Merge. 2008-10-21 17:52:37 -07:00
Andreas Gal
b14d526b66 Merge. 2008-10-21 17:50:52 -07:00
Andreas Gal
ec7efc925c Remove code to unlink trees to reduce the size of GuardRecord. Allow GuardRecords to share one common SideExit structure. The VM places both explicitly into the LIR (460538, r=danderson). 2008-10-21 17:50:32 -07:00
Jason Orendorff
68a5dcca96 Bug 460157 - Yet more macros for defining builtins. r=brendan 2008-10-21 17:58:06 -05:00
Blake Kaplan
e36fb599bc Bug 460886 - Substring needs to validate its arguments. r=brendan
--HG--
extra : rebase_source : 24d0131da47e8fb30cb420330bdb92189436aea7
2008-10-21 15:21:23 -07:00
Jason Orendorff
e1877796ba Bug 460501 - Round-trip change due to "&&" constant-folding leaving extra parens. r=brendan. 2008-10-21 13:35:22 -05:00
Jason Orendorff
121e528b9f Bug 460117 - TM: Inconsistent results from hasOwnProperty with JIT enabled. r=brendan. 2008-10-21 13:19:22 -05:00
Peter Van der Beken
993024875b Backed out changeset 4bc3dc1f6e11 2008-10-21 11:43:01 +02:00
Peter Van der Beken
3ba81f6270 Fix for bug 459828 (Remove nsIDOMCustomEvent.idl). r=smaug, sr=sicking. 2008-10-21 11:10:47 +02:00
Vladimir Vukicevic
89d7a76a6b [arm] Use correct register for return value; also don't bother saving full set of callee-saved registers using PUSH, they'll be saved individually 2008-10-20 17:20:05 -07:00
Vladimir Vukicevic
af0b642859 More ARM fixes; initialize free reg list correctly initially. Also use LastReg+1 instead of NJ_MAX_REGISTERS in RegAlloc -- LastReg+1 is what's used in the .h file, to avoid any mismatches. 2008-10-20 15:31:28 -07:00