Commit Graph

152 Commits

Author SHA1 Message Date
Andreas Gal
00a608f948 Backed out changeset 972c44aa9d1f (bug 452598). 2009-04-04 10:14:52 -07:00
Brendan Eich
4af509178e upvar2, aka the big one (452598, r=mrbkap). 2009-04-04 10:05:49 +01:00
Jim Blandy
daab0107e2 Bug 479258: Include "jsstdint.h" for <stdint.h> type use within SpiderMonkey. r=brendan 2009-03-18 11:38:16 -07:00
Brendan Eich
6ab446d6fc Bug 480657 - TM: Add an API to define traceable constructors (r=gal, jorendorff). 2009-03-03 22:53:27 -08:00
Andreas Gal
d3d646cb66 Backed out bug 480657. Massive failures across all platforms. 2009-02-28 23:40:04 -08:00
Andreas Gal
d22142b597 Add an API to define traceable constructors (480657, r=brendan). 2009-02-28 18:18:42 -08:00
Igor Bukanov
6c264808b3 bug 477706 - fixing most VC 2005 warnings. r=gal,mrbkap 2009-02-26 09:49:39 +01:00
Jim Blandy
918bbe5eae Bug 391488: Eliminate PTRDIFF macro; delete jssttddef.h. r=jimb
Delete jsstddef.h, since its only remaining purpose is to make certain
Win16-specific definitions; we don't support Win16 any more.  In
particular, we can just subtract pointers now, so the PTRDIFF macro is
unnecessary noise.

Most places get stddef.h via jstypes.h or some other header, so we can
just delete #inclusions of jstddef.h.  The exception is jskwgen.h, so
there we explicitly include <stddef.h> instead.
2009-02-18 09:14:51 -08:00
Jason Orendorff
579f3a7501 Bug 473075 - TM: HasProperty can call into exotic lookupProperty hooks. r=brendan. 2009-02-05 19:49:54 -06:00
Jeff Walden
e6b7aa6610 Bug 463243 - Assert correct type in JSVAL_TO_* (and vice versa) macros to fail fast when type errors happen. r=brendan 2009-02-03 13:56:25 -08:00
Jason Orendorff
0014e51744 Bug 475761 - TM: js_Any_GetProp and friends can reenter. r=brendan. Note that this patch alone does not fix the bug. The rest of the fix comes in bug 462027. 2009-01-29 00:13:03 -06:00
Jason Orendorff
d04eeea97f Bug 468782 - TM: js_FastValueToIterator and js_FastCallIteratorNext can reenter (relanding with a bug fix). r=brendan. Note that this changeset alone does not fix the bug; an upcoming patch in bug 462027 completes the fix. 2009-01-28 09:24:35 -06:00
Andreas Gal
4674d93545 Backed out changeset ece63b96379b 2009-01-27 00:10:38 -08:00
Jason Orendorff
120e11412c Bug 468782 - TM: js_FastValueToIterator and js_FastCallIteratorNext can reenter. r=brendan. Note that this changeset alone does not fix the bug; an upcoming patch in bug 462027 completes the fix. 2009-01-27 00:19:58 -06:00
Andreas Gal
4d4cd06540 Backout bug 468782. Confirmed to leak. 2009-01-25 16:38:31 -08:00
Jason Orendorff
2621ba59f0 Bug 468782 - TM: js_FastValueToIterator and js_FastCallIteratorNext can reenter. r=brendan. Note that this changeset alone does not fix the bug; an upcoming patch in bug 462027 completes the fix. 2009-01-22 16:39:26 -06:00
Andreas Gal
ffe77ec721 Backed out changeset 17663da1b840 (bug 462027). 2009-01-23 15:14:46 -08:00
Jason Orendorff
1166633c6f Bug 468782 - TM: js_FastValueToIterator and js_FastCallIteratorNext can reenter. r=brendan. Note that this changeset alone does not fix the bug; an upcoming patch in bug 462027 completes the fix. 2009-01-22 16:39:26 -06:00
Robert Sayre
2769ba709d Bug 466781 - TM: inconsistent (0 in d) where d is a String. r=brendan 2009-01-09 00:59:24 -05:00
Andreas Gal
048f3c87df Store frame state information in the code cache and merely put a pointer to it onto the native call stack (470375, r=danderson). 2009-01-01 17:55:43 -08:00
Brendan Eich
c1acd87978 Bug 465460 - TM: valueOf ignored on third iteration of loop (r=gal). 2008-12-16 19:03:42 -08:00
Robert Sayre
cf2922c1f4 Backed out changeset f682453c06d0. Failing scriptaculous unit tests, doesn't build on windows or mac ppc. 2008-12-11 20:43:32 -08:00
Brendan Eich
66a6ff0ab1 Bug 465460 - TM: valueOf ignored on third iteration of loop (r=gal). 2008-12-11 17:50:56 -08:00
Brendan Eich
56486a5c5d Merge. 2008-11-17 16:29:40 -08:00
Brendan Eich
6051b26c14 No else after return if you please. 2008-11-16 23:16:30 -08:00
Andreas Gal
79125707fa Inline int32 to id fast path into the builtins (465268, r=danderson). 2008-11-16 22:20:34 -08:00
Andreas Gal
81f22d7d34 Fix tracing of JSOP_IN (465241, r=danderson). 2008-11-16 22:13:13 -08:00
Andreas Gal
e54d30fb22 Can't bypass ECMADoubleToInt32 in js_StringToInt32 (465239, r=danderson). 2008-11-16 20:43:13 -08:00
Jeff Walden
5f0e0f46f7 Bug 462060 - TM: JIT: Initializing an array to a constant in a loop doesn't work for some constant values. r=brendan 2008-11-15 16:42:35 -08:00
Andreas Gal
7d0b9bd3b2 Cleanup GuardRecord, SideExit, and InterpStruct and extract VM-dependant fields (463313, r=danderson). 2008-11-07 15:23:43 -08:00
Brendan Eich
793bd032de Bug 462103 - TM: We don't trace some variants of string + other type (gal+brendan red-headed stepchild). 2008-10-29 00:14:30 -07:00
Andreas Gal
c5f4502746 Merge. 2008-10-21 17:50:52 -07:00
Andreas Gal
25e29ecdf1 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
4e8e5ddf9c Bug 460495 - TM: builtins js_Any_getelem, js_Any_setelem should take int32. r=gal. 2008-10-20 14:20:22 -05:00
Andreas Gal
561fe2fb28 Properly recover from a nested side exit with more than a single level of nesting (459539, r=danderson). 2008-10-12 15:39:32 -07:00
Jason Orendorff
ab4d0e53a7 Bug 459294 - TM: move soft float builtins next to SoftFloatFilter. r=andreas. 2008-10-10 11:31:23 -05:00
Jason Orendorff
fccf374129 Bug 458735 - Improve internal API for traceable natives (r=brendan, nanojit r=edwsmith) 2008-10-08 17:08:33 -05:00
Brendan Eich
24a9ca408b Bug 457920 - regexp-dna.js and generality want JSOP_GETELEM(dense array, "0") (r=mrbkap/gal). 2008-10-06 22:30:36 -07:00
Boris Zbarsky
f65db6f706 Bug 456165. Trace |new Date()|. r=brendan 2008-10-06 20:28:22 -04:00
Graydon Hoare
ae85565984 Bug 458431 - expression-ordering fix for traced Math.max(0,-0), r=mrbkap 2008-10-03 14:07:33 -07:00
Boris Zbarsky
cd852419be Bug 456165 part 2. Trace Date.now. r=gal 2008-09-26 14:37:50 -04:00
Andreas Gal
df4e66e7b4 Rewrite and cleanup GETELEM and SETELEM (455748, r=brendan). 2008-09-25 11:31:40 -07:00
Andreas Gal
f6128156c6 Demote modulo operations to integer if both args are int (456934, r=brendan). 2008-09-24 23:28:56 -07:00
Andreas Gal
5830673d87 Add builtin for invocation of match() on String objects (454682, r=danderson). 2008-09-23 17:18:40 -07:00
Boris Zbarsky
202c27839e Backed out changeset c0364f5e0a84 2008-09-21 09:02:09 -04:00
Boris Zbarsky
7e81252fe1 Adding missing file 2008-09-21 08:59:52 -04:00
Andreas Gal
2519471762 Properly calculate tree exit/call guards (bug 453397, r=danderson). 2008-09-19 18:45:57 -07:00
Andreas Gal
bb9bb5a2b2 Use Object as prototype if the prototype of the constructor is primitive (452960, r=mrbkap). 2008-09-16 18:49:27 -07:00
Andreas Gal
8f79e9894f Expose push pop in jsarray and add builtins (453734, r=mrbkap). 2008-09-16 17:07:59 -07:00
Andreas Gal
aab41b5a73 Detect modulo by constant that is not zero and demote to integer modulo (451788, r=brendan). 2008-09-16 06:20:54 -07:00