Commit Graph

16584 Commits

Author SHA1 Message Date
Nicholas Nethercote
e0c1e58180 Bug 512181 - nanojit: rework TMFLAGS=assembly,regalloc,activation (the TM-specific part only, which is independent of the NJ-specific part). r=graydon. 2009-11-24 22:42:16 -08:00
Andreas Gal
dd01623b4e -r 2009-11-24 19:35:17 -08:00
Andreas Gal
09c011f455 Avoid frequent reallocs in Queue::ensure (530936, r=luke). 2009-11-24 17:04:24 -08:00
Nicholas Nethercote
a3c8b3801d Update nanojit-import-rev stamp. 2009-11-25 11:11:02 +11:00
Jacob Bramley
161ca34a8d Add Nanojit configuration flags (such as --sse) to lirasm. (bug 526974, r=nnethercote)
--HG--
extra : convert_revision : baa27feb8fb4fdaf1ecb0839c4bd468e83da2aeb
2009-11-24 11:05:20 +00:00
Nicholas Nethercote
c0ee79dcfd Bug 529900 - 64-bit - lots of assertions, crashes... r=edwsmith.
--HG--
extra : convert_revision : 3d99d6e37ba85c13d449352b8ce8283d4e0cbf0d
2009-11-24 15:30:04 +11:00
Nicholas Nethercote
ef48f55287 Bug 525379 - nanojit: make the _nIns/_nExitIns swap hack more consistent. r=edwsmith.
--HG--
extra : convert_revision : bad9394918255f4afcbff259153dc9d8c9afad25
2009-11-24 14:56:33 +11:00
Nicholas Nethercote
750f1073fb Bug 530713 - nanojit: fix LirReader::read() badness. r=edwsmith.
--HG--
extra : convert_revision : 39a8b47fd38af397e7fe0196637dc2e66cadb56b
2009-11-24 14:23:20 +11:00
Nicholas Nethercote
e09fe5b760 Bug 529725 - nanojit: improve asm_prep_fcall() in i386 and Sparc backends. r=rreitmai.
--HG--
extra : convert_revision : 30767eb970427b1044fae5db99c2427f57e576fe
2009-11-23 11:04:59 +11:00
Nicholas Nethercote
0928fa82e6 Bug 529709 - lirasm: 'not' is a unary operator. r=graydon.
--HG--
extra : convert_revision : f26d4cf0e8091d41ecb5b48b849d63dce56ec259
2009-11-23 11:01:02 +11:00
Brendan Eich
ee624984d8 Bye-bye middle-deletes and their O(n^2) worst case complexity; hello dictionary-mode scopes (473228, r=jorendorff). 2009-11-20 16:14:42 -08:00
Brendan Eich
1d3f5d358c Test branded *and* hasMethodBarrier consistently, and with a combined helper (529837, r=jorendorff). 2009-11-20 14:05:16 -08:00
Julian Seward
7bce3c4018 Bug 520905 - collapse callee saved register spills/reloads into LDMIA/STMIA instructions, r=vlad.
--HG--
extra : convert_revision : 73952814a07755be92fba1060efc97d5010b38c9
2009-11-20 10:11:33 -08:00
Brendan Eich
81436f3d04 Undo hackaround for bug 529837. 2009-11-24 15:15:37 -08:00
Luke Wagner
806d22cfd0 Bug 530490 - keep starting position live across quantifier loop (r=dmandelin) 2009-11-24 11:22:20 -08:00
Bob Clary
dcbebbfa1d Bug 530774 - js1_5/GC/regress-319980-01.js should not be enabled. 2009-11-24 13:01:42 -08:00
Bob Clary
1aba2fbf45 Bug 530774 - temporarily disable js1_5/GC/regress-331719.js due to time out regression. 2009-11-24 07:14:13 -08:00
Bob Clary
9ea4e3560e bug 530510 - js1_8/extensions/regress-446169-01.js should guard for undefined gczeal. 2009-11-24 07:14:12 -08:00
Andreas Gal
14ade13e06 I will get it right one of these days (hotfix for 484627). 2009-11-23 22:11:21 -08:00
Andreas Gal
9fd887d7c9 Hotfix for 484627 for 64-bit systems. 2009-11-23 21:49:53 -08:00
Andreas Gal
b8ee5612ec Inline js_CallTree (484627, r=dvander). 2009-11-23 19:02:49 -08:00
Andreas Gal
35fda5b697 Stop passing a useless NULL argument to fragment->code() (530700, r=dmandelin). 2009-11-23 17:16:30 -08:00
timeless@mozdev.org
4b3196a041 Bug 506699 js_printf doesn't always use va_end after va_start. rs=brendan 2009-11-23 16:20:55 -08:00
Andreas Gal
90633dab06 Merge. 2009-11-23 16:09:35 -08:00
Andreas Gal
f71e221781 Properly reject new arrays with negative length (530617, r=jwalden). 2009-11-23 16:09:02 -08:00
Blake Kaplan
af82b02910 Bug 530537 - Don't over-parenthesize JSOP_CONCATN. r=brendan over IRC 2009-11-23 18:08:05 -05:00
Jason Orendorff
60dad890ae Bug 509354 - Crash [@ DecompileDestructuringLHS] with destructuring and "arguments". r=mrbkap. 2009-11-20 11:33:30 -06:00
Jason Orendorff
aecd55e46e Bug 519719 - TM: crash [@ JS_GetFrameThis] - SynthesizeFrame passes partly-uninitialized JSStackFrame to callHook. r=mrbkap. 2009-11-13 11:04:23 -06:00
Bob Clary
e8aa6c9da1 Bug 528654 - Intermittent timeout waiting for onload to fire in js1_8_1/trace/trace-test.js 2009-11-20 00:12:05 -08:00
Bob Clary
612f16b3bd Bug 528464 - Intermittent failures - js1_5/extensions/regress-342960.js 2009-11-20 00:11:52 -08:00
Bob Clary
4b8f46fc69 Bug 528284 - js1_5/extensions/regress-371636.js - random failure for opt/debug on mozilla-central 2009-11-20 00:11:40 -08:00
Bob Clary
66328c3fc8 Bug 522760 - js/src/tests/ecma_5 tests should not run as JavaScript 1.5, r=brendan 2009-11-20 00:11:27 -08:00
Bob Clary
9632f28ef5 Bug 529754 - set javascript.options.jit.chrome true in browser tests. 2009-11-20 00:11:14 -08:00
Jim Blandy
7f1ddefd7b Bug 514575: Forbid rebinding 'eval' or 'arguments' in ES5 strict mode code. r=mrbkap 2009-11-19 14:08:02 -08:00
Jim Blandy
bab76e4afd Bug 514562: Forbid assignments to 'eval' and 'arguments' in strict mode code. r=mrbkap
Drafts of the ES5 spec required a type error to be raised when an
assignment to "arguments" is evaluated in function code. In
ECMA/TC39/2009/050, this condition has been changed to a syntax error
in all code. By the rules of chapter 16, implementations must report
it early.
2009-11-19 14:08:02 -08:00
Jim Blandy
f0a0859c37 Bug 514580: Forbid duplicate formal parameter names in strict mode code. r=mrbkap
Note: this patch changes the JSOPTION_STRICT warning from a TypeError
into a SyntaxError, if JSOPTION_WERROR is also set.
2009-11-19 14:08:02 -08:00
Nicholas Nethercote
15ab6b2a18 Update nanojit-import-rev stamp. 2009-11-20 08:57:52 +11:00
Edwin Smith
218752cb33 Suppress unused parameter warning in PPC backend (r=me)
--HG--
extra : convert_revision : 4ac63c016a95f1c58082824cf6813692f51ae917
2009-11-19 10:09:38 -05:00
Nicholas Nethercote
b1c9724924 Bug 515311 - nanojit: kill reservations in the PPC backend. r=rreitmai.
--HG--
extra : convert_revision : e0a0d3915764c663ccf1f0b6bedc14c7303ad239
2009-11-19 10:41:16 +11:00
Edwin Smith
58a4416af5 Fix Sparc bustage from bug 528419 (r=me)
--HG--
extra : convert_revision : 018f529d80309686b99d109eb132f520cf72a2fc
2009-11-18 16:07:09 -05:00
Edwin Smith
eae4db818d Fix PPC bustage (bug 513863, r=me)
--HG--
extra : convert_revision : 606f3e6e99b02907d3c983dd37aa7e011a7fa43e
2009-11-18 13:42:08 -05:00
Nicholas Nethercote
f1ea9d4970 ARM Bustage fix for bug 513863. r=me.
--HG--
extra : convert_revision : ee701ef7d0e4ca71ce73ac77a65fe8549429dce1
2009-11-18 12:33:34 +11:00
Nicholas Nethercote
cad44793c0 Bug 513863 - nanojit: refactor registerAlloc(). r=rreitmai.
--HG--
extra : convert_revision : 6b7cffb8984f821980d38d4c9ccd31f8bdd3e363
2009-11-18 12:27:57 +11:00
Nicholas Nethercote
c2e23635a7 Bustage fix: avoid compiler warning (which is treated as an error by tinderbox). r=me.
--HG--
extra : convert_revision : 225c22dfb86b51c2e28e0328d98032d52e10d58d
2009-11-18 11:35:39 +11:00
Nicholas Nethercote
59be6c7208 Bug 528419 - nanojit: overhaul i386 comparison handling. r=edwsmith.
--HG--
extra : convert_revision : f05d2e60125fd7ffc5ab67bb0541012638d4d1cb
2009-11-18 11:15:20 +11:00
Edwin Smith
8368eadfb7 One more try to make osx64 and linux64 compilers happy with printf
--HG--
extra : convert_revision : 440f14010965f1f70afd90b30007988617f064a0
2009-11-17 15:09:27 -05:00
Edwin Smith
3078dda1b6 Fix several underrunProtect bugs in X64 backend (bug 529219 r=edwsmith+)
I'm pushing this on behalf of nnethercote since tamarin had one additional
regression failure that this patch fixes.  Comments from the bug:

Bug 520712 introduced some underrunProtect() problems in the X64 backend.  A
follow-up patch fixed one of them, but there are several remaining.  This patch
fixes all of them, AFAICT, and commons out some code in the process hopefully
making things less error-prone.  (It also fixes a printf-style compile
warning.)

I tested this by reducing the size of chunks allocated by codeAlloc to only 128
bytes.  After doing that, without this patch, Tracemonkey was fairly crashy and
Tamarin was totally crashy;  with the patch both were fine, albeit slower than
usual.  (I tried 64 bytes as well but got assertions in the code allocator,
that seems to be Just Too Small.)

--HG--
extra : convert_revision : 7972be6204883c0ba472fe8caaa08f0b08660e72
2009-11-17 14:34:43 -05:00
Jim Blandy
ddb03d7b9a Bug 514572: Forbid deletion of variables, arguments and functions in ES5 strict mode. r=jorendorff 2009-11-19 12:35:55 -08:00
Jim Blandy
a4671283ad Bug 514567: Detect duplicate property names. r=jorendorff 2009-11-19 12:35:55 -08:00
Jim Blandy
2dea41a987 Bug 514567: Define JSAutoAtomList, a variant of JSAutoAtomList with a destructor. r=jorendorff 2009-11-19 12:35:55 -08:00
Jim Blandy
a80284f7ff Bug 514560: Forbid assignments to undeclared variables in strict mode code. r=jorendorff
--HG--
rename : js/src/tests/ecma_5/strict/shell.js => js/src/tests/js1_8_1/strict/shell.js
2009-11-19 12:35:55 -08:00
Brendan Eich
425fa48074 Beware CALLEE_UPVAR_SLOT when adjusting upvar cookie to skip over args to reach vars in the upar's home frame -- the callee is a special case with a magic slot that must not be changed (528082, r=mrbkap). 2009-11-19 12:14:52 -08:00
Luke Wagner
330595d2d0 Bug 526348 - pick higher pattern-length threshold for using BMH (r=waldo) 2009-11-19 10:34:28 -08:00
Jim Blandy
8dfa9723d8 Bug 514576: Forbid 'with' statements in strict mode code. r=mrbkap 2009-11-19 09:49:00 -08:00
Jim Blandy
97218a02fc Bug 514559: Forbid octal literals or escape sequences in strict mode. r=mrbkap 2009-11-19 09:49:00 -08:00
Jim Blandy
9fd9ea3942 Bug 521868: Make code passed to a direct call to eval inherit the caller's strictness. r=jorendorff 2009-11-19 09:48:59 -08:00
Jim Blandy
ffac41c809 Bug 514585: Machinery for reporting ES5 strict mode errors. r=igor
2009-11-19: checkReportFlags adjusted to use js_GetTopStackFrame, to
satisfy static analysis checks. No effect on Sunspider.

At compile-time, we must consult the current JSTreeContext to decide
whether to issue an strict mode error; at run-time, we need to
check the strictness of the currently executing script.  Both cases
also check the context options.  The design is supposed to make it
easy to follow the principle that conditions treated as errors in
strict mode are a subset of those warned about by JSOPTION_STRICT.

This patch removes report flag handling from js_ExpandErrorArguments,
which is used for both compile-time and run-time errors.  At run-time,
the new checkReportFlags handles the checks.  At compile-time, we need
different checks depending on the situation, so the checks are done in
js_ReportStrictModeError, js_ReportCompileErrorNumber, and the new
ReportCompileErrorNumberVA.
2009-11-19 09:23:20 -08:00
Blake Kaplan
d561cdff98 Bug 461170 - Detect when typeof is applied to an expression before constant folding so we correctly throw unbound name exceptions from the folded expression. r=brendan 2009-11-06 18:27:17 +01:00
Nicholas Nethercote
cf951c4671 Bug 465582: the TM-specific part. r=dvander. 2009-11-16 10:03:30 +11:00
Nicholas Nethercote
b3bc65b0a5 Update nanojit-import-rev stamp. 2009-11-16 08:18:55 +11:00
Nicholas Nethercote
7678ab396e Bug 518242 - NJ: Remove insSkip and supporting machinery. r=graydon.
--HG--
extra : convert_revision : d0134ea858d0e34c389868a59aac7085451865b4
2009-11-13 16:18:40 +11:00
Graydon Hoare
dc3c08a88c Bug 528320 - Improve warning-handling on windows, r=rreitmai.
--HG--
extra : convert_revision : c1dd9d0db4cf07210025b69e852f2ea43275a759
2009-11-12 15:07:31 -08:00
Julian Seward
6437fa4ed7 Bug 517883 - make TM fragment entry- and exit-profiling work on ARM, r=vlad.
--HG--
extra : rebase_source : 5ce347fc1855009b2e71a67ab4df69ee03e7d65b
extra : convert_revision : e133153691ce2daf3eb72bba7762191b61b7afcb
2009-11-12 14:30:36 -08:00
Nicholas Nethercote
09bcb3810a Bug 513865 - nanojit: make LirReader::read() clearer and faster. r=gal.
--HG--
extra : convert_revision : d78bd673c8652d17489559744f4a221c78811286
2009-11-13 09:26:26 +11:00
Nicholas Nethercote
bc05a0128f Bug 527874 - nanojit: add and remove some uses of findSpecificRegForUnallocated(). r=rreitmai.
--HG--
extra : convert_revision : 8a61bb2085985eb84772ca1ad924eee5b7fe544f
2009-11-13 09:23:14 +11:00
Edwin Smith
51d1ad52c1 Fix NativeARM; missed one file when backing out registerAllocTmp (r=me)
--HG--
extra : convert_revision : ec94ce9d044ee358a65c259a6151ce660122f813
2009-11-12 08:39:32 -08:00
Edwin Smith
f88d967943 Add LIR_jtbl instruction, and patch up lirasm to remove LIR_ji (bug 465582 r=nnethercote+, rreitmai+)
new opcode: LIR_jtbl.  jtbl takes a uint32_t index and a table of label
references (LIns**), representing a jump to one of the labels.

the index must be in range (range checking is not included in the opcode).

the table is allocated in memory at least as long lived as the LIR; this is
accomplished by doing the allocation from the same Allocator used by LirBuffer.

In the x86 backend, this is implemented with a simple jmp [R*4+ADDR] where ADDR
is the address of the table.  I added a new dataAllocator (Allocator&)
parameter to Assembler, which is used for allocating data along with code (data
& code have same lifetime).  The x86 backend allocates the final table of
addresses from this allocator and embeds the pointer to the table in code.

In other backends more than one instruction must be used due to limited range
of the constant part of the addressing mode (ppc, arm), or non-support for
full-range pc-relative indexing (x64, ppc64).

Anyone generating LIR code for use with LIR_jtbl must also generate a
LIR_regfence instruction after each label reachable by a forwards edge
from LIR_jtbl.  This is to workaround the register allocator's inability
to merge register states between 2 or more pre-existing targets.  LIR_regfence
is not required for backwards edges.

--HG--
extra : convert_revision : ee709eaaa30f720f77ab863ba4c9e6d10d69982b
2009-11-11 14:38:12 -05:00
Rick Reitmaier
3c90c60ef4 Silence win64 compiler gripe about unused var (r+me)
--HG--
extra : convert_revision : 6a40f9bbeae25cc7c79ce34db8226ab0ff786c57
2009-11-11 09:12:57 -08:00
Luke Wagner
59b312e520 Bug 520636 - sideExits holds dangling pointer on failed compilation (r=dvander) 2009-11-13 15:47:08 -08:00
Luke Wagner
7116b35ca4 Quiet the hounds of JS_REQUIRES_STACK 2009-11-13 15:24:25 -08:00
Luke Wagner
21cbcb1cb4 Bug 517174 - trace js_Invoke calls from natives (r=dvander) 2009-11-12 18:34:24 -08:00
Jason Orendorff
a13ecb805a Bug 528414 - JS_IsRunning can be wrong. r=brendan.
--HG--
extra : rebase_source : 4fca5efd5f558c1b64b0e86580d2c42af7e61e34
2009-11-13 09:24:12 -06:00
Bob Clary
804a1b1cb2 Bug 528384 - Intermittent failure in js1_8_1/trace/regress-451673.js 2009-11-13 05:26:33 -08:00
Bob Clary
947635c6a7 Bug 528284 - js1_5/extensions/regress-371636.js - random failure for debug windows. 2009-11-13 05:26:33 -08:00
Bob Clary
6aabb89296 Bug 524734 - js1_8_1/trace/regress-451974-01.js, regress-451974-02.js fix random failure. 2009-11-13 05:26:33 -08:00
Andreas Gal
0c63e06280 Remove reserve doubles and objects lists and instead waive the GC quota to avoid failing in LeaveTree (508140, r=dvander). 2009-11-12 16:01:56 -08:00
Jason Orendorff
5a45fd911f Bug 523998 - Add assertions to detect cases where objects were not touched by shape regeneration. r=dmandelin.
--HG--
extra : rebase_source : 6a71b143bdb82a81e00c082df5dc4c15198ad5d6
2009-11-12 16:50:12 -06:00
Igor Bukanov
6019e0bbb6 bug 527803 - avoiding unnecessary js_AddRoot. r=brendan 2009-11-12 23:13:25 +01:00
Igor Bukanov
02f3e49a60 bug 522867 - eliminating the local root check on the fast path of the GC allocator. r=brendan,gal 2009-11-12 12:53:25 +01:00
Jeff Walden
6004c90cd1 Backed out changeset 2fe1a3d6e672, enough philosophically-vexing orange that I'm unwilling to adjust all the tests without discussion (or, alternately, leave it in place until morning). 2009-11-12 00:57:18 -08:00
Jeff Walden
01c2423b1b Bug 523846 - Assignments to a property that has a getter but not a setter should not throw a TypeError per ES5 (at least not until strict mode is supported). r=brendan
--HG--
extra : rebase_source : 7d47eb44d21f17bfa11aeadca2ff980336315eca
2009-11-10 18:03:41 -08:00
David Anderson
e363a58557 Backed out changeset 193b41b37d17 2009-11-11 23:03:17 -08:00
David Anderson
408fc6d967 Don't guard on scope chains that have a call object and a block object (bug 523793, r=brendan,dmandelin). 2009-11-11 19:22:32 -08:00
Nicholas Nethercote
08cb365445 Test case for bug 527288. r=edwsmith. 2009-11-11 18:17:55 +11:00
Nicholas Nethercote
1cca8b838e Update nanojit-import-rev stamp. 2009-11-11 15:39:46 +11:00
Graydon Hoare
d8d468ab86 Bug 527178 - Improve valid-displacement checks, r=edwsmith, r=dvander.
--HG--
extra : rebase_source : b95743173b293bd4a2a54b37124d4e85cb16d425
extra : convert_revision : eadf0b1a3fd0bd28303b12b905eb94a09a2ade1b
2009-11-10 14:55:35 -08:00
Nicholas Nethercote
151ec33ba4 Bug 527288 - TM: "Assertion failure: m != TT_INT32 || isInt32(*vp), at
../jstracer.cpp" with for, for...each.  r=edwsmith.

--HG--
extra : convert_revision : 8f59c1429621a0ebb1cab43c638e926df463d3a1
2009-11-11 11:47:39 +11:00
Rick Reitmaier
953c347eef Silence winmo compiler gripe about unused var (r+me)
--HG--
extra : convert_revision : f2504bf688652c6730b49dca93da149f419bb165
2009-11-10 14:49:12 -08:00
Luke Wagner
7d9e472b57 Bug 527147 - flat lambdas' parents differ between recording and trace (r=dmandelin) 2009-11-09 10:57:39 -08:00
Jacob Bramley
fc7df9e997 Update nanojit-import-rev stamp. 2009-11-10 09:16:55 +00:00
Jacob Bramley
51164a2687 Fix LIR_ov for LIR_mul on ARM. (bug 521161, r=gal)
--HG--
extra : convert_revision : 4d16a7956f99c889899f35fbd0ad3a9fb0c12e0d
2009-11-10 08:19:04 +00:00
Nicholas Nethercote
39271b4849 Bug 515309 - nanojit: kill reservations in the ARM backend. r=Jacob.Bramley.
--HG--
extra : convert_revision : 271317c774639b9604d3e9ab9d67d615b5166c64
2009-11-10 17:27:09 +11:00
Nicholas Nethercote
a16d210b19 Bug 525437 - clean up LIR_call. r=edwsmith.
--HG--
extra : convert_revision : 2f6b3b6eedb27044cc7699c923d4220dd169b823
2009-11-10 14:12:18 +11:00
Nicholas Nethercote
e7362f7ef7 Bug 515310 - nanojit: kill reservations in the x64 backend. r=dvander
--HG--
extra : convert_revision : 5ca7d17649581013e1f275d6e2d26693f1b5c55d
2009-11-09 17:15:24 +11:00
Graydon Hoare
c64bc87991 Bug 527139 - Fix lirasm's use of integer-divide on non-intel platforms, r=rreitmai.
--HG--
extra : convert_revision : f5bbb9569c737865a7ff88dde0fb370fe2862c01
2009-11-06 16:01:11 -08:00
Graydon Hoare
0e9c7005c8 Bug 525412 - remove the nonsensical 'no fastcall' check in lirasm, r=dvander.
--HG--
extra : convert_revision : 280b05e48279a2dfa1226915ad8e96f0ef3a19ff
2009-11-06 15:44:00 -08:00
David Mandelin
3a9f926349 Bug 519363 debugging followup: strip diagnostic instrumentation, r=lw 2009-11-09 16:57:47 -08:00
David Mandelin
edc430150a Bug 525028 followup: fix build bustage on non-tracing-enabled builds, no_r=me 2009-11-09 16:42:38 -08:00
David Mandelin
e5cb2a46ba Bug 525028: adding test case missed in previous commit, r=dvander 2009-11-09 15:38:08 -08:00
David Mandelin
dd990f825a Bug 525028: don't set args object properties from trace, r=dvander 2009-11-09 15:36:41 -08:00
Jeff Walden
cda6c3ba8d Update jstests.list for fix for bug 504078 2009-11-09 13:35:34 -08:00
Ben Turner
ec313f69b9 Bustage fix, r=mrbkap 2009-12-11 14:30:27 -08:00
Ben Turner
3a94be32e4 Bug 534051, r=jorendorff+jst, sr=jst. 2009-12-11 12:50:54 -08:00
Brad Lassey
7316a1c605 bug 515748 - differentiate between wince and winmo (change windows mobile ABI to arm-wince-winmo) r=ted 2009-12-04 14:14:18 -05:00
Jeff Walden
4e3607880b Bug 504078 - Always guard on the class of iterator objects, not just when the iterator object is native at record time. r=brendan
--HG--
extra : rebase_source : 018075a7776016733ca9d91f79b76fa54a84bad3
2009-11-05 23:41:37 -08:00
Igor Bukanov
3f7f1c1ea1 bug 527027 - fixing date_makeDate regression. r=brendan 2009-11-08 21:44:53 +01:00
Robert Sayre
3f8dbfab81 Check whether the patch in Bug 527261 fixes a mochitest crash. 2009-11-08 10:41:44 -05:00
Robert Sayre
e57049cd34 Merge mozilla-central to tracemonkey. 2009-11-07 11:33:47 -08:00
Brendan Eich
e69b1df448 Fix empty script deserialization (525481, r=igor). 2009-11-07 11:23:00 -08:00
Graydon Hoare
5740f94af7 Bug 526755 - abort rather than flush on oversized global object, r=dvander. 2009-11-06 16:34:17 -08:00
Dan Witte
edbdfe820d enable ctypes unit tests on all platforms. b=522118, r=bsmedberg 2009-11-06 09:48:07 -08:00
Shailen
023fcbbeaf Bug 526422 - AIX Compilation error for 3.7a1pre source "js/src/jsgc.cpp, line 2850.17: The name lookup for "FinalizeGCThing" did not find a declaration, r=sayrer 2009-11-06 16:27:07 +01:00
Graydon Hoare
f7a97237c8 Bug 526755 - avoid slow leak in reTempAlloc, r=dvander. 2009-11-05 18:36:35 -08:00
Benjamin Smedberg
1d97bbb36a Merge from mozilla-central. 2009-11-06 09:54:28 -05:00
Chris Jones
5456e65e6e don't init gtk in xpcshell, it's a relic of a darker era 2009-11-05 20:06:05 -06:00
Blake Kaplan
6ae86ed2d9 Bug 520572 - Set watchpoints on the object that's guaranteed to see all changes. r=brendan 2009-11-04 19:42:41 +01:00
Brendan Eich
d45c441a3c Fix empty script deserialization (525481, r=igor). 2009-11-05 15:41:56 -08:00
David Anderson
f204342daa Reorganized the fragment class hierarchy (bug 524620, r=gal). 2009-11-05 15:04:54 -08:00
David Anderson
331648834a Update nanojit-import-rev stamp. 2009-11-05 14:58:26 -08:00
Nicholas Nethercote
8969ab8c18 Bug 512634 - nanojit: identify RegAlloc invariants. r=edwsmith.
--HG--
extra : convert_revision : 2d5d94694fceca54934270a518a5b341ce13b2d0
2009-11-05 11:56:48 +11:00
Nicholas Nethercote
ddfe79ee86 Bug 502778 - nanojit: speed up CseFilter. r=edwsmith.
--HG--
extra : convert_revision : 98b64e95f3f98c85e4dfab9e66d16543cb27a8b6
2009-11-05 09:40:33 +11:00
Jim Blandy
9c6413effb Bug 514585: Move 'grouped' to explicit param of JS_NEW_PRINTER. r=igor
Make all the JSPrinter status bits explicit flags to JS_NEW_PRINTER.
Only in public-facing functions like JS_DecompileFunction should we be
peeling bits out of indent values and turning them into flags;
internally, we can change interfaces to make more sense.

This is preparation for adding another flag to JS_NEW_PRINTER.
2009-11-05 14:34:39 -08:00
Rich Walsh
e023f15a92 Bug 525396 - Implement New/DestroyGCChunk() for OS/2, fixing a build break, r=gal 2009-11-05 22:55:00 +01:00
Graydon Hoare
5d4f8e6b3c Update nanojit-import-rev stamp. 2009-11-04 10:28:43 -08:00
Graydon Hoare
ff65df1429 Bug 526011 - Backed out changeset ccae3c736aed, premature landing.
--HG--
extra : convert_revision : ba29ca88bc1acdee7ae1a532f202ee99f08ce755
2009-11-04 10:15:41 -08:00
Nicholas Nethercote
c1ecbe49e5 Bug 517405 - nanojit: don't compute x86 FP conditions twice(!). r=rreitmai.
--HG--
extra : convert_revision : bb0d40d10977953fffe3063745de0d8778bec6c6
2009-11-04 16:44:13 +11:00
Nicholas Nethercote
d6d822d4e5 Bug 516348 - nanojit: add findSpecificRegForUnallocated(). r=edwsmith.
--HG--
extra : convert_revision : 0e40a8977b80a96f9233488878589afcdfc8d800
2009-11-04 14:45:29 +11:00
Graydon Hoare
af7fc828f8 Bug 525392 - Fix ARM branch-patching logic, r=vlad.
--HG--
extra : convert_revision : 3510743118fdb7ba39e941894ccf7a80788f8421
2009-11-03 11:49:31 -08:00
Graydon Hoare
64e924e19e Bug 526070 - lirasm call argument ordering bug, r=dvander.
--HG--
extra : convert_revision : f3e975ca8d8e19b651f57b7599fd84162aaad8ec
2009-11-02 17:10:27 -08:00
David Anderson
6e43abcc08 Removed Fragment::vmprivate and Fragment::root (bug 526011, r=graydon).
--HG--
extra : convert_revision : ccae3c736aeddd81211073095132a7feb70c33e7
2009-11-03 10:16:17 -08:00
Luke Wagner
567e0ca71d Bug 526356 - invalid debug memset of global native frame in ExecutreTree (r=dvander) 2009-11-03 15:22:48 -08:00
Oleg Romashin
907bb1faa0 Bug 527363 - JS-ctypes fail to compile on Maemo ARM. r=dwitte 2009-11-11 08:57:47 +02:00
Nirbheek Chauhan
649de0b0f2 Bug 528941 - Remove pangox.h includes. r=karlt 2009-11-18 14:20:15 +01:00
Luke Wagner
3656ece107 Bug 525120 - move native stack off the C stack (fixes native global frame alignment) (r=dvander)
--HG--
extra : rebase_source : 88fd7104fd77507c7c6ffd3dd0464cc6954f90c0
2009-10-28 16:44:44 -07:00
Graydon Hoare
bd15b8d3b3 Update nanojit-import-rev stamp. 2009-11-02 14:41:31 -08:00
Nicholas Nethercote
0d8dc4e918 Bug 525413 - lirasm: avoid operandCount, r=graydon.
--HG--
extra : convert_revision : f35c3aab85189126ca884e976372050c3278324f
2009-11-02 12:15:37 -08:00
Nicholas Nethercote
033a14036b Bug 525411 - lirasm: fix CallInfo problems, r=graydon.
--HG--
extra : convert_revision : 18149ad4f58ed4f0cdc2034aeaa0acf269c1a205
2009-11-02 12:14:45 -08:00
Andreas Gal
b9b0c8d369 Avoid using uint16 in JSXML (525527, r=igor). 2009-11-02 13:45:22 -08:00
Andreas Gal
155b4da817 Fix bogus assert (525943, r=dvander). 2009-11-02 13:41:26 -08:00
Graydon Hoare
6359904948 Update nanojit-import-rev stamp. 2009-11-02 11:07:20 -08:00
Jacob Bramley
3f650bbb7d Bug 525878 - The lirasm call1 test fails on ARM, r=graydon.
--HG--
extra : convert_revision : 9088798ea4a9ccdf7ffff83b97bc468213e72942
2009-11-02 10:32:02 -08:00
Graydon Hoare
ad756aac21 Bump import-machinery pointers, no bug, r=gal on IRC. 2009-11-02 10:58:02 -08:00
Bob Clary
984ce9798f bug 332722 - ecma_3/Date/15.9.5.5.js fails on Linux during DST. 2009-11-02 04:35:03 -08:00
Jacob Bramley
f9dfa5a4a6 Rolling back changes that should have gone into nanojit-central. 2009-11-02 10:05:09 +00:00
Jacob Bramley
146c5ecf6b Make LIR_ov work for LIR_mul on ARM. (bug 521161, r=gal) 2009-11-02 09:35:01 +00:00
David Anderson
ad303a4bd9 Fixed assert failure in TraceRecorder::setCallProp (bug 522570, r=dmandelin). 2009-10-30 17:23:29 -07:00
Jason Orendorff
e70482a59f Bug 524564 - "Assertion failure: 0, at ../jsopcode.cpp" with uneval, yield, do...while. r=dvander. 2009-10-30 14:56:10 -05:00
Jason Orendorff
9a443d248c Bug 498134 - ABI depends on #define DEBUG. r=Waldo.
--HG--
extra : rebase_source : 7add900da11663e2f98c1f8e0ef70387301ad115
2009-10-29 06:39:18 -05:00
Bob Clary
3589d003cb Bug 525213 - misc test cleanup. 2009-10-30 10:07:51 -07:00
Blake Kaplan
be8ccd19f3 Bug 520164 - Protect the interpreter from non-expected scope chains and variable objects. r=igor
--HG--
extra : rebase_source : cd169a070e85100af7931864201da28effffcfec
2009-10-30 17:31:15 +01:00