Commit Graph

26995 Commits

Author SHA1 Message Date
Jon Coppeard
ab74ea727b Bug 877762 - GC: Post-barrier cycle collector participants - 4 Convert JSScript* to use Heap<T> r=smaug 2013-06-18 11:00:37 +01:00
Jon Coppeard
d7fa9d4859 Bug 877762 - GC: Post-barrier cycle collector participants - 1 Fixes and updates to JS::Heap<T> r=terrence 2013-06-18 11:00:37 +01:00
Hannes Verschore
cc84e15845 Bug 880471: IonMonkey: Remove the request for unused temp. variable for x86/arm unboxing, r=jandem 2013-06-18 11:43:34 +02:00
Jan de Mooij
22b86d4fe0 Bug 704356 - Remove the JS property cache. r=njn, sr=luke
--HG--
extra : rebase_source : 67079f154c13fd401388792ec1410adb04157092
2013-06-18 09:16:57 +02:00
Nicholas Nethercote
6e1bfca609 Bug 634839 (part 2) - Remove more unnecessary #includes from SpiderMonkey. r=jorendorff.
--HG--
extra : rebase_source : 32a4ee649fe206ddb966527eb0f6275c076cbea2
2013-06-06 21:35:53 -07:00
Boris Zbarsky
6425009b7f Bug 883358 part 1. When creating getter/setter functions for the JSPROP_NATIVE_ACCESSORS case in JS_DefineProperties/JS_DefineProperty, give them the name of the property. r=till 2013-06-17 16:31:04 -04:00
Dan Gohman
55d23f9696 Bug 883574 - Add const qualifiers to variables and pointers in the JS tree. r=evilpies 2013-06-17 18:31:47 -07:00
Dan Gohman
196cf87c5f Bug 883569 - X86 assembly spew fixes r=sstangl 2013-06-17 14:00:50 -07:00
Terrence Cole
5e5844dee7 Bug 883466 - Followup fix for failure on TBPL that does not reproduce locally; r=njn
--HG--
extra : rebase_source : bb2f18dd6acee248070a05998bdc541e7eeedbab
2013-06-17 17:54:55 -07:00
Brian Hackett
82dd37e6f6 Bug 883973 - Try disabling PGO around InlineFrameIteratorMaybeGC::findNextFrame, r=djvj. 2013-06-17 18:51:38 -06:00
Terrence Cole
2f5927340f Bug 883466 - Fix build failure in GGC caused by jsobjinlines.h reorganization; r=njn
--HG--
extra : rebase_source : 7fe3ba7e1d7efbd650d6b88f9bc8cea46f8dadac
2013-06-17 11:46:50 -07:00
Ryan VanderMeulen
c8233b1b9b Backed out 3 changesets (bug 883358) for Android mochitest-3 failures on a CLOSED TREE.
Backed out changeset 84b35dd1879d (bug 883358)
Backed out changeset b5e6522257cb (bug 883358)
Backed out changeset 757a3f2e5de6 (bug 883358)
2013-06-17 19:51:12 -04:00
Hannes Verschore
1492ea51d7 Bug 883490: Add annotation to testfile it returns a type error, r=philor 2013-06-17 23:30:37 +02:00
David Zbarsky
7a6db2c997 Fix a typo, no bug 2013-06-17 14:28:11 -07:00
Hannes Verschore
416a9a74b1 Bug 883490: OdinMonkey: FFI call should look to the return value for ion errors, r=luke 2013-06-17 22:58:21 +02:00
Terrence Cole
43aaa0c666 Bug 883383 - Fix some more static root analysis failures in SpiderMonkey; r=sfink
--HG--
extra : rebase_source : b43a23b00233c0f53f8506eef300f941093f113d
2013-06-14 14:28:26 -07:00
Boris Zbarsky
6e04e3fe14 Bug 883358 part 1. When creating getter/setter functions for the JSPROP_NATIVE_ACCESSORS case in JS_DefineProperties/JS_DefineProperty, give them the name of the property. r=till 2013-06-17 16:31:04 -04:00
Boris Zbarsky
cf49b7e92e Bug 882653 part 3. Make the "does not implement interface" error reporting better in WebIDL bindings. r=smaug 2013-06-17 13:07:03 -04:00
Brian Hackett
85c5f51ac5 Bug 883661 - Fix and document numeric comparator invariants. 2013-06-17 10:51:16 -06:00
Jason Orendorff
5fcb706473 Bug 883523 - Regression: 'if(1) /a/.test("a")' causes a SyntaxError after landing bug 872735. r=till. 2013-06-17 11:27:33 -05:00
Brian Hackett
4259e38b37 Bug 883661 - Handle lazy functions when doing higher order fast invokes and in numeric comparator pattern matching, r=luke. 2013-06-17 10:14:33 -06:00
Brian Hackett
61bb2dc013 Bug 883656 - Handle lazy functions in b[a] lambda pattern matching, r=luke. 2013-06-17 10:12:36 -06:00
Dan Gohman
7dfc55df89 Bug 883571 - Since label() calls spew, call it once and reuse the result instead of calling it multiple times. r=mrosenberg 2013-06-17 07:41:21 -07:00
Nicholas Nethercote
048f24d739 Bug 880041 (part 14) - Use JSObject::{is,as} for DeclEnvObject. r=evilpies.
--HG--
extra : rebase_source : f4b916ae894c1ed1eefe31d82abd459181621f69
2013-06-16 19:02:10 -07:00
Nicholas Nethercote
006d6d5f60 Bug 880041 (part 13) - Use JSObject::{is,as} for CallObject. r=evilpies.
--HG--
extra : rebase_source : 6d7f5171a03d5cd963ac869566b7661bb7ddbc2d
2013-06-16 18:46:36 -07:00
Nicholas Nethercote
80f8b2c55e Bug 880041 (part 12) - Use JSObject::{is,as} for BlockObject. r=evilpies.
--HG--
extra : rebase_source : c41de9544c966c8859a429a8a0c63875c7d00b71
2013-06-16 18:40:16 -07:00
Nicholas Nethercote
fe57abd6a0 Bug 880041 (part 11) - Use JSObject::{is,as} for SetIteratorObject. r=evilpies.
--HG--
extra : rebase_source : de562a03da15209322232e0c9f00d1f0c07abbfb
2013-06-16 18:07:08 -07:00
Nicholas Nethercote
ea491c6ca7 Bug 880041 (part 10) - Use JSObject::{is,as} for ScriptSourceObject. r=evilpies.
--HG--
extra : rebase_source : d55f1fa65735074b96e8006a76939defc5f40379
2013-06-16 18:07:07 -07:00
Nicholas Nethercote
31bd984125 Bug 880041 (part 9) - Use JSObject::{is,as} for RegExpObject. r=sfink.
--HG--
extra : rebase_source : 083c58e8a82bf7edb2a46e24cae47236af51a2ac
2013-06-16 17:39:43 -07:00
Nicholas Nethercote
ea95c4669f Bug 880041 (part 8) - Use JSObject::{is,as} for PropertyIteratorObject. r=sfink.
--HG--
extra : rebase_source : 07cb730830bc8f61d6c28148c8c1e7e3ee94a6c8
2013-06-16 17:34:45 -07:00
Nicholas Nethercote
bdd2bfeecb Bug 880041 (part 7) - Remove JSObject::isPrimitive, because it's dead. r=sfink.
--HG--
extra : rebase_source : 1e71fe2261b01b3769ecbb4377f8ef19d3a813da
2013-06-16 17:28:41 -07:00
Nicholas Nethercote
a388bcd855 Bug 880041 (part 6) - Use JSObject::{is,as} for MapIteratorObject. r=sfink.
--HG--
extra : rebase_source : 32577e3ec9c0aebc94dfedd46e7af29d8475c927
2013-06-16 17:27:16 -07:00
Nicholas Nethercote
a548ec558b Bug 880041 (part 5) - Use JSObject::{is,as} for ElementIteratorObject. r=sfink.
--HG--
extra : rebase_source : 0f71366ff461d7c4d021e1d0381dad1b45462342
2013-06-16 17:24:34 -07:00
Nicholas Nethercote
b0fe8ad0a3 Bug 880041 (part 4) - Use JSObject::{is,as} for DataViewObject. r=luke.
--HG--
extra : rebase_source : 07ff2585a6e592d0ae0ec9716556d61165eb6a50
2013-06-16 17:19:53 -07:00
Nicholas Nethercote
dafcf11da6 Bug 880041 (part 3) - Use JSObject::{is,as} for ArrayBufferObject. r=luke.
--HG--
extra : rebase_source : 0c37996aa68c943451a52e819d6c6fb71eb0a7b4
2013-06-16 17:07:35 -07:00
Nicholas Nethercote
81d8dd7ce4 Bug 880041 (part 2) - Use JSObject::{is,as} for {Normal,Strict,}ArgumentsObjects. r=luke.
--HG--
extra : rebase_source : 1648dd8eae1d1fdcc28644b9865960560ba301f8
2013-06-16 17:06:04 -07:00
Jason Orendorff
db3e4b947b Bug 880041 (part 1) - Introduce JSObject::{is,as} template functions, and use them for ModuleObject. r=nnethercote.
--HG--
extra : rebase_source : 46a475d54d29fd8a20ca3f201368b350b6d69008
2013-06-16 16:47:30 -07:00
Nicholas Nethercote
006d7fcd2f Bug 881579 - Use the canonical #ifndef wrapper form in SpiderMonkey headers so that GCC and clang can avoid including them more than once per compilation unit. r=benjamin.
--HG--
extra : rebase_source : f9d2b33defe07837da4828a57c66fe0ea6772bae
2013-06-16 16:11:24 -07:00
Nicholas Nethercote
d3e40e9f87 Bug 883691 - Fix some simple clang warnings in SpiderMonkey. r=bhackett.
--HG--
extra : rebase_source : 168fe0710a42ebf3f90c14ecb12de32305987586
2013-06-16 18:12:35 -07:00
Douglas Crosher
6db97e321e Bug 883106 - IonMonkey: avoid emitting zero length perf Jit map entries, r=nmatsakis 2013-06-14 21:03:19 +10:00
Douglas Crosher
35a7b33021 Bug 883108 - Asm.js: re-enable Ion Spew, r=nmatsakis 2013-06-14 21:16:55 +10:00
Brian Hackett
41d5c93ef4 Bug 883562 - Check for lazy functions when bailing out from Ion to Baseline. 2013-06-16 10:37:56 -06:00
Brian Hackett
9a5791cb47 Bug 883630 - Watch for lazy functions when iterating inline Ion frames, clean up methods for accessing function scripts. 2013-06-16 10:24:45 -06:00
Brian Hackett
aebd81764e Bug 883623 - Check free variables within eval'ed code before restarting processing of top level statements in the eval. 2013-06-16 07:12:20 -06:00
Ryan VanderMeulen
90792a0ded Merge inbound and m-c. 2013-06-15 21:34:21 -04:00
Ryan VanderMeulen
2fc043a1b3 Bug 809306 - Fix Win64 bustage. 2013-06-14 22:23:21 -04:00
Jason Orendorff
1aac86dee3 Bug 881056 - Remove unused hasFunctionStmt parameter from some Parser methods. r=bhackett. 2013-06-14 16:30:40 -05:00
Jason Orendorff
463f5d3324 Bug 872735, part 5 - Remove newNullary from the ParseHandler protocol. It is only used for array holes; replace it with a newElision method. Add PNK_ELISION to distinguish elisions from sequence expressions (which use PNK_COMMA). r=Waldo. 2013-06-14 16:30:40 -05:00
Jason Orendorff
46e13cc41f Bug 872735, part 4 - Remove setBinaryRHS from the ParseHandler protocol. It was only used in parsing switch statements. It is replaced by a newCaseOrDefault method. r=Waldo. 2013-06-14 16:30:40 -05:00
Jason Orendorff
118dd2bbcc Bug 872735, part 3 - Add PNK_LABEL for labeled statement nodes. Remove ForgetUse. r=Waldo. 2013-06-14 16:30:40 -05:00