Rick Reitmaier
f4ea1cc587
fix PPC debug-only build breakage
...
--HG--
extra : convert_revision : 6b99983c6b88ce05809d05e4e2b24836a1c2724e
2010-04-23 10:49:32 -07:00
Rick Reitmaier
d61f88a164
Bug 560370 - PPC cmov handling logic incorrect (r+edwsmith)
...
On PPC the cmov logic is generating incorrect code due to
instruction and register lifetimes are not being correctly
handled.
This patch mirrors the code used on the x86 which was fixed
a while back to address this issue. See bug 535705
--HG--
extra : convert_revision : 8047bc5db3b14ddc3588378c7f4c6fef76de7d98
2010-04-23 09:24:00 -07:00
Edwin Smith
e927108ae7
Bug 560578 - canRemat() and asm_restore() should agree (r=nnethercote+)
...
Added comments clarifying the contract between canRemat() and asm_restore(),
and fixed the ARM, MIPS, PPC, and Sparc backends so canRemat() doesn't
return true for instructions that asm_restore() doesn't handle.
--HG--
extra : convert_revision : f4d4243db4cf3b8d7149012d5503c5441058f58e
2010-04-23 10:26:12 -04:00
Edwin Smith
3633f63957
Revert rename bustage in NativePPC.cpp (bug 560160 r=me)
...
--HG--
extra : convert_revision : cc043e6b70383762025e239896cbd70d5ece8697
2010-04-22 13:04:24 -04:00
David Anderson
dac6f52234
Don't bother tracing some elem sets yet (bug 561939, r=gal).
2010-04-26 20:29:49 -07:00
Andreas Gal
3579b2b1fb
Merge.
2010-04-26 19:07:10 -07:00
Andreas Gal
492ea75049
Backed out changeset 35c25547a135 (bug 560358).
2010-04-26 19:06:51 -07:00
Nicholas Nethercote
1e5fc26c40
Bug 560774 - encapsulate array-related dslots accesses. r=brendan.
2010-04-26 18:33:36 -07:00
Dan Witte
fdcf03a939
Backing out due to bustage.
2010-04-26 15:16:05 -07:00
Mike Moening
b37862b231
Bug 549532 - Allow custom memory allocator use in spidermonkey. Part 2. r=dvander
2010-04-26 14:15:18 -07:00
Jesse Ruderman
b4e32e7695
Bug 561672 - JS_Assert should fflush(stderr). r=shaver
2010-04-26 13:50:56 -07:00
Dan Witte
774f39c786
Bug 561619 - JS CTypes has a build dependency bug. r=sayrer
2010-04-26 13:26:53 -07:00
Luke Wagner
ef023c4ec7
Bug 560798 - propagate errors from deep-aborted natives (r=gal)
2010-04-26 09:30:06 -07:00
Boris Zbarsky
bf168b819d
Bug 556830 followup to fix debug bustage
2010-04-26 11:15:33 -04:00
Boris Zbarsky
f66b8a1342
Bug 556830 part 2. Fill the propcache even if we start the lookup on a Call whose parent is the global the property is on. r=jorendorff
2010-04-26 10:06:30 -04:00
Boris Zbarsky
d319faf7ba
Bug 556830 part 1. Change things so a bindname resolve of a global property won't define it on the window in ES5 strict mode. r=jorendorff
2010-04-26 10:06:25 -04:00
Ginn Chen
691ed684d6
Bug 560017 Failed build js/src/jsgcchunk.cpp on Solaris r=jimb
2010-04-26 14:17:29 +08:00
Peter Van der Beken
3fcb7546e7
Fix for bug 560199 (Link XPConnect and caps into layout). r=jst.
...
--HG--
extra : rebase_source : 5141822e9d560019ffc1e0cb0264782aa8aa7a99
2010-04-11 15:55:24 +02:00
L. David Baron
cd80341304
Annotate jsreftest manifests with assertion counts. (Bug 472557)
2010-05-04 21:28:18 -07:00
Jason Orendorff
afeaf2a57a
Bug 563735 - Assertion failure: JS_IS_SCOPE_LOCKED(cx, scope) on crashtest machine. r=dvander.
2010-05-04 14:57:27 -05:00
Luke Wagner
c328d111f1
Bug 558446 - Emit concatn properly (r=waldo)
2010-04-09 16:32:02 -07:00
Luke Wagner
d0cd28412f
Bug 562991 - Change JS_SetTrap closure argument type from void* to jsval (r=brendan)
2010-04-30 17:34:54 -07:00
Chris Leary
b141ee8829
Bug 562144: Make DTrace hooks pretty. (r=sayrer)
2010-04-30 17:04:31 -07:00
Brendan Eich
f7d763d4ac
Beware generators when trying to flatten a closure (563034, r=jorendorff).
2010-04-30 16:31:35 -07:00
Brendan Eich
52ed1d8098
Fix getter/setter built-in vs. scripted type confusion: union getter/setter callable object pointer with raw JSPropertyOp pointer, fix watchpoint assertion/null-deref related to ES5's {get: undefined, set: undefined} new scripted getter/setter state encoding, clean up related code (560796, r=jwalden).
2010-04-30 16:03:37 -07:00
Jason Orendorff
44cd0ab6dd
Bug 562909 - testContexts_bug561444 failing, leaving Windows debug tests perma-orange on tracemonkey. r=Waldo.
2010-04-30 17:49:10 -05:00
Andreas Gal
bd82c5611d
remove obsolete JSVAL_ERROR_COOKIE and JSVAL_FAIL (563063, r=dvander).
2010-04-30 15:21:09 -07:00
Andreas Gal
478f54cddf
remove useless date and array trace natives (563055, r=dvander).
2010-04-30 14:59:28 -07:00
Andreas Gal
10a780d223
remove useless obj trace natives (563047, r=dvander).
2010-04-30 14:40:25 -07:00
Jason Orendorff
89f72d0bce
Backed out changeset 73f23528bed6 (bug 559653, again)
2010-04-30 15:12:13 -05:00
Jason Orendorff
d55c165fa7
Bug 559653 - Record assignment before the interpreter goes; avoid record_SetPropHit. r=brendan.
...
--HG--
extra : rebase_source : c6698a313d7d00cd0584e1968d96d4b67ab0373c
2010-04-28 11:12:19 -05:00
Brendan Eich
1de1fd1451
Fix fractured grammar in comment for bug 560234.
2010-04-30 08:50:03 -07:00
Brendan Eich
21abf2ffff
Fix thinko in patch for 560234, caught by jorendorff, all praise to him.
2010-04-30 07:46:31 -07:00
Jason Orendorff
aff223663e
Bug 560998 - Assertion failure: entry->vword.toObject() == JSVAL_TO_OBJECT(v). r=brendan.
2010-04-30 08:29:04 -05:00
Nicholas Nethercote
d8b33d0d5f
Bug 562571 - TM: don't have two bounds checks for array getelem. r=brendan.
2010-04-29 20:22:33 -07:00
Brendan Eich
855cf9ee29
JSOP_NAME inside null closure leads to bogus ReferenceError on trace (560234, r=jorendorff).
2010-04-29 19:04:55 -07:00
Jesse Ruderman
886cefbe65
Update regress-429739.js to reflect the decision in bug 520778, and re-enable the test
2010-04-29 17:25:37 -07:00
Nicholas Nethercote
deb78e392f
Bug 562553 - TM: cache double-to-string conversions to speed up v8-splay.js. r=cdleary.
2010-04-29 17:17:24 -07:00
David Mandelin
bd01579c00
No bug, fixing a new MSVC warnings, no_r=me
2010-04-29 16:31:45 -07:00
Nicholas Nethercote
68c21b35a7
Update nanojit-import-rev stamp.
2010-04-29 16:08:29 -07:00
Edwin Smith
1024e26d57
Bug 559975 - Rename LOpcode enums in NativeX64.cpp (r=nnetercote+)
...
Also includes a few renames of qxor -> xorq from other files.
(qxor was missing from the rename script).
--HG--
extra : convert_revision : b49dd62330e017769dfdea9c87a74698179c7f45
2010-04-29 15:34:40 -04:00
Jason Orendorff
c2217cdb74
Sort trace-tests by name before running them. No bug#, rs=Waldo via IRC.
2010-04-29 09:11:05 -05:00
Ginn Chen
3a939263c2
Update nanojit-import-rev stamp.
2010-04-29 16:01:33 +08:00
Andreas Gal
34d9e4d6c8
fix brace style (Nth follow-up for 560358).
2010-04-28 19:13:03 -07:00
Andreas Gal
d84543bb6b
Merge.
2010-04-28 18:50:17 -07:00
Andreas Gal
7bf56e15a7
Follow-up for 560358, poke the GC when overwriting the value of RegExpStatics.input (fix leak).
2010-04-28 18:49:36 -07:00
Nicholas Nethercote
225ae34fc8
Bug 562251 - JSSLOT_ARRAY_COUNT isn't used for slow arrays. r=brendan.
2010-04-28 18:35:22 -07:00
Andreas Gal
6e29637654
export replenishAndFreeLater as a JS_FRIEND_API to fix build break (r=me).
2010-04-28 17:17:34 -07:00
Andreas Gal
2173a6b94c
Optimize static RegExp state (560358, r=brendan).
2010-04-28 16:35:12 -07:00
Jeff Walden
6aed9b5ebc
Bug 562193 - Implement Components.utils.getGlobalForObject(obj), as a supported alternative to parent-chain-walking. r=mrbkap
2010-04-28 13:53:01 -07:00
Luke Wagner
3df9b42a3e
Oops, b0f49ebf6325 wants a definition (r=me)
...
--HG--
extra : rebase_source : 069c949e4e236f323c737d15eac2a811677ba58b
2010-04-28 15:23:34 -07:00
Jeff Walden
762bbf4391
Merge.
2010-04-28 15:18:53 -07:00
Jeff Walden
2dabf26a83
Backed out changeset 1da2bbf6cfaf, turned tree red.
2010-04-28 15:18:38 -07:00
Luke Wagner
d80ae03b09
Bug 562470 - Give JSBackgroundTask a virtual destructor (r=me)
2010-04-28 15:06:39 -07:00
Jason Orendorff
c11e7e9863
Silence a compiler warning (in MSVC) about implicitly narrowing jsval to JSBool in JSVAL_IS_INT. Noticed by MikeM. No bug#, rs=Waldo via IRC.
...
--HG--
extra : rebase_source : 8060def41cdbed1c7b80b01da58b00e1967fb3fe
2010-04-28 16:12:15 -05:00
Andreas Gal
6fe4800714
Optimize static RegExp state (560358, r=brendan).
2010-04-28 13:33:21 -07:00
Jason Orendorff
74b496bbe8
Merge backout.
2010-04-28 13:41:43 -05:00
Jason Orendorff
fc386a2ca8
Backed out changeset ae857d818793 (bug 559653) due to test failures.
2010-04-28 13:41:24 -05:00
Jason Orendorff
55efedaff4
Backed out changeset 69ea8f61ae26 (bug 559813) due to test failures.
2010-04-28 13:03:19 -05:00
Jason Orendorff
6736f57e69
Bug 559813 - Trace script setters. r=brendan.
2010-04-28 11:43:27 -05:00
Jason Orendorff
d649fe8f15
Merge.
2010-04-28 11:15:12 -05:00
Jason Orendorff
63cfa9cafb
Bug 559653 - TM: Record assignment before the interpreter goes; remove record_SetPropHit. r=brendan.
2010-04-28 11:12:19 -05:00
Brendan Eich
c1024a0693
Disable partial flat closures pending scope chain reconstruction on trace (554572, r=jorendorff; CLOSED TREE push ok'ed by sayrer).
2010-03-24 13:26:28 -07:00
Luke Wagner
fb7ceb4c78
Bug 547851 - remove JSStackFrame::regs, JSStackFrame::callerFrame.sp (r=dvander)
2010-03-03 18:10:13 -08:00
Gregor Wagner
dee82ee864
Bug 548388 GC Benchmark Suite. r=jorendorff
2010-05-14 11:17:14 -07:00
Igor Bukanov
97039b9427
bug 561364 - removal of JSRuntime::gcLevel. r=jorendorff
2010-05-14 15:55:17 +02:00
Luke Wagner
9b49d62378
Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo)
2010-03-03 17:52:26 -08:00
Martin Husemann
a3997fe301
Bug 550271 - Make sure the inline assembler code works on the same word size as the C/C++ code on sparc64 when compiling for 64bit. r=jorendorff
2010-05-13 17:46:17 -07:00
Igor Bukanov
307503fef7
bug 563345 - using js::HashMap for JSRuntime::threads. r=lw
2010-05-13 19:50:43 +02:00
Rasmus Jensen
18d22c68c6
Bug 335051 - E4X literals should be acceptable values for sharp variables. r=jwalden
...
--HG--
extra : rebase_source : 3548ee497fa3d8fe36077d42d8a44f953cf90b6d
2010-05-06 16:01:37 -07:00
Jeff Walden
df8ee3ff7c
Bug 565463 - Error-reporting mistakes with new-style Auto* classes. r=jorendorff
...
--HG--
extra : rebase_source : b6e27bd686570bcc77e6650c156ae6f027509646
2010-05-12 20:35:56 -07:00
Luke Wagner
6a6afd60ce
Backed out changeset 23efaeb8652b
2010-05-13 02:21:27 -07:00
Luke Wagner
98a7dc9ea6
Bug 540706 - use contiguous buffer for stack frames and slots (r=waldo)
2010-03-03 17:52:26 -08:00
Luke Wagner
977b510b7d
Bug 565188 - simplify sp adjustment in checkTraceEnd (r=dvander)
2010-05-12 23:04:05 -07:00
Luke Wagner
8dae133f81
Bug 564937 - fast iterators shouldn't touch regs.sp[0] (r=gal)
...
--HG--
extra : rebase_source : 4ff7594a8bf3b1ab8aa0fcbf351765f4a12ef3e4
2010-05-12 23:00:31 -07:00
Nicholas Nethercote
b56caab02f
Bug 564369 - streamline TokenStream::getChar(), part 11. r=cdleary.
...
--HG--
extra : rebase_source : 17731fc14ffa7d8ac7194baf2fe9bf72b7d2f7e5
2010-05-12 21:43:56 -07:00
Nicholas Nethercote
34bd8023e4
Bug 564369 - streamline TokenStream::getChar(), part 10. r=cdleary.
...
--HG--
extra : rebase_source : e1eea6473ba5a27f6f0c397706c8a38026c4919c
2010-05-12 21:43:27 -07:00
Nicholas Nethercote
81464e51c8
Bug 564369 - streamline TokenStream::getChar(), part 9. r=cdleary.
...
--HG--
extra : rebase_source : c9315a103358ec76fb572c67c7ba5ca2e049a22b
2010-05-12 21:43:01 -07:00
Nicholas Nethercote
a952b563f2
Bug 564369 - streamline TokenStream::getChar(), part 8. r=cdleary.
...
--HG--
extra : rebase_source : 403e102ea4d5b135ea81095ebfd49835940ee4e7
2010-05-12 21:42:44 -07:00
Nicholas Nethercote
83a5e45caf
Bug 564369 - streamline TokenStream::getChar(), part 7. r=cdleary.
...
--HG--
extra : rebase_source : 9017fa314243250ee90170772c5b5bbcbd244262
2010-05-12 21:42:16 -07:00
Nicholas Nethercote
400f96617e
Bug 564369 - streamline TokenStream::getChar(), part 6. r=cdleary.
...
--HG--
extra : rebase_source : ea659b37be1041d0599ad1152b85b669dd3617dd
2010-05-12 21:41:49 -07:00
Nicholas Nethercote
7e41b32948
Bug 564369 - streamline TokenStream::getChar(), part 5. r=cdleary.
...
--HG--
extra : rebase_source : a087a3706e0196962f1be094d697f27d0d476ad5
2010-05-12 21:41:24 -07:00
Nicholas Nethercote
082f31c3e2
Bug 564369 - streamline TokenStream::getChar(), part 4. r=cdleary.
...
--HG--
extra : rebase_source : 5a09b4384740293ef0bbfe5b97454b684c8584ff
2010-05-12 21:40:59 -07:00
Nicholas Nethercote
0ebfa6509b
Bug 564369 - streamline TokenStream::getChar(), part 3. r=cdleary.
...
--HG--
extra : rebase_source : 4332c12ea549aebb95f72035104e5a47159626e1
2010-05-12 21:40:28 -07:00
Nicholas Nethercote
6abfef34e4
Bug 564369 - streamline TokenStream::getChar(), part 2. r=cdleary.
...
--HG--
extra : rebase_source : 4148cba1faa670ee8a5147b78a339bf676d5fcae
2010-05-12 21:39:59 -07:00
Nicholas Nethercote
c33fb75973
Bug 564369 - streamline TokenStream::getChar(), part 1. r=cdleary.
...
--HG--
extra : rebase_source : d9e3d00e7798392242f7a4410c1825e8ff30af61
2010-05-12 21:39:32 -07:00
Nicholas Nethercote
a5ad41af4f
Bug 564581 - TM: avoid js_IdIsIndex() calls on trace. r=brendan.
2010-05-12 19:34:01 -07:00
Nicholas Nethercote
f0550e09e5
Bug 560167 - encapsulate XML-related JSSLOT_* values within JSObject (attempt 2; attempt 1 was backed out due to conflicts). r=brendan.
2010-05-12 18:57:36 -07:00
Blake Kaplan
6950094244
Bug 565521 - Add a test. r=sayrer
2010-05-12 18:18:54 -07:00
Blake Kaplan
6028d00c7d
Bug 565521 - Don't call the getter on the prototype object, call it on the original object instead. r=gal
...
--HG--
extra : rebase_source : 5c37bd912fc301bc009437e7724925e4571a92bb
2010-05-12 16:37:54 -07:00
Nicholas Nethercote
6136d67c9f
merge
2010-05-12 16:18:32 -07:00
Nicholas Nethercote
233b6b88e8
Fix compiler warnings. No bug, r=jorendorff via IRC.
2010-05-12 16:14:49 -07:00
Nicholas Nethercote
e8569db9c5
Bug 565257 - TM: rename opcodes in jstracer.cpp. r=dvander.
2010-05-12 16:05:28 -07:00
Blake Kaplan
581509e73c
Bug 564954 - Call the class hook even if not NEW_ENUMERATE. r=gal
2010-05-12 16:00:23 -07:00
Andreas Gal
cbc81f2d50
add missing parens in expression for clarity (no bug, r=mrbkap)
2010-05-12 15:42:05 -07:00
Andreas Gal
0c9154d22e
Bug 565199 - TM: trace-test failure in testGeneratorDeepBail, x64. r=dvander
2010-05-12 17:14:28 -04:00
Andreas Gal
af72ac4d4c
nit fix for bug 558754 and remove bogus spot-fix that didn't have review (r=brendan)
2010-05-12 13:12:53 -07:00
Vladimir Vukicevic
8c80a0cd55
b=561566,561299; typed array arg checking fix; r=jorendorff
2010-05-12 10:18:35 -07:00
Jason Orendorff
d21c4cbaeb
Merge.
2010-05-12 09:37:31 -05:00
Jason Orendorff
bdb491ed34
Backed out changeset 8cb8888c68d3 due to failing mochitests.
2010-05-12 09:34:03 -05:00
Robert Sayre
0cfaca99bc
Disable most of test_wrappers.html until we fix 564954.
2010-05-12 10:33:47 -04:00
Jason Orendorff
4d3c5821a1
Bug 563728 - Switch the imacro compiler over to Python. r=Waldo.
...
--HG--
rename : js/src/imacro_asm.js.in => js/src/imacro_asm.py
2010-05-12 08:49:36 -05:00
Jason Orendorff
ee50fdd206
Bug 560643 - Add a special jsval type to XPIDL. Part 2, manual IDL cleanup. r+sr=jst.
...
--HG--
extra : rebase_source : 9529caa471dd4de9ddc9cedbab38922f9398011e
2010-05-12 08:19:22 -05:00
Jason Orendorff
5aa27b84c9
Bug 560643 - Add a special jsval type to XPIDL. Part 1, rename JSVal -> jsval in existing IDL. r+sr=jst.
...
--HG--
extra : rebase_source : 3d50f7468277883a26790df13a639ce37757a257
2010-05-12 08:18:51 -05:00
Jason Orendorff
2b3384521c
Bug 513065 - Part 3, compute scope in the engine before calling the thisObject hook. r=mrbkap.
2010-05-12 08:15:49 -05:00
Jason Orendorff
33ab4dbe7b
Bug 513065 - Part 2, avoid thisObject in obj_getProto (left over from __parent__). r=mrbkap.
...
--HG--
extra : rebase_source : f900cd58592696d522e9c58effc3dc16761e1808
2010-05-12 08:13:05 -05:00
Jason Orendorff
ab2c2c89d5
Bug 513065 - Part 1, avoid thisObject when unwrapping With objects. r=mrbkap.
...
--HG--
extra : rebase_source : 129c8592e7f14bb76cc648ba8ae930bfc73507cb
2010-05-12 08:11:46 -05:00
Chris Leary
e63f347a0a
Bug 564076: Small parser cleanup changes. (r=mrbkap)
2010-05-11 21:33:29 -07:00
Nicholas Nethercote
9e27c4bb2e
Bug 552592 - nanojit: split TMFLAGS=assembly in two (TM-only part). r=jseward.
2010-05-11 20:01:27 -07:00
Nicholas Nethercote
a591c93a13
Update nanojit-import-rev stamp.
2010-05-11 20:00:24 -07:00
Nicholas Nethercote
439c3c6f87
Bug 552592 - nanojit: split TMFLAGS=assembly in two. r=edwsmith.
...
--HG--
extra : convert_revision : 0ab7614fb5140f304020d000789eff6b63ecdef6
2010-05-11 19:14:51 -07:00
Nicholas Nethercote
d398416088
Bug 563277 - nanojit: ignore dead guards in StackFilter. r=edwsmith.
...
--HG--
extra : convert_revision : c6024514710ad40128e05ba004b4db0c2a302862
2010-05-11 18:52:03 -07:00
Nicholas Nethercote
7a0c7aaa29
Bug 562597 - nanojit: more LOpcode-related renamings. r=edwsmith.
...
--HG--
extra : convert_revision : 96391e53a0b48bd53fa98db68da86f76a55e9bd0
2010-05-11 17:14:20 -07:00
Nicholas Nethercote
6d5053e9df
Update nanojit-import-rev stamp.
2010-05-11 16:54:19 -07:00
Edwin Smith
fd1b388c23
Bug 564941 - Rename LOpcode enums in lirasm.cpp (r=nnethercote+)
...
--HG--
extra : convert_revision : e165192e6b4adc66ac4c395c8e8e80a66d7f1117
2010-05-10 21:00:15 -04:00
Edwin Smith
4d87ad98e3
Bug 559972 - Rename LOpcode enums in NativeMIPS.cpp (r=nnethercote+)
...
--HG--
extra : convert_revision : 24782e879b70fc00120a5697ff978d0c16a8aeab
2010-05-10 20:10:47 -04:00
Edwin Smith
07a068ef9b
Bug 559974 - Rename LOpcode enums in NativeSparc.cpp (r=nnethercote+)
...
--HG--
extra : convert_revision : 83cb4cee2b4db69a8d8b2616e062c01156b87dee
2010-05-10 20:09:05 -04:00
Edwin Smith
045c28aa3f
Bug 559973 - Rename LOpcode enums in NativePPC.cpp (r=nnethercote+)
...
--HG--
extra : convert_revision : d65d7a51c661d49274ee4707eb0b478f6e7b6ec9
2010-05-07 08:39:56 -04:00
Nicholas Nethercote
2a2687bf69
ARM bustage fix for bug 564080. r=me.
...
--HG--
extra : convert_revision : 98eb4dff32af55697aac78f7c89c4a3b56cb01fa
2010-05-06 16:18:51 -07:00
Nicholas Nethercote
93fba42127
Bug 564080 - nanojit: merge LIR_alloc[iq]. r=edwsmith.
...
--HG--
extra : convert_revision : bf229d93127ae64ffa62f4c872c2319bbc4dc59b
2010-05-06 16:13:11 -07:00
Edwin Smith
279460658a
Bug 559971 - Rename LOpcode enums in NativeARM.cpp (r=nnethercote+ f=jacob.bramley+)
...
--HG--
extra : convert_revision : f7a0d7ffe0739ce2e2b2c259d7b8d3d9b77f78d5
2010-05-06 09:32:06 -04:00
Edwin Smith
8b43bd915d
Change the PPC isS14 macro to an inline function (bug 560370 r=rreitmai+)
...
Fixes two problems:
1. macro incorrectly referred directly to "bd" instead of its argument "i"
2. logic wasn't 64-bit safe (incorrect 32/64bit comparison)
--HG--
extra : convert_revision : 9b65dfcae9f7d70788806afc4f3b989e32c601fe
2010-05-05 10:47:36 -04:00
Brendan Eich
399bb672d5
Pick initialization nit.
2010-05-11 14:05:35 -07:00
Robert Sayre
0821fc2de4
Merge.
2010-05-11 16:37:47 -04:00
Robert Sayre
bcf510f2ff
Backed out changeset 60c4693a80ef
2010-05-11 16:37:18 -04:00
Robert Sayre
2777416cca
Merge.
2010-05-11 11:52:40 -04:00
Robert Sayre
a354ba1cfc
Backed out changeset 919950c7f0f0
2010-05-11 11:52:17 -04:00
Robert Sayre
56652121fd
Backed out changeset e0d454817dfd
2010-05-11 11:50:58 -04:00
Robert Sayre
e67fe7c99c
fix debug build bustage from Bug 559408.
2010-05-11 08:40:08 -04:00
Igor Bukanov
e5c32894ce
bug 563345 - using js::HashMap for JSRuntime::threads. r=lw
2010-05-11 09:49:28 +02:00
Igor Bukanov
443327bdc3
bug 563326 - HashMap::relookupOrAdd as a safe alternative to the add method in presence of map mutations. r=lw
2010-05-11 08:27:53 +02:00
Chris Leary
299dd52ca1
Bug 559408: Arena pool macros to methods. (r=gal)
2010-05-10 21:46:52 -07:00
Jason Orendorff
9b5693f187
Bug 564344 - Crash or "Assertion failure: slot < (this)->scope()->freeslot, at ../jsscope.h:563" @ JSObject::getSlot(unsigned int) when redefining property. r=brendan.
2010-05-10 18:43:34 -05:00
Andreas Gal
2bbccc6cff
can't trace generator close, follow up for 558754, CLOSED TREE
2010-05-07 19:19:19 -07:00
Andreas Gal
2004c301c3
fast object iteration (558754, r=brendan, CLOSED TREE).
2010-05-07 17:52:52 -07:00
Andreas Gal
b943be441e
xml[index] only works for JSXML_CLASS_LIST (564377, r=brendan, CLOSED TREE).
2010-05-07 13:33:57 -07:00
Dan Witte
8abd831785
Bug 562809 - js::HashTable::init(n) should guarantee success of next 'n' add()s. r=luke
2010-05-06 09:14:43 -07:00
Jacek Caban
6b28186055
Bug 557000 - Correctly set GCC_VERSION on mingw. r=ted
2010-04-03 14:41:33 +02:00
Robert Sayre
5690b40895
Update json.cpp comment. a=1hr
2010-04-24 19:05:48 -04:00
Ben Turner
50d613eab8
Bug 558675.
2010-04-11 15:05:07 -07:00
Brendan Eich
e3471f5fcb
Don't bother optimizing apply on arguments objects whose length property has been overridden (558609, r=dvander).
2010-04-10 20:56:16 -07:00
Mike Hommey
0a48e14b6d
Bug 541774: IDL-parser cache and .pyc files are left behind by make clean. r=ted
2010-04-10 16:02:45 -04:00
Mike Hommey
0497968eb1
Bug 541770: Clean up js/src during make distclean. r=ted
2010-04-10 16:00:49 -04:00
Blake Kaplan
689a3f2723
Bug 557728 - Split constructors into called-from-script and called-from-api. r=vlad sr=jst
...
--HG--
extra : rebase_source : 64af9e27799a36ce7cd45c885501bef139ddc44c
2010-04-08 18:20:06 -07:00
Peter Van der Beken
903db0b614
Try to fix bustage.
2010-04-06 17:02:28 +02:00
Ben Newman
b25bf72cb5
CPOW tests (bug 516522). r=jst
2010-01-21 18:25:21 -08:00
Ben Newman
163d75e1b5
Bug 541003 - CPOW: Support throwing arbitrary exceptions from content to chrome. r=mrbkap
...
* * *
CPOW-specific exceptions (bug 541003). r=mrbkap
2010-01-22 12:52:57 -08:00
Ben Newman
1c9d92dfb9
Bug 540126 - CPOW: Let PObjectWrapper actors use ContentProcessParent::RequestRunToCompletion(). r=mrbkap sr=jst
2010-01-20 18:24:14 -08:00
Peter Van der Beken
42d3a70ee1
Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Use flags on DOMCI to be able to cast instead of QI. r=jst.
...
--HG--
extra : rebase_source : b33953705ace2b6c2171f32fcf7c0157a1f76173
2010-01-12 15:24:00 +01:00
Jeff Walden
0b04dfbcc9
Bug 534377 - Object literal duplicate-property checking doesn't work for same property as number and as string. r=jimb
2009-12-24 16:10:18 -05:00
Blake Kaplan
bb1b00d30e
Bug 533882 - Don't call into CAPs when we don't have to. r=jst sr=bzbarsky
...
--HG--
extra : rebase_source : 534bfae23aa5c1de4229b5259ba48599aef69a12
2009-12-16 17:40:14 -08:00
Peter Van der Beken
0578abb1ad
Fix warning.
2010-04-08 14:07:28 +02:00
Dan Witte
233a77bbe4
Bug 557413 - Fix race condition building static and shared libraries. r=ted
2010-04-08 16:03:06 -07:00
Blake Kaplan
f2f7a9e028
Bug 557346 - Try harder to fill report->ucmessage in when reporting errors.
2010-04-08 15:57:19 -07:00
Michael Wu
b8bf7067a4
Bug 557303 - Include stdarg.h in jsscan.h, r=jimb
2010-04-08 12:06:54 -07:00
Blake Kaplan
f3bccc63ee
Fix bug 554448. r=jst sr=sicking
...
--HG--
extra : rebase_source : d5b72e262ed2c9da30fae7fb4b4ea8ad75f511c4
2010-03-25 14:38:45 -07:00
Blake Kaplan
33bd565c3b
Bug 386635 - Compatibility hacks to make evalInSandbox continue to work for GreaseMonkey. r=jst
...
--HG--
extra : rebase_source : 3784e3ea135dbb53cd5a935369a58627bb73fb7d
2010-03-23 14:11:50 -07:00
Blake Kaplan
63886e99f2
Bug 386635 - Automatically wrap sandboxes in security wrappers to make them easier to use safely. r=jst
...
--HG--
extra : rebase_source : c21431a5de17359b622c71061802b9f1713fcc8f
2010-02-11 17:04:41 -08:00
Dan Witte
89a5523e7f
Bug 557413 - ar: ctypes/libffi/.libs/libffi.a: Resource temporarily unavailable. r=bsmedberg
2010-04-07 14:03:34 -07:00
Ben Turner
ba2cd42a88
Bug 553128 - 'Add better support for typed arrays in structured clone'. r=vlad+jst+jorendorff.
2010-04-07 13:55:12 -07:00
Ben Hearsum
c38c503940
bug 554392: Tracking bug for build and release of Firefox 3.7a4 - version bumps to 1.9.3a5pre/3.7a5pre
...
--HG--
extra : rebase_source : e870a851a205062bca0082049283404207a16601
2010-04-07 14:04:51 -04:00
Olli Pettay
c14b02896e
Bug 519741 - Quickstub nsIDOMRange, r=peterv
2010-04-07 18:25:26 +03:00
Ginn Chen
c3fc2f9d1c
Bug 550371 mozalloc failed to build on Solaris r=bsmedberg
2010-04-07 14:16:32 +08:00
Ben Newman
b3cb7ea79d
Bug 516522 - CPOW: Cross-Process (JavaScript) Object Wrapper. r=mrbkap r=bent sr=jst
2009-11-06 12:43:39 -08:00
Jason Orendorff
523160aa40
Bug 480850 - Add JSAPI function JS_New (identical to tracemonkey/rev/869bebcf1f21). r=mrbkap.
2010-03-17 10:22:13 -05:00
Doug Turner
b6fe4bd112
today is two merge monday
2010-03-22 22:05:25 -07:00
Johnny Stenback
5de9282f0d
Backing out 2cf18052b8ee to fix orange.
2010-03-22 18:43:13 -07:00
Johnny Stenback
c7621f2611
Backed out changeset 2cf18052b8ee to fix orange.
2010-03-22 18:33:33 -07:00
Blake Kaplan
899efe2f6e
Bug 546573 - EnsureInnerWindow from wrappers. r=jst sr=bzbarsky
2010-03-22 15:46:37 -07:00
Mike Hommey
68420b12e8
Bug 550704 - js/src/config/check-sync-dirs.py doesn't check file contents.
...
r=ted.mielczarek.
2010-03-20 18:45:32 +01:00
Doug Turner
9e52c27932
merge from mozilla-central. no merges required
2010-03-23 02:53:35 -07:00
Ben Newman
0c4845ffec
Bug 553448 - nsScriptSecurityManager::ContentSecurityPolicyPermitsJSAction should return JS_TRUE when no subjectPrincipal exists. r=mrbkap sr=dveditz
...
--HG--
extra : rebase_source : c47d6d55063c115921ee89114c4439444883c37d
2010-03-18 17:27:39 -07:00
Peter Van der Beken
3e3654ffca
Fix for bug 540848 (Add appendChild/insertBefore/replaceChild/removeChild on nsINode). r=bz.
...
--HG--
extra : rebase_source : 4550ff196ab5fd1acbc72e7c94b7a31d073ae5dd
2010-03-17 16:06:19 +01:00
Blake Kaplan
bb5df50c12
Bug 552516 - Don't create a temporary context for the new sandbox object. r=igor
...
--HG--
extra : rebase_source : 78b20a13d174f1ddf0b47556e9ea39fbe724c2cb
2010-03-17 17:38:16 -07:00
Ben Turner
0bdadbfbee
Bug 550275 - 'Implement the HTML5 structured clone algorithm'. r=jst+mrbkap, sr=jst.
2010-03-17 12:55:45 -07:00
Bob Clary
a1c1eb8963
bug 552218 - mark ecma/Date/15.9.5.14.js, ecma/Date/15.9.5.34-1.js, ecma_3/Date/15.9.5.5.js as random on Linux due to DST issues.
2010-03-16 18:08:30 -07:00
Ehsan Akhgari
21485ce94f
Bug 458037 - Implement isContentEditable; r=bzbarsky sr=roc
...
--HG--
extra : rebase_source : fdcbc217e41e8c1a43bfd7c41a8cc6c6169c588f
2010-03-10 14:10:09 -05:00
Ben Hearsum
4c89a10a78
bug 551278: Tracking bug for build and release of Firefox 3.7a3 - version bumps to 1.9.3a4pre/3.7a4pre. r=me, patch=Tymerkaev.
2010-03-15 12:28:27 -04:00
Brendan Eich
bfa3f5fb86
Fix copyright notice.
2010-03-14 15:33:13 -05:00
Brendan Eich
371b9215e0
NPOTB: fix #ifdef NARCISSUS code.
2010-03-14 15:26:55 -05:00
Brendan Eich
b952a1bccf
Fix dictionary-mode scope property node alloc to happen inside rt->gcLock (538307, r=jorendorff).
2010-03-03 17:14:20 -08:00
Blake Kaplan
5d51b081d8
Bug 550356 - Enumeration over COWs should work. r=jst
...
--HG--
extra : rebase_source : 2cb53a88893181c09c969cab0e46188c62acd0fb
2010-03-05 02:03:05 -08:00
Blake Kaplan
ea8d98106a
Bug 542428 - Make wrappers aware of each other. r=jst
...
--HG--
extra : rebase_source : 94d8ce151abbbc5d75b1261e6a2c6cad117d047e
2010-02-11 17:04:41 -08:00
Blake Kaplan
86a7e9e618
Bug 524994 - Flatten out wrapper hierarchy. r=jst
...
--HG--
extra : rebase_source : e120cb38c82f7bbc54751558f5d77a28a5ed2a04
2010-01-19 15:44:42 -08:00
Blake Kaplan
b68606dbeb
Bug 533600 - Write a function to figure out what type of wrapper to create. r=jst, peterv, bz
...
--HG--
extra : rebase_source : 9a3e7a9cf8e205db6caf4d741fd13a37f5a27384
2010-01-12 15:41:44 -08:00
Blake Kaplan
92b000d2bc
Bug 536137 - SJOWs don't enumerate properties named 'next'. r=jst
...
--HG--
extra : rebase_source : e43aa62a06885f9320feaada6ae6da5556e800bd
2010-01-04 22:59:46 -08:00
Joel Maher
d050afae06
Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE
2010-03-12 13:53:36 -08:00
timeless@mozdev.org
643a7b230b
Bug 551088 fix xpconnect signed warnings
...
r=dbradley
--HG--
extra : rebase_source : 01a2089bc2a3f3a402acaab68b8b9a6bce92bb09
2010-03-12 07:50:12 +01:00
timeless@mozdev.org
422c4d280c
Bug 187796 make unimplemented constructors in mozJSComponentLoader.cpp private
...
r=dbradley
--HG--
extra : rebase_source : 11c1d83d14854f124ddb6342cad99a01f84e8673
2010-03-12 07:50:10 +01:00
Igor Bukanov
ede86c56d9
Bug 536306 Crash [@ checkReportFlags ] occurs when loading Eventbug and Selenium IDE
...
r=jorendorff
--HG--
extra : rebase_source : 5cc4b4b70811b05a3f7088eddfa0d699184060ef
2010-03-12 07:50:10 +01:00
Ben Newman
6347fe88f3
Bug 553448 - nsScriptSecurityManager::ContentSecurityPolicyPermitsJSAction should return JS_TRUE when no subjectPrincipal exists. r=mrbkap sr=dveditz
2010-03-18 17:27:39 -07:00
Jason Duell
1e8125a004
Fix bug 551850 (xpcshell broken for e10s on windows). a=jae-seong lee, r=cjones
...
This will hopefully fix the e10s windows tree that's been red since March 8th (!)
--HG--
extra : rebase_source : a27dd77b14763cfc72a9cee61123ee63a3aed94b
2010-03-19 08:35:57 -07:00
Jason Duell
a5f74621b1
Merge from mozilla-central (rev 783ef71b479e) to e10s tree; gets xpcshell working again.
2010-03-18 14:59:34 -07:00
Doug Turner
85bd4fb391
Merge with mc
2010-03-17 10:37:32 -07:00
Doug Turner
f295d7422b
Merge
2010-03-12 15:20:36 -08:00
Doug Turner
16e2fd5fe7
Merge. manually merged. modules/plugin/test/testplugin/nptest.cpp, testing/xpcshell/head.js.
2010-03-10 19:13:35 -08:00
Chris Jones
d62eb460f3
Merge racing pushes
2010-03-08 14:20:39 -06:00
Doug Turner
e91ddd6b67
Fixing js/config/rules.mk to match mozilla-central
2010-03-09 00:11:08 -08:00
Chris Jones
733adfeaaf
Fix some merge bustage.
2010-03-08 14:16:41 -06:00
Doug Turner
d08632917d
Merge with mc
2010-03-08 10:09:55 -08:00
Doug Turner
48e6fd8d9a
Bug 550658 - OS Libs should include qt os libraries. js config.mk change. r=ted
...
--HG--
extra : rebase_source : cdd18e60444210d5093bfc0bbdc4acfcd74e12a0
2010-03-08 09:27:48 -08:00
Ginn Chen
e771c422ae
Bug 548218: Reference to static function in function templates not allowed with Sun Studio compiler r=bsmedberg
2010-03-08 17:36:19 +08:00
Ginn Chen
42dacb38cb
Bug 550154: PGO build issue on Solaris SPARC r=ted.mielczarek
2010-03-08 17:35:41 +08:00
Sid Stamm
47a3291b46
bug 515443 CSP no-eval support. r=mrbkap,brendan
2010-03-08 00:24:50 -08:00
Clint Talbert
7ffd9496bc
Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box
2010-03-07 17:34:23 -08:00
Joel Maher
ef6c5fda3d
Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte
2010-03-07 16:08:05 -08:00
Uli Link
094757ed9b
Bug 537784: [AIX] Build bustage in js/src/jsstdint.h r=ted
2010-03-06 12:59:41 -05:00
Walter Meinl
7d8b49cff5
Bug 550542: [OS/2] Followups for xmalloc r=cjones
2010-03-06 12:58:04 -05:00
Mike Hommey
25d57bf886
Bug 542468 - js/src/config/check-sync-dirs.py fails when running in a built environment. r=ted
2010-03-06 15:10:12 +01:00
Doug Turner
5daaf36bf1
Merge
2010-03-01 15:36:51 -08:00
Chris Jones
bc05dd163b
Merge from mozilla-central
2010-02-22 21:31:18 -06:00
Olli Pettay
72dc86132d
Bug 542242 - E10s, content process event handlers, r=jst, r=bsmedberg
2010-02-20 19:05:20 +02:00
Mike Hommey
82b5d8c518
Bug 541767 - "Various problems with how config/my{config,rules}.mk are handled" [r=ted.mielczarek]
2010-02-20 05:12:00 -05:00
Serge Gautherie
a2e80628c2
Bug 534408 - Core bug 514665 dropped/replaced USE_SHORT_LIBNAME uses: port that to c-c (apps); (Av1-MC) Remove obsolete MOZ_MOVEMAIL and MOZ_STATIC_MAIL_BUILD.
...
r=ted.mielczarek.
2010-03-05 21:58:12 +01:00
Robert O'Callahan
796c20d53c
Backed out changeset 0923925b4b8f
2010-03-05 21:13:58 +13:00
Vladimir Vukicevic
de69534814
b=550351; don't abort recording when accessing out of range typed array element (return undefined instead); r=dvander
2010-03-04 16:49:31 -08:00
Vladimir Vukicevic
e86557b1a2
b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 3, DOM-side implementation; r=bz
2010-03-03 16:40:27 -08:00
Chris Jones
2141078f6e
Bug 441324, part 3: Configure and build changes for libmozalloc. r=bsmedberg
2010-03-03 23:02:57 -06:00
Chris Jones
f0560d9e8e
Bug 441324, part 1: Shuffle around includes to avoid problems with #define malloc et al. r=bsmedberg
2010-03-03 23:02:55 -06:00
Robert O'Callahan
daba5acae2
Backing out bug 534467 to try to fix test failure
2010-03-04 17:50:57 +13:00
Robert O'Callahan
a976e4bcd0
Backed out changeset 1672d4c79e82
2010-03-04 17:50:28 +13:00
Robert O'Callahan
e2fa3fbcee
Backing out fix for bug 543682 because test failed
2010-03-04 16:36:31 +13:00
Robert O'Callahan
2a09856fab
Backed out changeset b4268cb7bf48
2010-03-04 16:36:08 +13:00
Vladimir Vukicevic
42ec90deac
b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 3, DOM-side implementation; r=bz
2010-03-03 16:40:27 -08:00
Vladimir Vukicevic
02fe8f1b07
b=534735; use custom quickstubs for canvas fillStyle and strokeStyle; r=bz
2010-03-03 16:40:25 -08:00
Vladimir Vukicevic
73d785248f
b=543682; don't let js array holes escape via typed arrays; r=jorendorff
2010-03-03 16:20:41 -08:00
Serge Gautherie
b1f774fef1
Bug 521673 - Remove remnant OJI references; (Av1) /js/src/configure.in.
...
r=ted.mielczarek.
2010-03-03 11:12:28 +01:00
Serge Gautherie
c6829f1372
Bug 509179 - Make NS_ENABLE_TSF configurable; (Cv2) /js/src/configure.in: Copy (the useful part of) it, Remove checks for oleacc.idl and atlbase.h too.
...
r=ted.mielczarek.
2010-03-03 11:12:28 +01:00
Brad Lassey
65e93ade37
follow up to bug 548207, test for WINCE instead of CROSS_COMPILE due to make check failure on OSX
...
--HG--
extra : rebase_source : 2b0ab634f5286e6317e147daa0cd790f633acdbf
2010-03-10 15:35:31 -05:00
Brad Lassey
8857f4c08a
bug 548207 - allow make check to run over remote connection from devicemanager.py r=ted,ctalbert,jmaher
...
--HG--
rename : build/devicemanager.py => build/mobile/devicemanager.py
2010-03-10 13:36:45 -05:00
Jim Mathies
30f4555662
back out of patch for bug 517097 due to bustage. CLOSED TREE
2010-03-10 10:51:15 -06:00
Mitchell Field
4d16a7c52c
bug 517097 - make enabling debug symbols more sane r=ted
...
--HG--
extra : rebase_source : 7abb0297202f10afe80c5a74e47899b4762095a2
2010-03-02 06:24:00 -05:00
Ginn Chen
9063d148c7
Bug 550527 fix the typo r=dougt
2010-03-10 18:28:16 +08:00
Brad Lassey
bb55fe310f
backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests
2010-03-09 22:33:11 -05:00
Joel Maher
aef3dc32c3
Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert
2010-03-09 08:55:39 -08:00
Daniel Holbert
4b4d581038
Sync bug 544190's changes to config/rules.mk into js/src/config/, to fix "make check" bustage from that bug
2010-02-18 15:19:08 -08:00
Benjamin Smedberg
9485b136dd
Bug 528250 - Unify all the intermediate tiers (xpcom/necko/external/gecko/toolkit) into one tier_platform, r=ted sr=vlad
2009-11-12 14:37:34 -05:00
Nick Thomas
9e11a7c18b
Bug 548093, bump nightly version to 3.7a3pre, r=catlee CLOSED TREE
2010-03-01 12:27:40 +13:00
Robert Sayre
27b961ed50
Merge tracemonkey to mozilla-central.
2010-02-24 12:25:40 -08:00
David Anderson
c99331c609
Better fix for recursion and let blocks (bug 547791, r=gal).
2010-02-23 16:14:34 -08:00
Luke Wagner
06cc81805b
Bug 545165 - fix/simplify JSOP_CONCATN (r=jorendorff)
2010-02-19 19:22:37 -08:00
Bob Clary
28f3725d79
JavaScript Tests - disable js1_5/Regress/regress-451322.js due to slowness.
2010-02-23 07:58:00 -08:00
Andreas Gal
ad719a55e1
The test for bug 352455 is bogus, a regexp is a callable object and thus can be a getter (bug 547912 changed this behavior).
2010-02-23 02:46:46 -08:00
Andreas Gal
18afa9f743
Setters/getters can be callable objects (547912, r=brendan).
2010-02-22 22:25:09 -08:00
Andreas Gal
a2ae493dd5
Merge.
2010-02-22 20:08:15 -08:00
Andreas Gal
8d92d5fff5
Don't crash on 'typeof null' in compiled code (follow-up fix for 547314).
2010-02-22 20:07:41 -08:00
Jeff Walden
53b100ce6f
Typo fix, r=waylon
2010-02-22 19:43:41 -08:00
Andreas Gal
1aabb47ea6
Followup fix for 547314. We have to unwrap in the typeOf hook due to wrapper lameness.
2010-02-22 19:30:22 -08:00
Andreas Gal
7fc1c8efb0
Introduce ObjectOps for typeOf and make trace a mandatory ObjectOp (547314, r=brendan).
2010-02-22 16:30:22 -08:00
Andreas Gal
bfa1d960a9
remove unused label have_fun (no bug, r=brendan).
2010-02-22 16:27:19 -08:00
Brendan Eich
67355cdc47
Fix bogus assertion (537854, r=mrbkap).
2010-02-22 15:30:35 -08:00
Andreas Gal
bd338bc100
Test whether obj IsCallable instead of VALUE_IS_FUNCTION for call and apply (547046, r=mrbkap).
2010-02-22 14:07:50 -08:00
David Anderson
fd9b61d7cf
Fixed assertion when using recursion in a let block (bug 547791, r=gal).
2010-02-22 13:57:04 -08:00
David Anderson
980a86ab4c
Fixed crash in GetPropertyByName (bug 547299, r=dmandelin).
2010-02-22 13:45:06 -08:00
Brendan Eich
493977bbcb
s/pushAtom/AppendAtom/ name style police raid.
2010-02-22 13:26:57 -08:00
Robert Sayre
84d7499b25
Merge mozilla-central to tracemonkey.
2010-02-22 12:29:54 -08:00
Bob Clary
5efdcdfa7a
JavaScript Tests - fix manifests for bugs 430133, 509354, 523846, 537863, 539488, 545980, 546615
2010-02-22 09:52:02 -08:00
Bob Clary
cb189e82b5
JavaScript Tests - add tests for bugs 375651, 390598, 429739, 451322, 460886, 465145, 465686, 469405, 469547, 470619, 472533, 473282, 474529, 476257, 476653, 476871, 479567, 482783, 489682
2010-02-22 09:52:01 -08:00
Andreas Gal
7ffe32a349
bug 547086 fixed bug 322957
2010-02-21 23:30:26 -08:00
Andreas Gal
1988a59472
Reland previously backed out bug 547086, it didn't cause the regression after all.
2010-02-21 00:11:54 -08:00
Andreas Gal
6e92a92c50
calculating 'this' fails if the object has no parent (547483, r=mrbkap).
2010-02-20 18:35:23 -08:00
Robert Sayre
b2bb3cb03a
Patch for bug 547086 is causing a crash in the js tests. Backed out changeset 10a40c748aed
2010-02-20 07:54:48 -08:00
Andreas Gal
8afa0aa3fe
js_TryMethod suppresses 'too much recursion' exception, going in circles indefinitely (bug 547086, r=mrbkap).
2010-02-19 17:34:32 -08:00
Andreas Gal
4934b15e9e
Remove LiveConnect kludge from call path (1.9.3 will not have LiveConnect according to jst, r=brendan).
2010-02-19 17:31:44 -08:00
Luke Wagner
43ede71344
No bug, fix MSVC bustage from 9ee31f5535ae
...
--HG--
extra : rebase_source : 28eb0357555359caf1e956fb366ed63d0be2a29b
2010-02-19 15:56:46 -08:00
Nicholas Nethercote
080c011cf3
Update nanojit-import-rev stamp.
2010-02-20 10:44:12 +11:00
Nicholas Nethercote
99f1ec6fce
Bug 531326 - nanojit: improve int32 and int64 constant generation in X64 backend. r=rreitmai.
...
--HG--
extra : convert_revision : 3fa60904a28ec82b54d7e8a9e9fac6c29e0a5324
2010-02-20 07:31:41 +11:00
David Mandelin
e9f1ec6c0c
No bug, fix build bustage from 40c4ec17770d, no_r=me
2010-02-19 14:06:18 -08:00
Igor Bukanov
eef84ebc59
bug 545529 - followup to remove the cache stats output in the normal build
2010-02-19 23:58:31 +03:00
Jason Orendorff
68642d97db
Bug 547274 - js_InitArrayClass is not thread-safe. r=brendan.
...
--HG--
extra : rebase_source : 4b9ca0af846d7b77601ebbbf642941ffd136c9c8
2010-02-19 13:05:00 -06:00
Luke Wagner
9c1074603c
Bug 515812 - fix hash table constiness (r=dvander)
2010-02-19 10:02:16 -08:00
Brendan Eich
ce5b37f4ed
Don't mutate a used name node that has been deoptimized before bailing from BindNameToSlot (546069, r=jorendorff).
2010-02-19 11:27:35 -08:00
Brendan Eich
aaff05c150
Don't mutate a used name node that has been deoptimized before bailing from BindNameToSlot (543436, r=jorendorff).
2010-02-19 11:21:19 -08:00
Blake Kaplan
d2eb7efd7b
No bug. Make this constructor protected instead of private so that subclasses can access it. r=luke
2010-02-19 11:03:18 -08:00
Jason Orendorff
2809d3e792
Bug 547067 - Don't overload test() in JSDefinition. r=brendan.
2010-02-19 12:14:36 -06:00
Jason Orendorff
4d96795a35
Fix typo in patch for bug 545529 to fix non-JS_THREADSAFE DEBUG builds. r=bz on IRC.
2010-02-19 12:25:37 -06:00
Igor Bukanov
debaa592f7
bug 545529 - caching Class.prototype lookups. r=brendan
2010-02-19 20:44:23 +03:00
Nicholas Nethercote
2631a1b7cf
Bug 539874 - nanojit: remove LIR_ov (TM-specific part). r=gal.
2010-02-19 15:12:37 +11:00
Nicholas Nethercote
f6908e48c7
Update nanojit-import-rev stamp.
2010-02-19 15:09:42 +11:00
Nicholas Nethercote
a361abc6fa
Bug 539874 - nanojit: remove LIR_ov. r=edwsmith, Jacob.Bramley.
...
--HG--
extra : convert_revision : eb5f9b4138530e15b3ffd478071bf98bb7495405
2010-02-19 15:04:55 +11:00
Nicholas Nethercote
22610a9675
Temporarily disable an assertion; bug 547063 has details. r=me.
...
--HG--
extra : convert_revision : 0eb90b867a1cb9f998cdeaa9b67c984374f8fdb9
2010-02-19 08:41:14 +11:00
Steven Johnson
b965c79326
Bug 546765 - njcpudetect.h needs love for OSX-on-ARM (r=nnethercote)
...
--HG--
extra : convert_revision : c58036240635ccce9d084c94c6f2aa23be32602d
2010-02-17 16:19:53 -08:00
Nicholas Nethercote
33d5dd6013
Follow-up for bug 542133: fix ARMv5 bustage
...
--HG--
extra : convert_revision : 5a37374d04fea35b0167d057310aee6d3cadca16
2010-02-17 14:53:33 +11:00
Brendan Eich
c4b4c765a4
Fix funarg analysis to cope with escaping kids of a named function expression that use that lambda by name (545980, r=jorendorff).
2010-02-18 16:32:15 -08:00
Jason Orendorff
4fb42b4c2a
Bug 546615 - Crash [@ BindNameToSlot] or "Assertion failure: cg->staticLevel >= level, at ../jsemit.cpp". r=brendan.
2010-02-18 16:01:25 -06:00
Gregor Wagner
dc4711d401
BUG 545303: TM: non API function for JS_CallTracer r=igor
2010-02-18 13:16:02 -08:00
Luke Wagner
a65ea12a40
Bug 546545 - don't trace slow natives with fun->u.n.extra > 0 (r=dvander)
2010-02-17 14:19:43 -08:00
Nicholas Nethercote
4cda0a88e8
Temporarily comment out assertion that is failing bogusly to fix WinMo builds; will be overwritten by the next NJ-to-TM merge, so we need to fix MSVC's compile-time ARM arch detection in the meantime. r=me.
2010-02-18 10:41:48 +11:00
Luke Wagner
6cc06f3b7b
Bug 546668 - obj_eval should still call js_GetScriptedCaller (r=mrbkap)
2010-02-17 11:16:11 -08:00
Luke Wagner
fc7cbdfdc8
Make HashMap::put overwrite (r=jorendorff)
2010-02-17 10:47:26 -08:00
Nicholas Nethercote
dd646b8dc5
Update nanojit-import-rev stamp.
2010-02-17 13:42:07 +11:00
Nicholas Nethercote
ddcc50350c
Follow-up for bug 542133: fix ARM bustage.
...
--HG--
extra : convert_revision : c3de98b9ee6eb052f7fda330172cc740f941605c
2010-02-17 13:36:29 +11:00
Steven Johnson
eecc554117
change 71a045ccce43 inadvertently backed out change b8f64e82da3f; this restores the latter (r=stejohns)
...
--HG--
extra : convert_revision : 2fbb1bbebee5e0872ea3d485a40d7f71f785f319
2010-02-16 11:59:55 -08:00
Steven Johnson
ea07a846cc
fix unreachable-code warning for LIR_div/LIR_mod on non-x86 platforms (r=stejohns)
...
--HG--
extra : convert_revision : f1d89a6a410719c5d7563ff5ca214c05c7c128a2
2010-02-16 11:21:52 -08:00
Luke Wagner
df420a425b
Bug 542797 - change obj_eval from JSNative to JSFastNative (r=mrbkap)
...
--HG--
extra : rebase_source : 5138b86418081cfa331b05947e5988c1f81065ef
2010-02-16 17:41:39 -08:00
Luke Wagner
87a5e61db3
Bug 546491 - fix tracevis (r=jorendorff)
2010-02-16 13:41:40 -08:00
Nicholas Nethercote
17ec73c38c
Follow-up for bug 542133: include njconfig.cpp in TM lirasm builds. r=me.
2010-02-17 08:56:13 +11:00
Nicholas Nethercote
fbc5612f2e
Bug 542133 - Add a real NJConfig struct to nanojit (TM-specific part). code=stejohns, r=nnethercote.
2010-02-16 15:07:14 +11:00
Nicholas Nethercote
c4144cff0a
Update nanojit-import-rev stamp.
2010-02-16 15:00:24 +11:00
Steven Johnson
894487e422
Bug 542133 - Add a real NJConfig struct to nanojit (r=edwsmith,r=nnethercote)
...
--HG--
extra : convert_revision : 353c06e32329377cc9ed5f66eeb6bcaf72ff3aea
2010-02-15 17:56:41 -08:00
Nicholas Nethercote
e89632b2a1
Bug 546171 - lirasm: move VerboseWriter to the end of the pipeline. r=stejohns.
...
--HG--
extra : convert_revision : 49a15d14c359d9fe889d47d2fd8457b06af4bc2c
2010-02-16 12:21:13 +11:00
Luke Wagner
f7128a84c8
Fix warnings, HashTable::sSizeLimit, tl::NBitMask (r=njn)
2010-02-15 16:07:57 -08:00
Nicholas Nethercote
421014034c
merge
2010-02-15 17:29:18 +11:00
Nicholas Nethercote
b6f1f05d74
Backed out changeset 3c673457c90b for bug 507089 due to mysterious Windows bustage.
2010-02-15 17:28:56 +11:00
Nicholas Nethercote
ca6e184a43
Update nanojit-import-rev stamp.
2010-02-15 17:25:48 +11:00
Nicholas Nethercote
78e2d52f98
merge
...
--HG--
extra : convert_revision : 035a5165bc8bbf7940415d4802bf9b14d1226740
2010-02-15 17:24:21 +11:00
Nicholas Nethercote
52ac8a6adb
Minor follow-up for bug 542326: fix a miscategorized case label. r=me.
...
--HG--
extra : convert_revision : ac0fcaac8b166a1507e2902eefb755f806703872
2010-02-15 12:24:13 +11:00
Nicholas Nethercote
b6ccdddb0c
Whitespace-only changes to trigger a rebuild.
2010-02-15 15:18:37 +11:00
Nicholas Nethercote
3489265cdf
Bug 507089 - TM/nanojit: introduce get/set methods for CallInfo::_argtypes (TM-specific part). r=jorendorff.
2010-02-15 11:12:08 +11:00
Nicholas Nethercote
f9ed876d37
Update nanojit-import-rev stamp.
2010-02-15 11:07:00 +11:00
Nicholas Nethercote
66b0d6df6b
Bug 507089 - TM/nanojit: introduce get/set methods for CallInfo::_argtypes. r=edwsmith.
...
--HG--
extra : convert_revision : 8075a19e11565e6de5f33ed829fe435e47e116ca
2010-02-15 11:01:04 +11:00
Luke Wagner
3fe7890b44
Remove JS_CEILING_LOG2 from HashTable::init()
2010-02-13 12:02:12 -08:00
Luke Wagner
f8096c6b67
Try 784ceadd60e5 again with more #pragma optimize("", off)
2010-02-06 10:14:05 -08:00
Nicholas Nethercote
84b6acf958
Bug 542326 - nanojit: add NJ_SOFTFLOAT_SUPPORTED, and only compile in support for non-universal opcodes on platforms that use them (TM-specific part). r=stejohns.
2010-02-12 12:41:50 +11:00
Nicholas Nethercote
e12b5b2d0b
Update nanojit-import-rev stamp.
2010-02-12 12:36:52 +11:00
Nicholas Nethercote
2481388fac
Bug 542326 - nanojit: add NJ_SOFTFLOAT_SUPPORTED, and only compile in support for non-universal opcodes on platforms that use them. r=stejohns,edwsmith.
...
--HG--
extra : convert_revision : 990d84e8d841139009cb2728297d81e8fc4aad27
2010-02-12 12:30:16 +11:00
Rick Reitmaier
791422e319
Bug 545113 - Compiling for MIPS fails during linking (r+rreitmai) [c.dearman]
...
Compiling tamarin-redux for MIPS fails during linking with the following error:
./libavmplus.a(Assembler.o): In function
`nanojit::Assembler::gen(nanojit::LirFilter*)':
Assembler.cpp:(.text+0x4e14): undefined reference to
`nanojit::Assembler::asm_q2i(nanojit::LIns*)'
Assembler.cpp:(.text+0x4e1c): undefined reference to
`nanojit::Assembler::asm_q2i(nanojit::LIns*)'
--HG--
extra : convert_revision : 63fda420c52dbe5b328e978ebe50c297ff2cb729
2010-02-11 15:52:18 -08:00
Brendan Eich
b83b1b23c3
Fix two subtle bugs to-do with partial flat closures (545573, r=jorendorff).
2010-02-11 14:56:59 -08:00
Jason Orendorff
095bd890ef
Bug 539829 - Encapsulate JSScope::flags. r=Waldo.
...
--HG--
extra : rebase_source : ced4f057e715075d8e4eff343e824d8934152a7e
2010-02-05 18:11:13 -06:00
Brendan Eich
83e657d499
Fix orange in wake of patch for bug 542002.
2010-02-10 18:58:49 -08:00
Nicholas Nethercote
0f6e815ee6
merge
2010-02-11 11:44:38 +11:00
Nicholas Nethercote
4f4d8ad70e
Bug 543401 - nanojit: merge SoftFloatFilter implementations (TM-specific part). r=gal.
2010-02-11 11:16:50 +11:00
Nicholas Nethercote
dded46e8aa
Update nanojit-import-rev stamp.
2010-02-11 11:15:20 +11:00
Jeff Walden
b7423ebf62
Bug 545275 - Remove JS_HAS_FILE_OBJECT support as it's rather broken (and unlikely to be fixed soon) and the presented API isn't very good. r=mrbkap
2010-02-09 17:27:02 -08:00
Brendan Eich
c9fed979f6
Bug 542002 - Optimize to flat closures even if some upvars can't be copied (r=jorendorff).
2010-02-10 15:17:52 -08:00
David Anderson
07131ff6a6
Changed --enable-jit to --enable-tracejit (bug 545245, r=sayrer).
2010-02-09 16:48:56 -08:00
Robert Sayre
f146d11898
Merge mozilla-central to tracemonkey.
2010-02-09 13:08:35 -05:00
Bob Clary
7e34ae5af7
bug 528404 - disable e4x/XML/regress-324688.js due to random time outs, r=sayrer.
2010-02-09 09:19:58 -08:00
Robert Sayre
8f7df8dabc
Add test for bug 470795.
2010-02-09 11:15:19 -05:00
Boris Zbarsky
db71c4ce64
Bug 538663 followup. Don't rely on having python 2.5. r=jorendorff
2010-02-08 15:53:32 -05:00
Luke Wagner
fda9474440
Backout 784ceadd60e5 until PGO stops crashing
2010-02-08 10:28:07 -08:00
Leon Sha<leon.sha@sun.com>
65b4deca58
Bug 544422 - [Nanojit] Implement asm_f2i on sparc. r=stejohns
...
--HG--
extra : convert_revision : 4849b094bea2e2ff58c86ca09ef4a8f652777594
2010-02-08 15:34:55 +08:00
Leon Sha<leon.sha@sun.com>
ca782981e4
Bug 544445 - [Nanojit] Increase NJ_MAX_STACK_ENTRY for sparc to 8192. r=stejohns.
...
--HG--
extra : convert_revision : d04830e99d19b0e5fc182404b35393430daaa4b2
2010-02-08 15:07:53 +08:00
Luke Wagner
1dec67cbc6
Attempt to prevent MSVC ICE during PGO
...
--HG--
extra : rebase_source : 1d3e37dd1b029bd4161a71ff7ee09097af31406a
2010-02-07 20:57:30 -08:00
Leon Sha
93f678b877
Bug 544447 - [Nanojit] ./bin/lirasm crash on Solaris x86 compile with Sun Studio 12u1. r=stejohns
...
--HG--
extra : convert_revision : 00e2b79d00023633f87d862f2bdbbebc2e72789c
2010-02-08 12:42:53 +08:00
Nicholas Nethercote
47eb9083c4
Bug 543401 - nanojit: merge SoftFloatFilter implementations. r=gal,stejohns.
...
--HG--
extra : convert_revision : 485ae0bec97b3ec9c55ac943f81a2992c8153549
2010-02-08 08:35:35 +11:00
Nicholas Nethercote
87ea71a72d
Bug 543144 - Typechecker causes assertions in softfloat. r=stejohns,dschaffe.
...
--HG--
extra : convert_revision : 7d2cd297ad03f3a9d1d7722027dbb1284dd49add
2010-02-06 02:14:48 +11:00
Leon Sha<leon.sha@sun.com>
4d134396af
Bug 544178 - [Nanojit] Assembler code for LIR_ult is wrong on sparc. r=stejohns
...
--HG--
extra : convert_revision : 955a870d35fa8ef0c3d4413f7e7831c38cfa5329
2010-02-05 09:42:57 +08:00
Jeff Walden
b41ff2aa66
Bug 521456 - Propagate the callness of eval while decompiling, so that a NewExpression containing an eval() is properly parenthesized. r=mrbkap
2010-01-08 17:25:09 -06:00
Robert Sayre
7ce34023fa
Try to fix js1_8_5/extensions/ jsreftest directory. see bug 544757.
2010-02-07 10:44:15 -05:00
Igor Bukanov
c92f45948f
bug 544656 - fixing keepAtoms warning with GCC. r=brendan
2010-02-07 11:22:45 +03:00
Luke Wagner
3b828cd733
Fix &va_list on x86-64, quiet warning
2010-02-06 21:28:18 -08:00
Luke Wagner
fbab1d732f
Fix opt test bustage
...
--HG--
extra : rebase_source : 232d3e154a7c2d5fc0cc31cde68cf58657c9cea4
2010-02-06 15:25:38 -08:00
Igor Bukanov
867329ad29
bug 530157 and bug 544603 - disabling for now tests based on the GC timing. The background GC thread made that unreliable.
2010-02-07 00:25:42 +03:00
Luke Wagner
9dabae3069
Bug 542091 - remove JS_PushArguments[VA] (r=mrbkap,dveditz)
2010-02-06 12:26:24 -08:00
Luke Wagner
22b7692a6a
Bug 515812 - Double hashing template (r=jorendorff)
2010-02-06 10:14:05 -08:00
Jason Orendorff
ec026e759a
In the JS shell, evalcx() sandboxes should have JSCLASS_GLOBAL_FLAGS. This permits the JIT to run. No bug, r=mrbkap on IRC.
...
--HG--
extra : rebase_source : 87b5b6ee78edf9b5034d9fa079e7976ba3660c98
2010-02-05 17:10:41 -06:00
David Anderson
611cf1768b
Fixed tracker usage not protecting against certain state changes (bug 541830, r=lw).
2010-02-05 13:28:50 -08:00
Brendan Eich
1f15a43bd7
Fix property cache hit guarding to-do with the global object (544161, r=jorendorff).
2010-02-05 11:46:57 -08:00
Igor Bukanov
ce244f8dac
bug 543839 - followup to skip the test if evalcx is not available. This should fix jsreftest orange
2010-02-05 19:14:08 +03:00
Robert Sayre
8fe9c66c7f
Merge.
2010-02-05 10:54:18 -05:00
Robert Sayre
29798de341
Merge mozilla-central to tracemonkey.
2010-02-05 10:53:48 -05:00
Igor Bukanov
75a3004377
bug 543839 - js_NonEmptyObject must lock the object. r=jorendorf
2010-02-05 10:41:54 +03:00
Vladimir Vukicevic
7a0ca93c3b
add missing js1_8_5 to Makefile.in; r=orange
2010-02-04 18:36:39 -08:00
Nicholas Nethercote
ccbdfa7a38
541491 - ARM_ARCH, ARM_VFP, and ARM_THUMB2 should be runtime options everywhere (TM-specific part). code=stejohns, r=nnethercote.
2010-02-05 12:40:04 +11:00
Nicholas Nethercote
ca8aedb65e
merge
2010-02-05 11:56:33 +11:00
Nicholas Nethercote
90d8abf497
Update nanojit-import-rev stamp.
2010-02-05 11:44:31 +11:00
Vladimir Vukicevic
b363012434
b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 2, tracing; r=gal
2010-02-04 16:36:33 -08:00
Vladimir Vukicevic
df2ba5c148
b=534467; implement Uint8ClampedArray for CanvasPixelArray; part 1; r=jorendorff
2010-02-04 16:33:40 -08:00
Vladimir Vukicevic
4c567b99e0
no bug; tests/js1_8_5 is not listed in tests/jstests.list; r=dmandelin
2010-02-04 15:49:30 -08:00
Vladimir Vukicevic
c33756956c
b=542402; add FLOAT64 to typed arrays; r=jorendorff
2010-02-04 15:31:40 -08:00
David Mandelin
7696840b5d
Bug 544128: windows compatibility for shell JSTest harness, r=dvander
2010-02-04 14:41:50 -08:00
David Mandelin
61112f8395
No bug: fix visibility warnings in GCC, no_r=me
2010-02-04 11:29:53 -08:00
Walter Meinl
f2a4f4176b
Bug 536451 - OS/2 cannot handle mozsqlite3.dll. r=ted
...
--HG--
extra : rebase_source : c1a6deb7130b1142ca58dad88a34ecdcda75a378
2010-02-04 15:51:02 +01:00
Nicholas Nethercote
3258b3f519
Bug 543384 - Multi-line assertion that makes jsfunfuzz sad. r=jruderman.
...
--HG--
extra : convert_revision : 42624af8095495e387d20c7e474dcc602694b300
2010-02-04 10:26:47 +11:00
Nicholas Nethercote
070c1a17f4
No bug. Add missing case in switch to fix compiler warning. r=me.
...
--HG--
extra : convert_revision : f8bd54f28d02464ff69422477e9139dfaa0d85ae
2010-02-04 10:22:41 +11:00
Boris Zbarsky
870b21a0c8
Bug 538663. Allow traceable natives with up to 8 arguments, and use that in quickstubs as we can. r=jorendorff
2010-02-03 16:14:14 -05:00
Steven Johnson
cd405704e7
Bug 543803 - Fix unused-variable warnings in Release ARM builds (r=rreitmai)
...
--HG--
extra : convert_revision : de2889d43d17c9ccc659c509dcb0c1749111d336
2010-02-02 12:37:59 -08:00
Jeff Walden
7e68c64269
Bug 543097 - Precompute the prototype when evaluating function expressions and regular expression literals on trace, rather than (slowly) looking it up every time. r=jorendorff
...
--HG--
extra : rebase_source : d023ded17937248bdfb23705e7477918b111746f
2010-02-01 17:20:37 -08:00
Jeff Walden
82210191cf
Backed out changeset bc8bb2def82d, something's weird with this and we try to generate 9-argument traceable natives (maxargs is 8).
2010-02-03 17:10:23 -08:00
Boris Zbarsky
ede71f67a6
Bug 538663. Allow traceable natives with up to 8 arguments, and use that in quickstubs as we can. r=jorendorff
2010-02-03 16:14:14 -05:00
Ginn Chen
08a84668b4
Bug 537076 - jslock.cpp failed to compile with Sun Studio 12u1 on Solaris. r=jorendorff.
...
--HG--
extra : rebase_source : dff24a27c0d1464e18d2abeb72a400360db3267d
2010-02-03 11:02:07 -06:00
Igor Bukanov
f74b35769d
bug 538463 - caching only single-threaded objects. r=jorendorff
2010-02-03 13:42:07 +03:00
Igor Bukanov
008691b6f9
Backed out changeset b9700adc3951 - the landing for the bug 538463 had wrong changes
2010-02-03 13:37:56 +03:00
Igor Bukanov
7aafadcc76
bug 538463 - caching only single-threaded objects. r=jorendorff
2010-02-03 12:46:10 +03:00
Jason Orendorff
fe72db3caa
Bug 543565 - Assertion failure: fp->slots + fp->script->nfixed + js_ReconstructStackDepth(cx, fp->script, fp->regs->pc) == fp->regs->sp | Assertion failure: pcdepth + ndefs <= StackDepth(script) due to bug handling JSOP_POP after JSOP_UNBRAND. r=brendan.
2010-02-02 18:20:24 -06:00
Rick Reitmaier
140845622b
Bug 504202 - MIPS target support (r+graydon,rreitmai) [chris.dearman]
...
MIPS target support added courtesy of Chris Dearman.
--HG--
extra : convert_revision : 45136ae8db067291bb4b6595f6c4319675012cc5
2010-02-01 10:22:30 -08:00
Rick Reitmaier
692af9f981
Bug 508266 - nanojit X64 backend doesn't handle 64bit jumps (r+nnethercote,edwsmith)
...
--HG--
extra : convert_revision : 84a0590762f5a804b905378b74414294ed22cbe6
2010-01-28 15:25:07 -08:00
Steven Johnson
d3917616cd
Update comment about Thumb-2 usage to be grammatically correct, per nnethercote's suggestion.
...
--HG--
extra : convert_revision : 4520d720b2e3681edfeba915cd7d359231f24de8
2010-01-28 13:57:08 -08:00
Steven Johnson
66b97ac0b3
remove arm_thumb and arm_thumb2 flags (r=rreitmai,r=nnethercote,bug=541491)
...
--HG--
extra : convert_revision : b9b31e60f28eb87842aae9325944c1d03ca1b2a7
2010-01-28 13:37:40 -08:00
Jeff Walden
906c23f6c5
Bug 540985 - Regression in Peacekeeper string benchmarks due to regexp literals no longer tracing. A prototype of this patch was by bz. r=igor
2010-01-26 18:41:30 -08:00
Brendan Eich
7be53aed44
Add jstests.list entry for regress-541455.js.
2010-02-02 11:11:07 -08:00
Brendan Eich
afa77ac32c
Add test for 541455.
2010-02-02 11:10:19 -08:00
Brendan Eich
c42c170a64
Cleanup pass on bug 543119 (r=vlad).
2010-02-01 15:50:30 -08:00
Luke Wagner
7714144859
Bug 535656 - remove JSStackFrame::dormantNext and varobj (r=waldo)
2010-01-29 18:25:16 -08:00
Vladimir Vukicevic
ac27cfa766
b=543119; typed array tracing should be more const than it is; r=gal
2010-01-29 23:03:59 -08:00
Robert Sayre
c7ce498f03
Merge mozilla-central to tracemonkey.
2010-01-29 09:51:21 -08:00
Nicholas Nethercote
247420b724
Bug 540368 - nanojit: split LIR_qlo, LIR_live and LIR_ret into two opcodes each to faciliate LIR type-checking (TM-specific part). r=dvander.
2010-01-28 09:43:36 +11:00
Nicholas Nethercote
6478f53e9b
Bug 541491 - ARM_ARCH, ARM_VFP, and ARM_THUMB2 should be runtime options everywhere (TM-specific part). code=stejohns, r=nnethercote.
2010-01-28 09:41:07 +11:00
Nicholas Nethercote
832be7e522
Update nanojit-import-rev stamp.
2010-01-28 09:38:06 +11:00
Julian Seward
c0ca91a9e9
Bug 536153 - NativeARM.cpp: Incorrect use ALUr_shi to generate compare insns. r=Jacob.Bramley.
...
--HG--
extra : convert_revision : f4ece4c13545709edbd5b8f856ec39f155223892
2010-01-28 09:31:38 +11:00
Nicholas Nethercote
b61775ba66
Bug 540368 - nanojit: split LIR_qlo, LIR_live and LIR_ret into two opcodes each to faciliate LIR type-checking (NJ-specific part). r=edwsmith.
...
--HG--
extra : convert_revision : 54cf6d39a21dc1e209d3e0e48bb6c2b61ab5f909
2010-01-28 08:45:29 +11:00
Edwin Smith
1cd47593e7
Fix unused local variable warning in NativePPC.cpp (r=me)
...
--HG--
extra : convert_revision : e58ebcf59d3eb1a75a4ad41df32db2794732284b
2010-01-27 10:17:19 -05:00
Steven Johnson
cc53ad5c4e
Bug 541491 - ARM_ARCH, ARM_VFP, and ARM_THUMB2 should be runtime options everywhere (r=rreitmai,nnethercote)
...
--HG--
extra : convert_revision : 90cd176398da34d02665e189e6311b72e8d3657d
2010-01-26 10:37:38 -08:00
Luke Wagner
89799b298a
Bug 541456 - change ConvertSupportsTojsvals not to use js_AllocStack (r=jst)
2010-01-25 08:48:07 -08:00
Igor Bukanov
836b8a84eb
bug 540805 - using reference counting only for empty scopes. r=jorendorff
2010-01-27 09:50:17 +03:00
Vladimir Vukicevic
10bddbda2d
b=542395; really enable typed array tracing and support JSOP_LENGTH; r=gal
2010-01-26 21:45:11 -08:00
Jeff Walden
de3dc07e82
Rearrange jsbuiltins.h's list of traceable natives by file. No bug, r=sparky
2010-01-26 18:20:04 -08:00
Igor Bukanov
7227718637
bug 541790 - do not purge again if the GC restarts. r=jorendorf
2010-01-26 22:27:09 +03:00
Luke Wagner
4040498e00
Fix ARM bustage, part deux
2010-01-26 04:41:00 -08:00
Nicholas Nethercote
8498d179bc
Bug 541886 - nanojit: move compile() into class Assembler (TM-specific part). r=dvander.
2010-01-26 14:06:13 +11:00
Nicholas Nethercote
7eb8623d12
Update nanojit-import-rev stamp.
2010-01-26 13:48:19 +11:00
Nicholas Nethercote
09e7e8d0a8
Bug 541886 - nanojit: move compile() into class Assembler. r=rreitmai.
...
--HG--
extra : convert_revision : f3506c693a7e8b7af089367313cbe960d7e2607f
2010-01-26 13:38:15 +11:00
Steven Johnson
1f13f206c4
Init rb to UnspecifiedReg in asm_fop (x64) to pacify compiler
...
--HG--
extra : convert_revision : 1cae250cda3ca1765fc3de8e057dccdd4522c358
2010-01-25 15:23:34 -08:00
Steven Johnson
f0de53c1ce
remove unused-parameter warning from Assembler::hint() in NativeX64.cpp to fix Linux64 build breakage
...
--HG--
extra : convert_revision : 5db4de482aca2e102551560de084c33bd4db2bc8
2010-01-25 15:04:22 -08:00
Steven Johnson
9c26cf7691
fix obviously wrong call to getTarget() in ValidateReader::read() for LIR_jtbl (r=me)
...
--HG--
extra : convert_revision : 0a24446567224c42ee3f421627ea644976fea3de
2010-01-25 11:56:01 -08:00
Steven Johnson
e0fe64337d
implement EXPANDED_LOADSTORE for ARM (code=vladimir,stejohns; r=vladimir,rreitmai; bug=534765)
...
--HG--
extra : convert_revision : 75f0d95c8bea8ceb0d9bb2dfd55aeb0d0d200bd1
2010-01-25 11:08:42 -08:00
Vladimir Vukicevic
dbeceb07e7
b=533659; tracing support for JS typed array types; r=gal
2010-01-25 17:06:36 -08:00
Graydon Hoare
a8e66a4bcd
Bug 526074 - handle nothing-to-import case in import script, r=gal.
2010-01-25 10:32:33 -08:00
Nicholas Nethercote
0789008cc7
Update nanojit-import-rev stamp.
2010-01-25 14:03:02 +11:00
Nicholas Nethercote
b2dcc26c38
Bug 538924 - nanojit: rework reservations. r=edwsmith.
...
--HG--
extra : convert_revision : 51a78a175b1074c933323e0bf24d6f64b5c6c35d
2010-01-25 10:39:36 +11:00
Nicholas Nethercote
fec7f356b0
ARM bustage fix for bug 540351.
...
--HG--
extra : convert_revision : 4a6d8a20be25e523d261f1754b0be90619fc0554
2010-01-25 09:44:47 +11:00
Nicholas Nethercote
a0704e558a
Bug 540351 - nanojit: refactor hint() and registerAlloc(). r=rreitmai.
...
--HG--
extra : convert_revision : fa4f34a51239317d312b9388f2eb9ca2631b463e
2010-01-25 09:40:11 +11:00
Nicholas Nethercote
126997f7d4
Bug 534313 - nanojit: split isQuad() into isI64() + isF64() + is64() (TM-specific part). r=dvander.
2010-01-25 08:50:38 +11:00
Nicholas Nethercote
402ef4a279
Update nanojit-import-rev stamp.
2010-01-25 08:36:49 +11:00
Nicholas Nethercote
43cc6ace57
Bug 534313 - nanojit: split isQuad() into isI64() + isF64() + is64(). r=dvander,stejohns.
...
--HG--
extra : convert_revision : f24a70adec4c24dffd3a9c6c3572c5755938291a
2010-01-25 08:25:04 +11:00
Steven Johnson
37c967beaf
nanojit/NativeARM.h: remove NJ_ARM_ARCH (code=bramley,r=stejohns,bug=541258)
...
--HG--
extra : convert_revision : cfcf246845a1fa07f60c791bdc471ed11a10351a
2010-01-22 12:39:57 -08:00
Edwin Smith
605b734ba8
(second try) Adds protect/unprotect API to CodeAlloc (bug 460993 r=nnethercote,rreitmai sr=gal)
...
Removes calls to VMPI_setPageProtection from CodeAlloc, and adds a new
protect/unprotect API to CodeAlloc, along with an SPI for the vm to implement
actual page protection.
It is up to the VM to call codeAlloc->protect() before executing jit'd code,
but CodeAlloc will internally call unprotect() before modifying blocks, as code
is generated. If the VM's implementation of allocCodePage allocates memory
as RWX, then the new protection api's can be ignored and the implementations
of markCodeChunkExec/Write can be empty functions.
A flag per code chunk is used so that only modified pages are unprotected and
reprotected.
CodeAlloc never calls VMPI_setPageProtection any more, so platform abstractions
for this can be encapsulated in the CodeAlloc SPI methods.
nanojit/avmplus.cpp was modified to call VMPI_setPageProtection on the platforms
that didn't already allocate code memory as RWX. Since those callsites are platform
specific and the only place we call VMPI_setPageProtection, the code could be further
simplified.
--HG--
extra : convert_revision : 3c9030f46c15cc0f033592db6ba96674e1f5173b
2010-01-22 15:18:12 -05:00
Igor Bukanov
450cf95e35
bug 538275 - ClaimTitle cleanup. r=brendan, jorendorff
2010-01-24 14:15:38 +03:00
Luke Wagner
b41eed1718
Fix ARM bustage
2010-01-22 16:15:24 -08:00
Luke Wagner
2645ecd2da
Bug 541452 - put jstracer.cpp in namespace js (r=jorendorff)
2010-01-22 14:49:18 -08:00
Brendan Eich
1699be3a87
Bug 541455 - Do not drop "mumble"; would-be directives in the parser, let them be completion values (or useless expressions for the emitter to cull) (r=jimb).
2010-01-22 12:17:13 -08:00
Luke Wagner
4f05b945eb
Bug 458421 - dead stuff in spidermonkey (r=jorendorff)
2010-01-22 11:52:17 -08:00
David Mandelin
7178b08092
Bug 541239: don't use upvar for variables in eval if they cross a generator, r=mrbkap
2010-01-21 17:06:11 -08:00
Nicholas Nethercote
f4bc73f777
Bustage fix for bug 463137: use insBranch() instead of ins2() to insert LIR_j. r=me.
2010-01-22 16:20:42 +11:00
Nicholas Nethercote
31c3c6d825
Bug 463137 - TM/nanojit: type-check LIR (TM-specific part). r=jseward.
2010-01-22 13:41:24 +11:00
Nicholas Nethercote
6a429f956a
Update nanojit-import-rev stamp.
2010-01-22 13:38:10 +11:00
Nicholas Nethercote
c1a35c54aa
Bug 521692 - NJ merge: don't check for error twice in Assembler::gen(). r=graydon.
...
--HG--
extra : convert_revision : c0257e13ea032510ed6ec3e1a6ea55c0fe98e614
2010-01-22 13:24:59 +11:00
Nicholas Nethercote
1706534709
Bustage fixes.
...
--HG--
extra : convert_revision : 7befbe058634dc37e2fcd614969fd92c64507096
2010-01-22 10:21:29 +11:00
Nicholas Nethercote
b98921836d
Bug 463137 - TM/nanojit: type-check LIR. r=jseward,rreitmai.
...
--HG--
extra : convert_revision : 162182c5cd78d5366c1ca3ea2ca9b11f40115942
2010-01-22 10:10:59 +11:00
David Mandelin
5bb1cfd035
Bug 540243: don't use JSOP_GETUPVAR if def-use chain crosses a generator lexical scope, r=mrbkap
2010-01-21 13:27:36 -08:00
Michael Wu
57d6c1880d
Bug 538269 - Set HOST_AR_FLAG like HOST_AR, r=ted
...
--HG--
extra : rebase_source : 7d96f2c97970ad7c086e51ce99a08918e507aa1f
2010-02-03 14:40:34 -08:00
Jason Orendorff
da670f0947
Bug 524522 revisited - Make JS_ASSERT trigger Breakpad on Mac OS X. rs=luke.
2010-02-03 14:53:26 -06:00
Jonas Sicking
6f2368d0b0
Bug 543696: Remove unused nsIScriptSecurityManager::CheckConnect. r/sr=mrbkap
2010-02-02 02:29:15 -08:00
Vladimir Vukicevic
b0353d0b45
b=542885; webgl types should not be enumerable on global objects; r=smaug
2010-02-02 01:18:35 -08:00
David Mandelin
c4fb2d9d01
Bug 540528: don't reset scopeChain JSStackFrame when leaving trace if it was already set by interpreter, r=mrbkap
2010-01-19 19:06:40 -08:00
Nicholas Nethercote
da39dabdda
Update nanojit-import-rev stamp.
2010-01-22 08:49:51 +11:00
Nicholas Nethercote
451469e807
Whitespace-only change, to test if NJ/TM repo breakage has been fixed. r=graydon.
...
--HG--
extra : convert_revision : 141daad5d4d254008de9d129288917625cfdfb57
2010-01-22 08:49:19 +11:00
Nicholas Nethercote
4fff165564
Update nanojit-import-rev stamp (by hand, due to update-nanojit difficulties).
2010-01-22 08:44:35 +11:00
Nicholas Nethercote
3dd103b579
Backed out changeset (by hand due to update-nanojit difficulties) 69d5a3454a6e (bug 460993), avmplus.cpp changes were bogus.
2010-01-22 08:43:09 +11:00
David Mandelin
4013bf6772
Bug 540136: remove erroneously duplicated line of code from GetFromClosure, r=dvander
2010-01-21 11:08:08 -08:00
Nicholas Nethercote
e36831cff7
Avoid bogus uninit variable warning. r=gcc.
2010-01-21 13:12:02 +11:00
Nicholas Nethercote
a5a988c88c
Bug 539629 - lirasm: don't have two ways of running the tests (TM-specific part). r=graydon.
2010-01-21 13:07:59 +11:00
Nicholas Nethercote
7c98c2c366
Update nanojit-import-rev stamp.
2010-01-21 13:06:10 +11:00
Nicholas Nethercote
59368f63e2
Bug 539629 - lirasm: don't have two ways of running the tests (NJ-specific part). r=graydon.
...
--HG--
extra : convert_revision : c41f7c86b3cd3c2019189f941daa47f311959789
2010-01-21 12:59:56 +11:00
Edwin Smith
b1f006af09
Adds protect/unprotect API to CodeAlloc (bug 460993 r=nnethercote,rreitmai sr=gal)
...
Removes calls to VMPI_setPageProtection from CodeAlloc, and adds a new
protect/unprotect API to CodeAlloc, along with an SPI for the vm to implement
actual page protection.
It is up to the VM to call codeAlloc->protect() before executing jit'd code,
but CodeAlloc will internally call unprotect() before modifying blocks, as code
is generated. If the VM's implementation of allocCodePage allocates memory
as RWX, then the new protection api's can be ignored and the implementations
of markCodeChunkExec/Write can be empty functions.
A flag per code chunk is used so that only modified pages are unprotected and
reprotected.
CodeAlloc never calls VMPI_setPageProtection any more, so platform abstractions
for this can be encapsulated in the CodeAlloc SPI methods.
nanojit/avmplus.cpp was modified to call VMPI_setPageProtection on the platforms
that didn't already allocate code memory as RWX. Since those callsites are platform
specific and the only place we call VMPI_setPageProtection, the code could be further
simplified.
--HG--
extra : convert_revision : a1002278492b012b727550db2fb928faa6bee36b
2010-01-20 13:32:02 -05:00
Jeff Walden
9d7bbdf810
Bug 539488 - |var| statements for existing, read-only/permanent properties should not be errors. r=jorendorff
...
--HG--
extra : rebase_source : b052779036d0690b92c63e37412b7ae1ebabf4eb
2010-01-20 13:58:36 -08:00
Brendan Eich
92a357e272
Bug 540774: "Assertion failure: top < StackDepth(ss->printer->script)" decompiling upvar (r=jorendorff).
2010-01-20 16:28:18 -08:00
Jason Orendorff
0f530fd289
Bug 538440 - We never jit DOM workers. r=mrbkap.
2010-01-20 14:54:34 -06:00
Nicholas Nethercote
c49922ce68
Update nanojit-import-rev stamp (manually, because I stuffed things up).
2010-01-20 08:54:30 +11:00
Nicholas Nethercote
89feacc9e7
Bug 540522 - nanojit: re-enable StackFilter(!). r=stejohns.
...
--HG--
extra : convert_revision : f1f968ac0f1498b5d4bbd32f637fb4617f45d501
2010-01-20 08:30:49 +11:00
Jacek Caban
135d5bea4f
Bug 505034 - Compiling Nativei386.cpp on MinGW fails because of different syntax of inline asm. r=graydon
...
--HG--
extra : convert_revision : 998ded176a21bee139e444182005f320bcbcfa1e
2010-01-18 20:34:13 -05:00
Steven Johnson
df649734ff
add stub implementations of asm_f2i on PPC and Sparc. add NJ_F2I_SUPPORTED compiletime flag. (r=rreitmai,bug=523251)
...
--HG--
extra : convert_revision : 387c73e51e77eb47b3344678175208f13390dd02
2010-01-18 15:26:49 -08:00
Nicholas Nethercote
a7a593136b
Bug 538538 follow-up: random-opt.{in,out} weren't added. r=graydon,stejohns.
...
--HG--
extra : convert_revision : 874d96dc44813f4141e232ea98fa3f4b2d6474fc
2010-01-18 16:34:23 +11:00
Jeff Walden
731a9fd5f8
Oops, back out changeset af515d48bdcf, should have gone to nanojit-central instead. :-\
2010-01-18 20:27:43 -05:00
Jacek Caban
8991f44a3c
Bug 505034 - Compiling Nativei386.cpp on MinGW fails because of different syntax of inline asm. r=graydon
2010-01-18 15:08:30 -05:00
Nicholas Nethercote
a6baa84f77
Bug 539379 - TM: Crash [@ ExecuteTrace] or [@ ExecuteTree] (TM-specific test case). r=edwsmith.
2010-01-18 09:48:39 +11:00
Nicholas Nethercote
9ecc414758
Bug 538538 - lirasm: don't run the optimizers, except when using --random (TM-specific part). r=graydon.
2010-01-18 09:47:31 +11:00
Nicholas Nethercote
d776d4f852
Update nanojit-import-rev stamp.
2010-01-18 09:41:06 +11:00
Nicholas Nethercote
c5993fa962
Bug 539876 - nanojit: optimize away 'y = mul x, 1'. r=rreitmai.
...
--HG--
extra : convert_revision : ebd6a957cf98ffca526fdce976826be5246e0a51
2010-01-18 09:36:32 +11:00
Nicholas Nethercote
0c9683a5c5
Bug 539379 - TM: Crash [@ ExecuteTrace] or [@ ExecuteTree]. r=edwsmith.
...
--HG--
extra : convert_revision : a5115ee971c8496182e9b4f6847ad91619b4a585
2010-01-15 15:07:32 +11:00
Nicholas Nethercote
6a8645f974
WinNT bustage fix for bug 538538.
...
--HG--
extra : convert_revision : f2f5796b620ed75ed33258163590f4d4a884a200
2010-01-15 10:05:44 +11:00
Nicholas Nethercote
04deac1562
Bug 538538 - lirasm: don't run the optimizers, except when using --random (NJ-specific part). r=graydon,stejohns.
...
--HG--
extra : convert_revision : 7ab1e0842f7dd1807c11578a34e5e95884a7e6dc
2010-01-15 08:59:19 +11:00
Nicholas Nethercote
dd81027128
Bug 539621 - nanojit: flush LogControl output on every line. r=edwsmith.
...
--HG--
extra : convert_revision : e75430160542e5ce18d8ee5768c27fe719315179
2010-01-15 08:47:18 +11:00
Vladimir Vukicevic
b98eed802d
Missed S14 -> FpSingleScratch renaming
...
--HG--
extra : convert_revision : 0628e6475f1f08e91a9113e0174230d38272f4e5
2010-01-13 18:10:28 -08:00
Vladimir Vukicevic
78c3d13a0e
b=523251; add LIR_f2i; r=njn,edwsmith
...
--HG--
extra : convert_revision : 95e6284a8725404dfb1f2685e1ee5efdc334d169
2010-01-13 14:40:35 -08:00
Steven Johnson
f29b5c8836
nanojit/NativePPC.cpp: PPC backend needs to ensure caller parameter area is at least 8 registers in size (r=rreitmai,r=nnethercote,bug=539270)
...
--HG--
extra : convert_revision : 8cc0cbcb83e2ac84078705b23a5232a6d8518a6c
2010-01-12 13:49:50 -08:00
Edwin Smith
313f22a44e
Lazy-allocate code memory for side exits (bug 538393 r=nnethercote+)
...
--HG--
extra : convert_revision : 97bacc5dff62389b91741265ca30dc73a2a8f532
2010-01-12 08:58:14 -05:00
Nicholas Nethercote
343b23f126
Bug 536293 - nanojit: use a bigger --random size with 'make check' (follow-up). r=me.
...
--HG--
extra : convert_revision : 3f09056fb0a7e3c7c6ae65eba7d58d095bd0c059
2010-01-12 16:34:41 +11:00
Gregor Wagner
470074111f
Gregor Wagner <anygregor@gmail.com> Bug 533450: js_GetStringBytes ignore js_CStringsAreUTF8 when JSString::isUnitString r=brendan
2010-01-15 15:58:33 -08:00
David Anderson
f7e545e0f1
Fixed x64 assertion in tracing JSOP_LENGTH on arguments (bug 539965, r=dmandelin).
2010-01-15 12:05:01 -08:00
David Mandelin
9600769682
Bug 495331: trace JSOP_LAMBDA for non-heavyweight, non-null closures, r=jorendorff,dvander
2010-01-15 11:32:14 -08:00
David Mandelin
c100594692
Bug 532689: guard that index is in range for arguments[k] on trace, r=bz
2010-01-14 18:48:17 -08:00
David Mandelin
f75d33789a
Bug 539553: adding one more test case for the new on-trace arguments.length LIR, no_r=me
2010-01-14 18:12:54 -08:00
Jason Orendorff
a37f4974e2
Bug 539553 - Correctness regression on the r-tree benchmark. r=dmandelin.
2010-01-14 18:23:05 -06:00
Jason Orendorff
dbda92dde3
Bug 533876 - In JSScope::{add,put}Property, disregard the SPROP_IN_DICTIONARY bit of the flags. r=brendan.
...
--HG--
rename : js/src/tests/js1_8_1/regress/browser.js => js/src/tests/js1_8_5/regress/browser.js
rename : js/src/tests/js1_8_1/regress/shell.js => js/src/tests/js1_8_5/regress/shell.js
extra : rebase_source : f86f464a91d8f560a1034e45fe23a5bc4c84d9f5
2010-01-14 17:20:27 -06:00
David Mandelin
588bfec9a5
No bug: fixing manifest bustage introduced in 7d7eb566cd77, no_r=me
2010-01-14 16:05:29 -08:00
Brendan Eich
281fe2cb29
Another followup for 536564, assertion fix.
2010-01-14 15:32:29 -08:00
Brendan Eich
7d53217541
Fast followup fix for thinko (536564, r=jorendorff).
2010-01-14 14:22:00 -08:00
Brendan Eich
495f36adfc
Skip regress-324278.js now, revert it to prev version (with comment tweak).
2010-01-14 13:28:32 -08:00
Brendan Eich
983aa690e9
Analyze module pattern and private-statics pattern in order to despecialize from methods to slots/sprops (536564, r=jorendorff).
2010-01-14 09:33:14 -08:00
Igor Bukanov
702de8885c
bug 528200 - replacing GC thing flags with a mark bitmap
2010-01-14 11:27:32 +03:00
Jason Orendorff
eb646c48c1
Fix DumpSubtree so it doesn't assert. r=nobody, DEBUG-only JS_PROPTREE_DUMPFILE-only code.
2010-01-13 15:33:55 -06:00
Jae-Seong Lee-Russo
513e9cf886
Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE'
2010-02-07 10:52:43 -05:00
Igor Bukanov
80b6667425
bug 530157 and bug 544603 - disabling for now tests based on the GC timing. The background GC thread made that unreliable.
2010-02-07 00:25:42 +03:00
Robert Sayre
7725097400
Backout the marking of the test in bug 544603. Igor has a different patch that will deal with it.
2010-02-07 10:08:23 -05:00
Robert Sayre
40453a8d5e
Mark regress-404755.js as random. see bug 544603.
2010-02-07 10:00:40 -05:00
Ms2ger@gmail.com
8ac5baea31
Bug 41464 - Implement textarea.wrap. r=bz
2010-02-06 09:51:10 +01:00
Jeff Walden
c6e83b6125
Bug 538482 - |case null| deoptimizes switch statements to use condswitch. r=jorendorff
2010-01-07 17:22:22 -06:00
Vladimir Vukicevic
37cc5c283f
Backed out changeset fea4da580994 -- need to split LIR_f2i into nj-central and tm patches
2010-01-11 21:54:02 -08:00
Vladimir Vukicevic
373168d7d3
b=523251; add LIR_f2i; r=gal
2010-01-11 21:41:20 -08:00
Nicholas Nethercote
65deadfefa
Update nanojit-import-rev stamp.
2010-01-12 15:30:15 +11:00
Nicholas Nethercote
b3361ed5f3
Bug 538060 - nanojit: improve 64-bit loads and stores in the X64 back-end. r=gal,rreitmai,edwsmith.
...
--HG--
extra : convert_revision : 1fd416d0954dc667073f3a92087c01fc23e5c3aa
2010-01-11 15:51:49 +11:00
Steven Johnson
3093a45e23
fix incorrect WinCE detection in CLZ (r=rreitmai,bug=538632)
...
--HG--
extra : convert_revision : dc59fb8a1810584ad2e0c61b49689f68d5894501
2010-01-08 11:17:07 -08:00
Steven Johnson
de49190585
rearrange code to work around MSVC compiler bug (r=nnethercote,bug=538504)
...
--HG--
extra : convert_revision : 01cfb2d0354910c6ccedec8a9885932b7c58e97b
2010-01-08 10:12:29 -08:00
Steven Johnson
04954aa494
nanojit/LIR.cpp: LIR_st32f is missing from live() (r=rreitmai,bug=538494)
...
--HG--
extra : convert_revision : 1dc443aa284f1a84957078757e681c54407ebd3f
2010-01-07 17:04:30 -08:00
Steven Johnson
db4338efde
Modify nanojit::live, expose ReverseLister, add some options to VerboseWriter (r=edwsmith,graydon,bug=538000)
...
--HG--
extra : convert_revision : e5ef97918b7944b26105424580c36e4e042c35f4
2010-01-07 16:41:42 -08:00
Edwin Smith
127df225b6
Whitespace hygene (r=me)
...
--HG--
extra : convert_revision : f5f333d75636ed9e4c7869bdcf6aaa69beb35a2e
2010-01-07 13:05:33 -05:00
Nicholas Nethercote
f6d7e7b7d8
Bug 538049 - nanojit: problem with qjoin in ExprFilter. r=stejohns.
...
--HG--
extra : convert_revision : 08580609c2448559cd2866f8b34381dc34ed1488
2010-01-06 11:43:19 +11:00
Steven Johnson
9efa35156a
Add NJ_USES_QUAD_CONSTANTS mode (and i386 implementation) to allow for faster float constants on CPUs without useful 64-bit immediates. Instead of allocating stack space for the constants (and filling them in via move-immediates), allocate data space for them and embed literal pointers into the code stream. (r=edwsmith, r=nnethercote, bug=533546)
...
--HG--
extra : convert_revision : 42048199209f5614ee62adaa25cc6bf75821911a
2010-01-05 15:28:40 -08:00
Blake Kaplan
89b461f976
Bustage fix -- We can't assert that constant folding worked.
2010-01-11 18:52:44 -08:00
Brendan Eich
a17ec0f3aa
Bug 538593 - guardClass always does a JS_snprintf even though it usually doesn't use the result (r=dvander).
2010-01-11 18:48:08 -08:00
David Mandelin
7d217b4429
Bug 538314: add ad hoc closure test suite to trace-tests, r=jorendorff
2010-01-11 18:18:42 -08:00
David Mandelin
ac104211b4
Backed out changeset 70854fa518da -- toolkit/ files were changed by accident
2010-01-11 18:15:17 -08:00
David Mandelin
f9c31cbe84
BUg 538314: add ad hoc closure test suite to trace-tests, r=jorendorff
2010-01-07 13:14:20 -08:00
Vladimir Vukicevic
f3fa823190
No bug. Fix typed array tests; rs=brendan
2010-01-11 17:21:33 -08:00
Blake Kaplan
0d1d39c382
No bug. Fix GCC warnings. rs=brendan
2010-01-11 13:34:56 -08:00
Blake Kaplan
2453f5bb11
Bug 537673 - Don't constant-fold a parenthesized callee expression. r=jorendoff
2010-01-07 15:58:44 -08:00
Brendan Eich
d55d886969
Fix warnings (precog r=vlad).
2010-01-11 10:28:21 -08:00
Robert Sayre
1f623d596a
Merge mozilla-central to tracemonkey.
2010-01-09 16:52:20 -05:00
Vladimir Vukicevic
11da29f6d4
b=538255; [quickstubs] add ability to negate/remove stubs included through wildcards; r=jorendorff
2010-01-09 13:01:37 -08:00
Vladimir Vukicevic
3f208aeae6
b=538258; [quickstubs] return types for traceable natives not fully resolved; r=jorendorff
2010-01-09 13:01:37 -08:00
Vladimir Vukicevic
cc8708cca8
b=534733, add support for fully custom quickstubs; r=jorendorff
2010-01-09 13:01:37 -08:00
Vladimir Vukicevic
ae1559c751
b=532774; add native typed arrays to JavaScript; r=brendan,jorendorff
2010-01-09 13:01:37 -08:00
Jesse Ruderman
093325f819
Fix bug-number comments in reftest.list files
2010-01-08 19:54:28 -08:00
Jesse Ruderman
7d4a1a8551
We forgot to remove this comment when re-enabling this test
2010-01-08 18:16:40 -08:00
David Mandelin
30f2d34524
Bug 538673: better handling for cross-platform path representations in jstest harness, r=waldo
2010-01-08 15:23:05 -08:00
Robert Sayre
779ad17584
Merge mozilla-central to tracemonkey.
2010-01-08 09:40:22 -05:00
Nicholas Nethercote
be42ab0516
Bug 538484 - TM: generating bogus "ov ld1" sequence. r=nnethercote.
2010-01-08 14:25:36 +11:00
David Anderson
3996e3ac0d
Make sure trace native stack is 16-byte aligned (bug 534590, r=lw).
2010-01-07 17:20:00 -08:00
Jeff Walden
e505853af2
Adjust lookupswitch to bail if the value switched upon is not primitive, not if it's not a bunch of different types, for a little more efficiency. r=brendan
2010-01-07 17:09:48 -06:00
Brendan Eich
3cf53a31d6
Bug 513291 - JSOP_INITPROP should insist obj has own scope (JSOP_NEWINIT knows to do this; r=jorendorff).
2010-01-07 11:47:16 -08:00
Brendan Eich
f22c353c9c
Bug 533258 - "Assertion failure: hasMethodBarrier()" with ckeditor (r=jorendorff).
2010-01-07 10:01:01 -08:00
Jeff Walden
51056b237b
...and one more bustage fix to change a test that assigned to undefined, seemingly for no reason, to assign to another otherwise-irrelevant global property (parseInt) instead. r=lumpy
2010-01-07 00:50:51 -06:00
Jeff Walden
76b9ccd2c6
Support embedding of |undefined| in lookupswitch, needed to fix bustage in a Mochitest where use of |case undefined| results in that value being embedded in the lookup table, now that |undefined| is an immutable global property. Anticipatory r=jorendorff, real review on this coming soon...
2010-01-07 00:17:10 -06:00
Jeff Walden
46907ab8ed
Bug 537863 - Make various global properties (NaN, Infinity, undefined) readonly per ES5. r=jorendorff
2010-01-04 23:10:36 -06:00
David Mandelin
674b52f39e
Bug 537304: fix spurious PASS output in trace-tests console output, r=jorendorff
...
--HG--
extra : rebase_source : c9fe259a9538c4446e201372b17131c6a6b9b2fd
2010-01-06 15:23:19 -08:00
Brendan Eich
85a5badeef
ES5-conformance fix to make a new RegExp for each regexp literal evaluation (98409, r=igor/jwalden).
2010-01-06 15:12:54 -08:00
David Mandelin
2ab635fbd3
Bug 528644: do not generate JSOP_GETUPVAR in a generator called from eval, r=mrbkap
2010-01-06 14:33:52 -08:00
David Mandelin
91f6ce8767
Bug 537302: allow jstests shell harness to run from any directory, r=jorendorff
2010-01-06 14:05:41 -08:00
Ginn Chen
b26ece67a0
Bug 537371 [x86_64]nanojit failed to compile with Sun Studio r=gal
2010-01-06 15:25:56 +08:00
Ginn Chen
01e2876566
Bug 535765 debug build Firefox failed to start on Solaris r=gal
2010-01-06 15:24:30 +08:00
Jason Orendorff
9a9527f36f
Merge backout of bug 98409.
2010-01-05 12:48:42 -06:00
Jason Orendorff
e5ac8476fd
Backed out changeset 3862a7e48e79 due to tinderbox failures on js1_5/GC/regress-324278.js.
2010-01-05 12:48:09 -06:00
Nicholas Nethercote
35c7cbbb81
Bug 520714 - nanojit: distinguish 64-bit int and float loads/stores (TM-specific part). r=gal.
2010-01-05 15:14:53 +11:00
Nicholas Nethercote
3267ce577e
Update nanojit-import-rev stamp.
2010-01-05 14:57:02 +11:00
Nicholas Nethercote
1022818501
Bug 520714 - nanojit: distinguish 64-bit int and float loads/stores. r=gal,rreitmai.
...
--HG--
extra : convert_revision : a19809f7ba60b4381b77b84363bebf0ff7cf9629
2010-01-05 14:03:49 +11:00
Nicholas Nethercote
c1aa4ffe1b
Bug 503990 - nanojit: make isStmt() table-driven. r=rreitmai.
...
--HG--
extra : convert_revision : 4d331f0d6a044276be2638b3ea9a1cd35650c5e5
2010-01-05 10:46:34 +11:00
Brendan Eich
1b4fbd91e6
ES5-conformance fix to make a new RegExp for each regexp literal evaluation (98409, r=jwalden).
2010-01-04 12:25:44 -08:00
Jeff Walden
9b553541fa
Bug 537725 - Adjust some exception-throwing code to use the proper APIs for no-argument messages, and fix handling of some primitive values passed as the Properties argument to Object.defineProperties. r=jorendorff
2010-01-04 13:48:30 -06:00
David Mandelin
0d7ee57043
Bug 532568: when setting upvars, write to outer trace native stack if needed, r=dvander
2010-01-04 11:31:10 -08:00
David Mandelin
2d8255bc72
Backout merge
2009-12-31 15:19:24 -08:00
David Mandelin
ca387b3441
Backed out changeset 107fc2833733 due to talos-v8 failure
2009-12-31 15:18:34 -08:00
Robert Sayre
a674f83e07
merge mozilla-central to tracemonkey.
2009-12-31 12:35:57 -05:00
Brendan Eich
45c0afef62
Merge.
2009-12-30 13:50:31 -08:00
Brendan Eich
398f5f3b9b
Bug 537204 - No more BOGUS_CX bogosities (r=jwalden).
2009-12-30 13:49:26 -08:00
Jeff Walden
025a44ebc4
Bug 492840 - Add new test to manifest. sr=mozbot
2009-12-30 15:23:38 -06:00
Jeff Walden
e59ff3661d
Bug 492840 - Fix a conflict with myself in the previous push. Aaargh...
2009-12-30 15:20:21 -06:00
David Mandelin
6b21acfb18
Bug 532568: when setting upvars, write to outer trace entry frame native stack area if necessary, r=dvander
2009-12-29 17:23:36 -08:00
Igor Bukanov
0553ca4a34
bug 536734 - more finalizer specializations. r=brendan
2009-12-30 14:06:26 +03:00
David Mandelin
4629cf448e
Backout merge.
2009-12-29 17:21:33 -08:00
David Mandelin
4fbd808603
Backed out changeset 8a2d469e86e7 due to mochitest failures
2009-12-29 17:21:04 -08:00
David Anderson
b140c9d806
Fixed liveness-spew-only assertion with LIR_mod (bug 537023, r=nnethercote).
...
--HG--
extra : convert_revision : 8b948b2c98c6813285d0ddf630b27a9bc14c04f8
2009-12-29 16:27:09 -08:00
Jeff Walden
239eb61feb
Oops, two more tests that use load(), mark them shell-only too. r=bustage
2009-12-29 17:11:11 -06:00
David Mandelin
5aa79db4bf
Bug 532568: when setting upvars, write to outer trace entry frame native stack area if necessary, r=dvander
2009-12-29 13:11:12 -08:00
Jeff Walden
cd687c4a78
Bustage fix, r=lumpy
2009-12-29 13:13:49 -06:00
Edwin Smith
169edd70d1
Fix PPC alignment of immediate quads (usually doubles) (bug 477779 r=stejohns+ r=rreitmai+)
...
--HG--
extra : convert_revision : 5218b6ab33db0ebfbb8c555a6d42d2074c9c3a8e
2009-12-24 10:13:32 -05:00
Nicholas Nethercote
8d12f8e105
Bug 536326 - nanojit: fix X64 asm printing problems. r=dvander.
...
--HG--
extra : convert_revision : dd5319f481147c1083ae32c57ce83db65eb0128c
2009-12-24 11:35:30 +11:00
Nicholas Nethercote
af8581791c
Bug 536098 - nanojit: speed up intersectRegisterState(). r=edwsmith.
...
--HG--
extra : convert_revision : 12013e9b8fab0168bc26e2e04fe9779e5aed2559
2009-12-22 19:47:17 -08:00
Brendan Eich
9a805a7cae
Disassemble function upvars a bit (496921, r=mrbkap).
2010-01-04 16:56:25 -08:00
Jeff Walden
3a29434381
Adjust testing for Object.defineProperties(obj, string) to account for index properties showing up as enumerable on String objects. r=sparky
2010-01-04 15:53:50 -06:00
David Mandelin
6479d75e0d
Bug 536748: fix argument index typo, r=gal
2010-01-04 13:36:06 -08:00
Marco Bonardo
3b9c85bd88
Bug 544241 - xpcshell-tests head.js should always remap resource://test to the current test dir, r=ted
2010-02-23 14:11:37 +01:00
Serge Gautherie
23c344ef08
Bug 536678 - Comm-central contains a MoreFilesX dependency, but is obsolete on Gecko1.9.2 and later; (Bv1) Remove /js/src/configure.in leftover too.
...
r=jorendorff.
2010-02-23 06:00:55 +01:00
Serge Gautherie
7cff175e7d
Bug 502696 - js_CompareAndSwap on sparc should not use PRLock(); (Cv1) Clean up missed autoconf.mk.in too.
...
r=jorendorff.
2010-02-23 06:00:55 +01:00
Mitchell Field
d162651fc5
bug 517097 - make enabling debug symbols more sane r=ted
2010-03-02 06:24:00 -05:00
Shailen
1ede8845c9
Bug 526446 - "AIX Compilation error for 3.7a1pre source "/home/firefox/mozilla-central/js/src/jsvector.h", line 427.5: 1540-0130 (S) "AP" is not declared" [r=lw]
2009-11-04 03:03:00 -06:00
Shailen
17065e5b9c
Bug 526436 - "AIX Compilation error for 3.7a1pre source js/src/jsvector.h", line 677.21: 1540-0274 (S) The name lookup for "PointerRangeSize" did not find a declaration" [r=lw]
2009-12-18 22:43:00 -06:00
Makoto Kato
c79f7aed7a
Bug 560477 - ambiguous call to overloaded function of ATL::CComPtr<T>::CComPtr. r=timeless
2010-04-28 13:40:56 +09:00
The Written Word
3cc7e88b9c
Bug 550599 - "add ia64-hpux block to configure.in" [r=ted]
2010-03-29 13:37:00 -04:00
Mounir Lamouri
dbdc60fd52
Bug 346485 - "Implement output element" [r=smaug,hsivonen,mrbkap,timeless,roc sr=jst]
2010-04-26 03:42:00 -04:00
Blake Kaplan
e11777b779
Fix bug 554449. r=jst sr=peterv
2010-04-27 16:24:35 -07:00
Blake Kaplan
1051194298
Bug 559231 - Don't assert if there's no code running. r=jst
2010-04-27 16:24:18 -07:00
Serge Gautherie
8fddfc7d30
Bug 548207 - allow make check to run over remote connection from devicemanager.py; (Dv1a) Tidy up RUN_TEST_PROGRAM conditionals.
...
r=ted.mielczarek.
2010-03-24 00:24:38 +01:00
Dan Mills
d6ce8dbd19
Bug 393119 - XPConnect's Dump doesn't do string conversions correctly. r+sr=jst
2010-03-23 14:08:18 -07:00
Blake Kaplan
af17535f3b
Bug 545291 - Don't lookup non-quickstubbed properties. r=jorendorff
2010-02-11 17:04:42 -08:00
Ms2ger
6e5eb0673b
Bug 530171 - Correctly handle null arguments to nsIDOMTokenList's methods, r=slvain.pasche, sr=olli.pettay
2009-12-30 18:29:40 -05:00
Jeff Walden
ad6a89209e
Bug 517580 - Unconditionally build with support for getters and setters, remove support for the deprecated { x getter: function() {}} and x getter= function() {} getter syntaxes (mutatis mutandis for setter) now that ES5 provides Object.getOwnPropertyDescriptor and Object.defineProperty and { get x() { } } syntax, and provide __{define,lookup}{G,S}etter__ only if a preprocessor variable is defined (unconditionally provided for the moment). r=luke
2009-10-06 12:35:33 -07:00
Chris Leary
2ebc323e9d
Bug 558002 - Convenience methods for TokenStream flags. r=jwalden
2010-04-09 18:54:51 -07:00
Robert Sayre
e3d06777e4
worker-error.js passes now.
2010-04-09 20:04:41 -04:00
Robert Sayre
36f7266ab2
Merge
2010-04-09 15:39:16 -04:00
Robert Sayre
c08105c9c5
Bug 505228. JSON.stringify generates non standard output if space is defined. r=sayrer
2010-04-09 15:38:27 -04:00
Dan Witte
5907980b43
Bug 552548 - Use JSString accessors in ctypes instead of JS_GetStringChars. r=benjamn
2010-04-09 11:52:41 -07:00
David Mandelin
aa16e435ea
Bug 554670: abort tracing on out-of-range args element read
2010-04-08 17:11:41 -07:00
Robert Sayre
5ef05c8584
Merge mozilla-central to tracemonkey.
2010-04-09 11:43:07 -04:00
Luke Wagner
777b935aea
Bug 558144 - un-macroize OBJ_SCOPE, OBJ_SHAPE, LOCKED_OBJ_SET_SLOT, LOCKED_OBJ_GET_SLOT (r=Waldo)
2010-04-08 11:22:04 -07:00
Luke Wagner
cbbdfa692a
Bug 555484 - add test case
2010-04-08 13:32:32 -07:00
Brendan Eich
9c357658b7
Back out patch for 557969 due to orange.
2010-04-08 11:31:03 -07:00
Andreas Gal
b0f31bea3f
No need to lookup parent/proto for iteration objects used for enumeration, and cache the last free iteration object for re-use (558058, r=brendan).
2010-04-08 10:55:58 -07:00
Brendan Eich
edcf471ddb
Named native functions lacking JSFUN_BOUND_METHOD entrain the global of the object in which they are bound, not the binding object itself, via parent (557969, r=mrbkap).
2010-04-08 10:55:22 -07:00
Jason Orendorff
741bacca43
Bug 553671 part 6 - Rewrite GCUntilDone() to get rid of the goto. r=gal.
...
--HG--
extra : rebase_source : f571c42ad8661e1a0f5be6042eafea33f507dc44
2010-04-08 08:03:08 -05:00
Jason Orendorff
d1526f1df5
Bug 553671 part 5 - Extract GCUntilDone() from js_GC(). r=gal.
...
--HG--
extra : rebase_source : 1356bdf760348479248284dd90eb8535895af8f9
2010-04-08 08:01:21 -05:00
Jason Orendorff
08bfa47c56
Bug 553671 part 4 - RAII for JS_{LOCK,UNLOCK}_GC and JS_{KEEP,UNKEEP}_ATOMS. r=luke.
...
--HG--
extra : rebase_source : dfdfcdd3a602e12de1836068e2c9f16fce46d7b2
2010-04-08 07:54:18 -05:00
Jason Orendorff
42ab1dd2de
Bug 553671 part 3 - extract FireGCBegin() and FireGCEnd() from js_GC(). r=jwalden.
...
--HG--
extra : rebase_source : 795a278471c339f74691a335ccfcd7042042732b
2010-04-08 07:54:18 -05:00
Jason Orendorff
55684f1763
Bug 553671 part 2 - extract PreGCCleanup() from js_GC() and get rid of 'goto out;'. r=jwalden.
...
--HG--
extra : rebase_source : 713a06123caefa0c5de75d6d14d0d43421f7e944
2010-04-08 07:54:18 -05:00
Jason Orendorff
aac995ee3e
Bug 553671 part 1 followup - Minor cleanups in GC() suggested by jwalden in review.
...
--HG--
extra : rebase_source : b2cabed0b2de6c044a04fa00f7e1593fddf88786
2010-04-08 07:54:18 -05:00
Jason Orendorff
926b177eaa
Bug 553671 part 1 - Extract GC() from js_GC(). r=jwalden.
...
--HG--
extra : rebase_source : 4fc17e71f7f7f3bd1d7392af585e61d265851918
2010-04-08 07:54:17 -05:00
Andreas Gal
ecdd402081
Backed out changeset 61de331861af (bug 558058).
2010-04-08 09:02:34 -07:00
Andreas Gal
0eaa2c4331
No need to lookup parent/proto for iterator objects, and cache the last free one (bug 558058, r=brendan).
2010-04-08 07:53:09 -07:00
Boris Zbarsky
32a8d53e03
Backed out changeset 698ace1f1027 (bug 556830) for causing jsreftest failures.
...
--HG--
extra : rebase_source : 6d4c5022177d0c47568f5be9c274b8b17e398bd4
2010-04-08 09:53:44 -04:00
Jeff Walden
808f44b3ab
Bug 550402 - Property readonly bit interferes with setter functions in properties. r=jorendorff
...
--HG--
extra : rebase_source : a1cc89851d11337a76f916170ca22f9013ee0b2f
2010-04-01 18:11:14 -07:00
Jeff Walden
4d912ae324
Bug 556876 - PropertyDescriptor::initialize can throw a SyntaxError instead of a TypeError. r=jorendorff
...
--HG--
extra : rebase_source : d0a38deab525d8f78f81d56d9bc78dcd5f76fb97
2010-04-04 21:59:09 -07:00
Luke Wagner
e6880f1d41
Remove dead store (no bug, r=me)
2010-04-07 19:02:47 -07:00
Andreas Gal
b0126e4074
Backed out changeset 687d1e4c213e (bug 557914).
2010-04-07 18:34:05 -07:00
Luke Wagner
b9f8c249e6
Bug 552574 - de-mystify js_ValueToNumber API (r=igor)
2010-04-07 13:18:50 -07:00
Andreas Gal
d0f2401879
Remove gcIteratorTable (557914, r=Waldo).
2010-04-07 17:14:38 -07:00
Nicholas Nethercote
26d8277a75
Bug 413730 - Replace all OBJ_GET_CLASS() macro calls with JSObject::getClass() calls. r=gal.
2010-04-07 16:09:49 -07:00
Dan Witte
2249bd76de
Revert accidental change.
2010-04-07 15:29:41 -07:00
Dan Witte
b065d2092c
Bug 556902 - Fix ctypes warnings. r=benjamn
2010-04-07 15:25:46 -07:00
timeless@mozdev.org
ee0636be79
Bug 556340 - TypedArrayTemplate<*>::fun_slice leaks ntarray when JS_NewObject fails. r=jorendorff.
2010-04-07 16:16:19 -05:00
Robert Sayre
fc4b9ec6e1
FF 3.5.2 native JSON.stringify replacer applied only to array items, not object properties. bug 509184. r=waldo
2010-04-07 12:35:43 -04:00
Jason Orendorff
04c9cd4d7a
Fix debug-only crash when doing TMFLAGS=full objdir/js -j t/string-unpack-code.js. no_r=me.
...
--HG--
extra : rebase_source : f4c43ffeb2fec7de027217500c6a4db7b76724c7
2010-04-07 10:14:35 -05:00
Nicholas Nethercote
c31c693e1b
Update nanojit-import-rev stamp.
2010-04-06 20:17:37 -07:00
Nicholas Nethercote
76b149adce
Bug 557705 - nanojit: clean up codegen of i386 jumps. r=edwsmith.
...
--HG--
extra : convert_revision : ec93bc283385c4e19bfbfda1aa1ecf94aef932ec
2010-04-06 20:09:32 -07:00
Nicholas Nethercote
6b08a7f055
Update nanojit-import-rev stamp.
2010-04-06 17:51:51 -07:00
Nicholas Nethercote
6968bfc5ba
Windows bustage fix for bug 557483. r=me.
...
--HG--
extra : convert_revision : 3607404c8ab95af0866fd073ed5d6d51322198b6
2010-04-06 16:04:32 -07:00
Nicholas Nethercote
07fe6e6c98
Bug 557483 - nanojit: convert i386 codegen macros to functions. r=edwsmith.
...
--HG--
extra : convert_revision : 4062fae8baf26ee9fcdf5c8d1125b2a1fa806515
2010-04-06 15:55:43 -07:00
Nicholas Nethercote
fcb616851a
Bustage fix for bug 545295. r=me.
...
--HG--
extra : convert_revision : 54edfaf7f89566f86822155e90d43ec6198228c4
2010-04-05 18:12:38 -07:00
Edwin Smith
8e9b1ee383
CodeAlloc changes to eliminate dependency on 4K system page size (bug 545295 r=edwsmith+)
...
--HG--
extra : convert_revision : f1734da5dae9a73cf52692fc8dd72c25d0f12a14
2010-04-05 16:17:01 -04:00
Edwin Smith
e802b90f31
Patch to clean up MSVC analysis warnings (bug 551690, r=edwsmith+ nnethercote+)
...
(pushing for Bill Maddox)
The following appear to be false positives. The patch adjusts the code in a
meaning-preserving way such that the analysis warnings no longer appear. My
best guess is that the analysis does not take into account the discretenes of
integer arithmetic in analyzing relational operators.
nanojit/Assembler.cpp(2004)
nanojit/Nativei386.cpp(1214)
Here, an outer definition is indeed hidden, but it is dead at this point, and
the code is correct as it stands. Stylistically, however, the hiding should be
avoided, as in the patch.
nanojit\LIR.cpp(671)
--HG--
extra : convert_revision : fdff643a3c793c57150d0e8b48bc1f12383d939e
2010-04-05 11:25:55 -04:00
Dan Witte
2fab74a615
Bug 556902 - Fix ctypes warnings. r=benjamn
2010-04-06 17:43:18 -07:00
Luke Wagner
81d7c2cbea
Vector::resize should initialize new elements always; fixes AutoValueVector bug (r=Waldo)
2010-04-06 16:40:49 -07:00
Luke Wagner
6b6463a8e6
Bug 557270 - on s390 pointers are 31-bits, have JS_CEILING_LOG2W use size_t instead of JSUword (r=brendan)
...
--HG--
extra : rebase_source : cf0f82a63a0d36f84470bfd1aa99c2917cbc5c95
2010-04-06 16:10:54 -07:00
Jason Orendorff
3a1a494d96
Bug 556937 - TM: Trace JSOP_SETNAME when preceding BINDNAME produces the global object. r=dmandelin.
2010-04-06 16:49:33 -05:00
Jason Orendorff
6fac8f385a
Bug 556879 - JSRuntime::gcIsNeeded is needed after all. r=igor.
2010-04-06 16:39:16 -05:00
Bob Clary
75114bb688
Bug 557508 - Enable tracing JIT when running js tests in the shell. r=jorendorff.
...
--HG--
extra : rebase_source : 68f8accc4e9888225f1bbf0955c6cf484219fae2
2010-04-06 15:43:11 -05:00
Boris Zbarsky
182e509e5b
Bug 556866. Try to cache the slot even for JOF_INCDEC ops, as long as the setter is a stub. r=jorendorff
2010-04-06 15:46:20 -04:00
Boris Zbarsky
1289dee978
Bug 556830. Fill the propcache even if we start the lookup on a Call whose parent is the global the property is on. r=jorendorff
2010-04-06 15:42:39 -04:00
Jason Orendorff
cb5afb060e
Fix typeChar array (used only in debug output) to match the TraceType enum values. No bug#. r=dvander over IRC.
2010-04-06 12:44:13 -05:00
Jason Orendorff
ed90af06f2
Fix Windows build failures (and a warning) due to rev 2d43edce33a2. No review.
2010-04-06 10:22:28 -05:00
Jason Orendorff
91b24f195c
Fix trivially busted test for bug 533876.
2010-04-06 10:05:13 -05:00
Jason Orendorff
7ef276f207
Bug 545962 - Workers for the js shell. r=igor.
2010-04-06 08:15:15 -05:00
Nicholas Nethercote
13d7fcefb2
merge
2010-04-05 22:17:33 -07:00
Nicholas Nethercote
934d8c0f95
Bug 556459 - TM: remove unnecessary cases from demote(), isPromoteInt(), isPromoteUInt(). r=gal.
2010-04-05 22:16:42 -07:00
Brendan Eich
244c77de79
Abort on non-dense-array, non-native JSObjectOp.getProperty op (557168, r=gal).
2010-04-05 22:10:22 -07:00
Nicholas Nethercote
46b653e0e1
Mac bustage fix for bug 556187. r=brendan via IRC.
2010-04-06 12:16:37 +10:00
Nicholas Nethercote
4542317997
Bug 556187 - encapsulate JSSLOT_ARRAY_* within JSObject. r=brendan.
2010-04-05 18:32:16 -07:00
timeless@mozdev.org
06c049adbc
Bug 555687 - OBJ_SCOPE(obj) is unused in TraceRecorder::setProp. r=jorendorff.
...
--HG--
extra : rebase_source : 7a63d5edfb25a8b4ecacc2b069d9ad5da561ec3a
2010-04-05 15:37:33 -05:00
Jeff Walden
80e3a56f93
Bug 520696 - Implement support for string and numeric literals as names for properties defined using ES5 get/set syntax. r=jimb
...
--HG--
extra : rebase_source : 42120d6f31851efa9771e3c869989de70d5ed0f5
2009-12-14 18:31:05 -05:00
Jeff Walden
9fbb700478
Make the code prettier. r=style-police
...
--HG--
extra : rebase_source : 3bd513d15e315dcabf4d69e95e3ded5764a50363
2010-04-05 10:43:49 -07:00
Jason Orendorff
8187e1ef94
Bug 557247 - In debug js shell builds, expose whether we're on trace or not (tracemonkey.onTrace). r=gal.
2010-04-05 12:26:44 -05:00
Andreas Gal
cf22c89a43
b=551507; bad auto root usage in typed arrays; r=waldo
2010-04-04 22:11:07 -07:00
Robert Sayre
744599315f
Merge mozilla-central to tracemonkey.
2010-04-04 14:15:05 -04:00
Robert Sayre
cd7a9e4cf3
Fix thinko in test.
2010-04-04 11:00:45 -04:00
Robert Sayre
c95c882b76
Fix up the tests from bug 555246 to run when there's no evalcx function available.
2010-04-04 09:41:11 -04:00
Jacek Caban
a143357a5d
Bug 393119: Followup bustage fix for mingw. r=mrbkap
2010-04-03 07:32:59 -04:00
Michael Wu
9b1b632895
Bug 542146 - Add support for building JS on Android. patch by vlad, bcombee, and me. r=ted
2010-04-02 15:09:05 -07:00
Chris Jones
7c959e67d7
Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol
2010-04-02 12:58:11 -05:00
Chris Jones
996c23e86b
Backed out changeset cec7b12eb5e3
2010-04-02 13:20:22 -05:00
Chris Jones
94e6bcfee2
Bug 551254: Allow reviewed+approved STL headers to be included through <foo>. (<algorithm> and <vector> are provisionally in the list because of their use in libpr0n, but need to be reviewed in followup bug 556700 and bug 556701). r=ehsan,ted,zwol
2010-04-02 12:58:11 -05:00