Commit Graph

25297 Commits

Author SHA1 Message Date
Hannes Verschore
c95d254368 Bug 825705: Creating this on caller-side shouldn't query prototype for unknown objects, r=jandem 2013-01-04 17:11:32 +01:00
Brian Hackett
dd3ba161c4 Bug 825447 - Populate safepoints directly in backtracking register allocator, r=jandem. 2013-01-04 07:53:20 -07:00
Sean Stangl
74475b85c9 Bug 820124, Part 2/2 - Handle fast removal in str_replace(). r=dvander 2012-12-18 17:28:16 -08:00
Sean Stangl
372242a943 Bug 820124, Part 1/2 - Use RegExpShared for lazy RegExpStatics. r=dvander 2012-12-14 16:07:35 -08:00
Jeff Walden
ac06f32c75 Bug 823283 - Don't query for JSRESOLVE_QUALIFIED when determining whether to check for an undeclared variable, when possibly adding a fast-path expando to the global object for assignment to a non-existent property. Instead examine the current bytecode to see if it's an undeclared variable access. r=bz, r=luke
--HG--
rename : dom/encoding/TextDecoderBase.h => dom/encoding/TextDecoder.h
rename : dom/encoding/TextEncoderBase.h => dom/encoding/TextEncoder.h
extra : rebase_source : aa656c52edc95cd95bb109dbfe2c40d8303dbe34
2012-12-19 16:49:30 -05:00
Masatoshi Kimura
9595813922 Bug 823080 - Fix warning spam on MSVC. r=sphink 2012-12-22 09:16:50 +09:00
Shu-yu Guo
fa2273f6d9 Bug 823390 - Kill clearParent and clearType calls in CloneScriptRegExpObject. (r=bhackett) 2012-12-20 21:13:37 -08:00
Jim Blandy
fd988f989e Bug 822563: Pretty-print references to JSObject and its subclasses. r=sfink 2012-12-21 14:49:21 -08:00
Boris Zbarsky
b8b6ae89a2 Bug 817943 part 2. Make the x86-64 and ARM versions of passABIArg not generate no-op moves and add asserts to the moveResolver that there are no such moves. r=pierron,mjrosenberg 2012-12-28 12:40:45 -08:00
Boris Zbarsky
5863c8694a Bug 817943 part 1. Introduce a GetTempRegForIntArg function that can be used to get registers to store things you plan to pass to a function call in, and use it for DOM getters/setters/methods. r=pierron 2012-12-28 12:40:44 -08:00
Hannes Verschore
b3a11b3d2a Bug 823884: Make call uninlineable when aborting during inlining, r=nbp 2012-12-28 21:33:07 +01:00
Trevor Saunders
801c9b79ba bug 822717 - remove checks for old gcc r=glandium 2012-12-18 13:22:28 -05:00
Terrence Cole
f427d43587 Bug 826435 - Do not allow poisoned pointers near a HashTable; r=sfink
The rooting analysis depends on all usage of a poisoned pointer to crash. This
patch makes the above usage crash, as required.

--HG--
extra : rebase_source : 3d67e4c44cee91d889edbf6641cebe9887fb10ee
2013-01-03 17:01:38 -08:00
Tom Schuster
5c5d79e754 Bug 822436 - IonMonkey: Inline Math.imul. r=h4writer 2013-01-04 00:10:19 +01:00
Jeff Walden
998e1a3d66 Bug 824217 - Remove some easy-to-remove tests of JSRESOLVE_ASSIGNING. r=bz
--HG--
extra : rebase_source : 2605d559d48b9ccd985bd860f13ab7b1b53ab048
2012-12-19 19:32:34 -05:00
Nicholas Nethercote
15bd23a0ac Bug 826526 - Modify the orphan node reporter so it handles WebIDL objects. r=bz. 2013-01-06 20:43:54 -08:00
Nicholas Nethercote
1d403e5f5c No bug. Fix -Wnewline-eof warning in jsfriendapi.h. r=me. 2013-01-06 20:39:27 -08:00
Hannes Verschore
413ab0ee1e Bug 827082: Abort when creating this for native non constructing function, r=evilpie 2013-01-06 15:25:19 +01:00
Ms2ger
621285316d No bug - Fix four warnings in js/src; r=sparky 2013-01-06 13:45:56 +01:00
Hannes Verschore
d24888ccfc Bug 824347: Remove assertion that became incorrect when inlining functions with arguments object landed, r=nbp 2013-01-05 22:27:13 +01:00
Ehsan Akhgari
1fc28fc2a4 Merge mozilla-central into mozilla-inbound 2013-01-05 16:00:35 -05:00
Geoff Brown
5a0def453c Bug 821424 - Make target for per-directory cppunittests-remote; r=ted.mielczarek
--HG--
extra : rebase_source : 487887607421f319dc98c1dcb874866cd0f7d09e
2013-01-03 13:02:11 -07:00
Boris Zbarsky
1c97d54111 Bug 818050. Teach the JIT about DOM method and getter return types so that it doesn't have to type-guard when unboxing the boxed value in many cases. r=jandem,peterv 2013-01-03 14:02:52 -05:00
Norbert Lindenberg
42ed4d92a2 Bug 769872 - Add self-hosted JavaScript core of Intl constructors Collator, NumberFormat, DateTimeFormat (part 1). r=jwalden
--HG--
extra : rebase_source : 97642cc28df75a5199e935bdb7ba6045649dd8d6
2013-01-03 12:29:15 -06:00
Norbert Lindenberg
a8f4d1eb7f Bug 769872 - Add support for default locale for Internationalization API. r=jwalden
--HG--
extra : rebase_source : f4b3275cc8ea9274841e1a144ce33e97c098f193
2013-01-03 12:29:09 -06:00
Jeff Walden
261ccda306 Bug 752578 - Use mfbt's guard object implementation rather than using our own in the trickier cases. r=Ms2ger
--HG--
extra : rebase_source : 7dd7e730a134114e187fda1b6b0820b37e544f9f
2012-12-27 11:20:22 -06:00
Jeff Walden
99654cf0f4 Bug 752578 - Use mfbt's guard object implementation rather than using our own in all the easy cases. r=Ms2ger
--HG--
extra : rebase_source : ba7faa490cdc5c9b85b5617ff5bb17246b74868e
2012-12-27 11:20:22 -06:00
Ed Morley
0d88e34ad1 Backout 119c60543071 (bug 751156) for robocop failures 2013-01-03 18:12:36 +00:00
Jan de Mooij
25c52011fa Bug 825892 - Remove JSOP_LOOKUPSWITCH. r=bhackett 2013-01-03 18:35:57 +01:00
Jan de Mooij
e8ac71ce39 Bug 825966 part 2 - Mark JSOP_CASE/JSOP_DEFAULT targets as safepoint. r=bhackett 2013-01-03 18:35:54 +01:00
Jan de Mooij
e31b84cd0b Bug 825966 part 1 - Remove unused Bytecode::switchTarget. r=bhackett 2013-01-03 18:35:52 +01:00
Nicholas Nethercote
27bfd27b37 Bug 814229 (part 2) - Refactor storage of the "objects-extra" numbers.
--HG--
extra : rebase_source : 2125ae4446928fbc7432f22505565b9b246f960d
2012-11-21 17:07:42 -08:00
Nicholas Nethercote
09fa6b630b Bug 814229 (part 1) - Add "objects-extra/ctypes-data" memory report. r=jorendorff.
--HG--
extra : rebase_source : 8b65b74b5c22ebf7525eeff51601e36274d56736
2012-11-21 17:05:39 -08:00
Boris Zbarsky
4d4f84e2ba Bug 822340. Make the Ion optimization for DOM method calls sound. r=jandem
The static functions just got moved with no changes made to them
except for a change from inTypes->unknown() to
inTypes->unknownObject() in the first test in TestAreKnownDOMTypes,
becase the rest of the method depends on the stronger condition, and
it was being ensured accidentally before.
2012-12-19 17:47:39 -08:00
Brian Hackett
456e98911f Bug 822145 - Use correct allocator for CompileInfo on inlined frames, r=sstangl. 2012-12-19 16:24:42 -07:00
Jon Coppeard
7ee8836f06 Bug 820186 - Various crashes/assertions with gczeal(10) and random recursion. r=billm 2012-12-18 13:27:28 +00:00
Nicholas Nethercote
660706afa4 Bug 824879 - Avoid -Wconstant-conversion warnings in vm/RegExpObject.cpp. r=sstangl.
--HG--
extra : rebase_source : c921633cea69a65cced62d56ef6baaa5a5cc2b04
2012-12-26 20:11:34 -08:00
Nicholas Nethercote
efaf0192cb Bug 819819 (part 1) - Remove DMDV. r=khuey.
--HG--
extra : rebase_source : af193a276409e33f0099d256cdfcd0f11917ea25
2012-12-20 23:03:50 -08:00
Matt Brubeck
bfd6ac84aa Merge from mozilla-central to mozilla-inbound 2012-12-27 14:53:29 -08:00
Matt Brubeck
0dae975a9a Back out de5db0c4c3ff and ff14e0b88c10 (bug 820124) because of intermittent xpcshell assertions 2012-12-27 14:52:04 -08:00
Nicolas B. Pierron
77efa6e376 Bug 780549 - AutoEnterCompilation: Handle init error cases. r=bhackett 2012-12-27 07:12:25 -08:00
Sean Stangl
75183b51dd Bug 820124, Part 2/2 - Handle fast removal in str_replace(). r=dvander 2012-12-26 21:13:24 -08:00
Sean Stangl
9a43917984 Bug 820124, Part 1/2 - Use RegExpShared for lazy RegExpStatics. r=dvander 2012-12-26 21:11:54 -08:00
Ryan VanderMeulen
95f613b3e2 Backed out changesets 038194a2ffc3 and 4a7071b92069 (bug 820124) for mochitest orange. r=TryFTW 2012-12-26 22:48:23 -05:00
Sean Stangl
c2faa9065b Bug 820124, Part 2/2 - Handle fast removal in str_replace(). r=dvander 2012-12-18 17:28:16 -08:00
Sean Stangl
d3ca2c8f04 Bug 820124, Part 1/2 - Use RegExpShared for lazy RegExpStatics. r=dvander 2012-12-14 16:07:35 -08:00
Gary Kwong
726fe577ad Backout 4a66a93f8625 for causing mochitest failures. 2012-12-26 17:59:46 -08:00
Nicolas B. Pierron
b39dc83e9e Bug 780549 - Handle init error cases. r=bhackett 2012-12-26 16:00:43 -08:00
Daniel Holbert
1d309d528d Bug 824648: Add range-check & unsigned cast before comparing signed arg to unsigned array-length, in VMFunctions.cpp's CharCodeAt() impl. r=nbp 2012-12-26 09:29:19 -08:00
Jan de Mooij
21795a7536 Bug 823482 part 1 - Refactor JSOP_EXCEPTION implementation in the interpreter. r=djvj
--HG--
extra : rebase_source : ec8f44feae0e8c74245347b1763f0275867764f5
2012-12-26 15:57:26 +01:00
Jan de Mooij
40c5a12a40 Bug 824463 - Fix checkStackAlignment on ARM. r=mjrosenb
--HG--
extra : rebase_source : b8ee9a95e13cca2f0e5e00960e68c55e47053e59
2012-12-26 15:45:13 +01:00
Nicolas B. Pierron
696dcbe49e Bug 801775 - Filter IonMonkey C1/Ion spew based on scripts' origin. r=sstangl 2012-12-26 06:59:15 -08:00
Nicolas B. Pierron
195a790d66 Bug 822938 - LCallee use a register instead of a fixed LArgument. r=jandem 2012-12-26 03:25:26 -08:00
Jan de Mooij
7dc505b1cf Bug 764310 part 2 - Implement JSOP_DEFFUN in IonMonkey. r=bhackett 2012-12-25 16:12:59 +01:00
Brian Hackett
ba8670f4b0 Bug 824257 - Remove type barriers that are redundant with null/undefined checks, r=jandem. 2012-12-25 07:27:48 -07:00
Jan de Mooij
0073801a2f Bug 764310 part 1 - Refactor interpreter JSOP_DEFFUN logic. r=bhackett 2012-12-24 20:03:26 +01:00
Brian Hackett
df7ff3c0c0 Bug 824275 - Improve precision of alias analysis, r=jandem. 2012-12-24 10:29:14 -07:00
James Kitchener
d26bcd5ba2 Bug 818620 - Testcase to ensure all arguments processed in Math.max/min. r=just-tests
--HG--
extra : amend_source : d73f36b24712273b8c56feb3a4a945f25d9a4f0f
2012-12-24 10:44:35 -06:00
Hannes Verschore
bea7941da0 Bug 823887: Correctly do a pre-increment on InlineFrameIterator, r=nbp 2012-12-24 11:57:13 +01:00
Geoff Brown
8a13e7b206 Bug 823730 - Simplify make xpcshell-tests-remote make target; r=jmaher 2012-12-21 12:44:45 -07:00
Hannes Verschore
b62b852e17 Bug 777262: Assertation dropout, r=orange 2012-12-23 00:19:44 +01:00
Hannes Verschore
db0eb79973 Bug 777262: Fix windows bustage, r=bustage 2012-12-22 23:40:55 +01:00
Hannes Verschore
73aa7b095c Bug 777262: IonMonkey: Inline more compare operations, r=jandem 2012-12-22 23:07:59 +01:00
Hannes Verschore
574decbf04 Bug 824005: Fix for v8-richards regression introduced in bug 813784, r=nbp 2012-12-22 17:09:32 +01:00
Cameron McCormack
186baf5f18 Bug 820148 - Add RELEASE_BUILD macro available in pref js files. r=ted 2012-12-22 16:35:51 +11:00
Brian Hackett
01e32e3e59 Bug 822116 - x86/x64 tuning for backtracking allocator, r=jandem. 2012-12-19 10:32:17 -07:00
Ed Morley
23dfce457d Backout 70f1b2db9f5f (bug 822116) for M2 crashes 2012-12-19 09:16:26 +00:00
Brian Hackett
57b542ce27 Bug 822116 - x86/x64 tuning for backtracking allocator, r=jandem. 2012-12-18 21:26:09 -07:00
Kannan Vijayan
bd51eae35f Bug 819635 - Add explicit shape change check before generating setprop-add stub. r=dvander 2012-12-18 22:17:21 -05:00
Makoto Kato
9a7ebf8914 Bug 802527 - Support Android NDK r8b for x86 android build. r=glandium 2012-12-19 11:49:44 +09:00
Ryan VanderMeulen
f440c12fc5 Backed out changeset f7fee43555d8 (bug 822831) for bustage. 2012-12-18 21:26:39 -05:00
Steve Fink
7df87ecc1a Bug 822831 - Do not use Unrooted in a signal handler. r=billm 2012-12-18 17:33:25 -08:00
James Kitchener
1a57af8f67 Bug 818620 - Evaluate all arguments if NaN present in Math.{max, min}(). r=jwalden
--HG--
extra : rebase_source : 9f451ebf817c640428030d338368da4809aac69d
2012-12-18 20:05:43 -05:00
Bill McCloskey
d96eecbc71 Bug 821340 - Add test (r=test) 2012-12-18 17:02:57 -08:00
Norbert Lindenberg
0efc18e74f Bug 769872 - Add utilities for self-hosted JavaScript code. r=till
--HG--
rename : js/src/builtin/array.js => js/src/builtin/Array.js
extra : rebase_source : 955ce06e402f76c08eeb0a69b142d4d14a7281c4
2012-12-18 18:44:43 -05:00
Brian Hackett
c236f2958e Bug 822089 - Don't compile off thread when profiling scripts, r=dvander. 2012-12-18 16:34:34 -07:00
Jeff Walden
9807c3a6de Bug 792108 - Add more truthiness tests to ensure strict equality isn't affected by JSCLASS_EMULATES_UNDEFINED, and that falsy objects don't compare equal unless they're actually the same object. Just tests, they pass locally for me with the --tbpl driver option to do what Tinderbox does, r=sparky 2012-12-18 17:01:46 -05:00
Bill McCloskey
5e6610fecb Bug 821340 - Fix non-GC marking of weakmaps (r=mccr8)
--HG--
extra : rebase_source : e46b57a4619aa26cea067336b92a478c2cb4f6e7
2012-12-18 11:52:37 -08:00
Kannan Vijayan
a0f7ee362b Bug 819635 - Dont add setprop-add stub when adding setprop-set stub in ion ICs. r=mjrosenb 2012-12-18 14:29:04 -05:00
Jan de Mooij
9b919115c4 No bug - Remove unused IonBuilder::jsop_deflocalfun. rs=Ms2ger on IRC 2012-12-18 16:56:23 +01:00
Nicolas B. Pierron
9163749e2d Bug 819865 - Make the callee canonical in IonBuilder. r=jandem 2012-12-18 06:04:43 -08:00
Nicholas Cameron
8582190667 Bug 818816; use conditional breakpoints for alignment checking; r=mjrosenb 2012-12-18 23:55:12 +13:00
Nicholas Cameron
a0e8029ae0 Bug 818816; add conditional breakpoints for the ARM macro assembler. r=mjrosenb 2012-12-18 23:55:12 +13:00
Gary Kwong
27d934af03 Workaround YARR assert (bug 808478, r=sstangl). 2012-12-17 16:57:48 -08:00
Benjamin Peterson
794ff95ee7 Bug 822283 - Make APIs that access strictMode() on the TokenStream private. r=njn
--HG--
extra : rebase_source : 9707c69c9a9dc5fd8f762e770d4fec9a03c98af2
2012-12-17 19:51:54 -05:00
Bobby Holley
f681aaffe9 Bug 809652 - Deny nativeCall for SecurityWrapper except under specific circumstances. r=jorendorff 2012-12-20 22:33:26 -08:00
Bobby Holley
4c226c845b Bug 809652 - Add gross one-off predicates to jsfriendapi. r=jorendorff 2012-12-20 22:33:26 -08:00
Bobby Holley
ee5cb1d935 Bug 809652 - Have SecurityWrapper::enter default to deny, and override SecurityWrapper::objectClassIs. r=jorendorff 2012-12-20 22:33:26 -08:00
Hannes Verschore
2177e96cef Bug 813784: Allow inlining of |arguments| in IM, r=nbp 2012-12-21 18:53:19 +01:00
Benjamin Peterson
0183064a12 Bug 823310 - Only report strict warnings when JSOPTION_STRICT is set. r=njn,jorendorff 2012-12-21 11:02:06 -06:00
Jeff Walden
c6182723a8 Bug 792108 - Implement JSCLASS_EMULATES_UNDEFINED to allow objects of a given class to act like the value |undefined| in certain contexts. Also add a TI flag for such objects, permitting us to assume that no objects use the flag until one is observed, also speeding up object-is-truthy tests when no falsy object is observed. r=jandem, r=bz
--HG--
extra : rebase_source : a76167661fffc26adf0e631d0b87c842b5fc0ed5
2012-09-15 11:19:54 -07:00
Benjamin Peterson
ae897f07e2 Bug 821103 - Don't spit out strict warnings on non-strict code. r=njn 2012-12-17 19:11:44 -05:00
Masatoshi Kimura
b60e9c8e09 Bug 822094 - Part 1: Unwrap the transfable parameter if allowed. r=sfink 2012-12-17 17:43:45 -05:00
Brian Hackett
197107ea00 Bug 821735 - Cleanup/fix population and checking of register and slot information in safepoints, r=jandem. 2012-12-17 15:32:03 -07:00
Brian Hackett
3f1041b33c Bug 821788 - Prevent elimination of phis and resume point operands for operands of inline calls, r=jandem. 2012-12-17 15:10:12 -07:00
Ed Morley
55542c23dd Backout bc98fdc051f5 (bug 792108) for assertions on a CLOSED TREE 2012-12-17 21:35:12 +00:00
Steve Fink
eedf2ba5aa Bug 821389 - Rooting for testLooselyEqual.cpp. r=terrence
--HG--
extra : rebase_source : f9190f387808dcacf86db265266f7bf7f7ca1ca2
2012-12-17 11:55:44 -08:00
Steve Fink
918b7d10bd Bug 817818 - Miscellaneous rooting fixes. r=terrence
--HG--
extra : rebase_source : 0b26361bc48a8c6879b85d9fa356e94f48b7b980
2012-12-17 11:55:15 -08:00
Steve Fink
6e044d1c7c Bug 821123 - do not assume the first rooter has been scanned. r=terrence
--HG--
extra : rebase_source : a59926b74388195337a066cb56786f119f7fe15c
2012-12-17 11:55:02 -08:00
Steve Fink
adf6a17149 Bug 822409 - Need definition of JSFlatString. r=jimb
--HG--
extra : rebase_source : b74378ab44fe8a206b669159376998094ff609ea
2012-12-17 11:54:17 -08:00