Luke Wagner
108ee626e1
Bug 888469 - rm funName argument (r=bhackett)
2013-06-25 00:20:51 -07:00
Luke Wagner
4b380c183f
Bug 888469 - rm dead assignment to 'body' (r=bhackett)
2013-06-25 00:02:49 -07:00
Luke Wagner
81d29c9609
Bug 888469 - rm 'strict' argument in some places (r=bhackett)
2013-06-24 23:16:33 -07:00
Luke Wagner
2e68ff1b9c
Bug 888469 - rm PND_BLOCKCHILD (r=bhackett)
2013-06-24 18:15:43 -07:00
Hannes Verschore
91c05daab3
Bug 890722 - IonMonkey: implement JSOP_SETRVAL and JSOP_RETRVAL, r=jandem
2013-07-15 14:48:47 -07:00
Benjamin Bouvier
08f99a4009
Bug 893368: in asm.js, correctly compute range for truncated Math.abs calls; r=nbp
2013-07-15 14:46:03 -07:00
Benjamin Bouvier
5d7c1af645
Bug 893364: in asm.js mode, correctly compute ranges for add and sub;
2013-07-15 14:41:36 -07:00
Daniel Holbert
515111548d
Bug 893904 - Remove 2 unused variables from MIR.cpp. r=bhackett
2013-07-15 17:29:18 -04:00
Wei Wu
9f79c43bcb
Bug 893348 - Update the default value of 'GVN' option in jsshell's usage. r=nbp
2013-07-15 17:29:01 -04:00
Shu-yu Guo
3191cdc01b
Bug 893679 - Insert type barrier for ParallelGetPropertyIC if the observed set doesn't contain undefined. (r=bhackett)
2013-07-15 14:07:36 -07:00
Steve Fink
6a531f473e
No bug. Minor comment tweaks. DONTBUILD.
...
--HG--
extra : rebase_source : 315e111f0b8655ab2f7c4ffcde0f6f823239544f
2013-07-15 14:08:15 -07:00
Brian Hackett
506ff5d384
Bug 887075 - Use original function when compiling lazy scripts, r=luke.
2013-07-15 14:53:13 -06:00
Jason Orendorff
deb6ca0a80
Bug 892561 - Inline Parser::bracketedExpr() into its only call site, in Parser::parenExpr(). r=Waldo.
...
--HG--
extra : rebase_source : a1e9ce81638fd543c1e21cb69d81c9767118b7c9
2013-07-15 11:22:06 -05:00
Jason Orendorff
9a252bd660
Bug 889628, part 5 - Enforce ES6 rules about assigning to eval or arguments in destructuring assignment. r=Waldo.
...
--HG--
extra : rebase_source : 865c3056ded7d74d26bc2e24f3f2e66066a7bd3f
2013-07-15 11:21:17 -05:00
Jason Orendorff
eab450018c
Bug 889628, part 4 - Remove another redundant BindNameToSlot call. r=Waldo.
...
--HG--
extra : rebase_source : 9408237df183256ecddf4ee9f2de505a80a9a086
2013-07-15 10:28:57 -05:00
Jason Orendorff
c3928a0fe2
Bug 889628, part 3 - Don't set pn_op on PNK_DOT and PNK_ELEM nodes in assignment. r=Waldo.
...
--HG--
extra : rebase_source : fbcd7b2cb4cecbbdcd6326e4f4726232d9af7f51
2013-07-15 10:28:46 -05:00
Jason Orendorff
0f785e0c3e
Bug 889628, part 2 - Do not look at lhs->getOp() when selecting opcodes for destructuring assignment, except if lhs is a name and we just called BindNameToSlot. r=Waldo.
...
--HG--
extra : rebase_source : 955e32774099d85cab5b5d6b83a9d5233493fa08
2013-07-15 10:28:35 -05:00
Jason Orendorff
7306d2be08
Bug 889628, part 1 - Merge setLvalKid with setIncOpKid. Rename it to checkAndMarkAsIncOperand. Rename setAssignmentLhsOps to checkAndMarkAsAssignmentLhs. r=Waldo.
...
--HG--
extra : rebase_source : cd6f0c140aa6e11ca6fd5a60230f7d623e957455
2013-07-15 10:28:18 -05:00
Jason Orendorff
905f4461f1
Fix trailing whitespace in jsobj.cpp, noted by Ms2ger in bug 886087 comment 5. no_r=me.
...
--HG--
extra : rebase_source : b0a5cd29a6f3e5322d080343a1d4d15d54cb3f35
2013-07-15 10:26:49 -05:00
David Caabeiro
563c42d879
Bug 717379, part 2 - Add JIT support for new ES6 Math functions, except Math.hypot(). r=jorendorff.
...
--HG--
extra : rebase_source : f92507aa60224c3383968c96cfb29c6ba2ae8105
2013-07-15 10:03:14 -05:00
David Caabeiro
afacfa5f5e
Bug 717379, part 1 - Implement the new ES6 math functions. r=jorendorff.
...
--HG--
extra : rebase_source : 4383cf6dee7c126cf2067b7ec5a8b695f008764e
2013-07-15 10:03:14 -05:00
Ryan VanderMeulen
495d1f2b79
Backed out 4 changesets (bug 889911) for Windows bustage.
...
Backed out changeset 5e55ddfc9dc3 (bug 889911)
Backed out changeset 5e296989dd3d (bug 889911)
Backed out changeset 6e48a408d1de (bug 889911)
Backed out changeset e4ec71ab768f (bug 889911)
2013-07-15 15:28:29 -04:00
Justin Lebar
ae700dba20
Bug 893281 - Don't require a no-args constructor for elements in a JS::Vector if you call GrowByUninitialized(). r=luke
2013-07-15 12:10:59 -07:00
Terrence Cole
67f8a8cfd4
Bug 892287 - Simplify post barriering of TypedArray's internal pointers; r=sfink
...
--HG--
extra : rebase_source : ce417f347a577c559847f28aa2ca84d7cb7c2bc1
2013-07-11 15:14:20 -07:00
Terrence Cole
06d5e8d3e6
Bug 892287 - Add re-entrancy guards to store buffer mark/put; r=billm
...
--HG--
extra : rebase_source : 14396f2bebeb8794c7b22a0eadff9de0a471b31d
2013-07-11 15:00:53 -07:00
Bobby Holley
7b22d7ae94
Bug 889911 - Switch xpcshell to SystemErrorReporter with a little bit of special magic. r=mrbkap
...
XPCShell currently overrides all the JSContexts whose creation it observes with
its own custom error reporter. This reporter does all sorts of funny things which
we try to clean up for the most part. But there are a few very intricate
considerations at play.
First, the old xpcshell error reporter does some mumbo jumbo with the
XPCCallContext stack to try to guess whether some other code might catch the
exception. This is total garbage on a number of fronts, particularly because
the XPCCallContext stack has no concept of saved frame chains, nested event
loops, sandbox boundaries, origin boundaries, or any of the myriad of
complicating factors that determine whether or not an exception will propagate.
So we get rid of it. But this causes some crazy debugger tests to fail, because
they rely on an exception from uriloader/exthandler/nsHandlerService.js getting
squelched, and can't handle anybody reporting errors to the console service at
the particular moment of contortionism when the exception is raised. So we need
to introduce an explicit mechanism to disable the error reporter here to keep
things running.
Second, we have to be very careful about tracking the return status of the
xpcshell binary. The old code would simply flag an error code if the error
handler was invoked, and we can mostly continue to do that. But there are some
complications. See the comments.
Finally, we don't anything analogous in XPCShellEnvironment, because I have
patches in bug 889714 to remove its state-dependence on the error reporter.
I'll switch it to SystemErrorReporter in that bug.
2013-07-15 11:44:51 -07:00
Bobby Holley
b40e43f1c5
Bug 889911 - Replace mozJSLoaderErrorReporter with SystemErrorReporter and remove the former. r=mrbkap
2013-07-15 11:44:50 -07:00
Bobby Holley
61194c80d2
Bug 889911 - Introduce xpc::SystemErrorReporter, roughly based on mozJSComponentLoader's error reporter. r=mrbkap
2013-07-15 11:44:49 -07:00
Marty Rosenberg
ce66f8b23c
bug 858940: fix an additional case where we inspect the instruction stream without going through an iterator. r=jbramley
2013-07-15 14:21:46 -04:00
Jan de Mooij
bde7661435
Bug 866064 - Fix CodeLocationJump/CodeLocationLabel asserts to not use a magic value. r=nbp
...
--HG--
extra : rebase_source : 972088f94d0b5ab6ae4ae445ca275b3b3275a6b1
2013-07-15 15:45:56 +02:00
Brian Hackett
9030e6dd26
Bug 892187 - Fix spurious uses of ExclusiveContext->asJSContext(), r=billm.
2013-07-15 08:12:40 -06:00
Douglas Crosher
6de3edbcbc
Bug 893317 - Fix VTune include files. r=njn
2013-07-13 15:23:48 +10:00
Douglas Crosher
8df0849f37
Bug 893315 - More uses of Move need renaming to mozilla::Move. r=Waldo
2013-07-13 14:15:01 +10:00
Douglas Crosher
5d015575dc
Bug 893314 - More uses of js_AtomToPrintableString need renaming to AtomToPrintableString. r=bhackett
2013-07-13 14:00:53 +10:00
Mike Hommey
33751731f6
Bug 850576 - Statically link stlport on b2g and android, and always use a custom built stlport for that. r=ted
2013-07-15 18:48:39 +09:00
David Anderson
0f90d00ec4
Implement CPOW support in MessageManager (bug 870180, r=smaug,billm).
2013-07-10 15:05:39 -07:00
Phil Ringnalda
d9f4afd51e
Back out 757e87bb1c1e:2c2bb15bf160 (bug 884676) for make check failures
...
CLOSED TREE
2013-07-13 21:59:07 -07:00
Joshua Cranmer
5e0eace0b7
Bug 884676 - Part 2: Remove JS_ATOMIC_* in favor of mozilla::Atomic, r=Waldo.
2013-07-13 20:07:11 -05:00
Joshua Cranmer
b860325007
Bug 884676 - Part 1: Remove unused ThreadPool::submitOne method. r=Waldo
2013-07-13 20:05:11 -05:00
Till Schneidereit
e145bc9c54
Bug 886949 - Add Number.parseInt and Number.parseFloat. r=jwalden
2013-07-13 15:10:46 +02:00
Till Schneidereit
6c43ecbfbd
Bug 885798 - Add ES6's Number.EPSILON. r=jwalden
2013-07-13 15:09:32 +02:00
Nicholas Nethercote
faef963035
Bug 888768 (part 3) - Remove unnecessary *-inl.h #includes, as found by include-what-you-use. r=till.
...
--HG--
extra : rebase_source : 74b89e7ed7d9279061d88b29fff8e9c50c3a0050
2013-07-11 18:31:01 -07:00
Nicholas Nethercote
5cec6b541a
Bug 888768 (part 2) - Remove frontend/SharedContext-inl.h. r=till.
...
--HG--
extra : rebase_source : d9bb2d56d54eed908a8d9301519866bd417321df
2013-07-11 18:00:17 -07:00
Ryan VanderMeulen
19fc888904
Backed out 9 changesets (bug 838146) for suspected B2G Mn orange on a CLOSED TREE.
...
Backed out changeset 955a14e3c181 (bug 838146)
Backed out changeset fddccc5fce6e (bug 838146)
Backed out changeset 7cddfebc261c (bug 838146)
Backed out changeset fd3a62dd3910 (bug 838146)
Backed out changeset f06b420e0dfa (bug 838146)
Backed out changeset e0c3d84965cf (bug 838146)
Backed out changeset d3b135e58350 (bug 838146)
Backed out changeset 1bc7f2167503 (bug 838146)
Backed out changeset 483fbc6878a8 (bug 838146)
2013-07-12 18:15:10 -04:00
Nicholas D. Matsakis
86e1f5f0e7
Add test for bug 880377 rs=tests
2013-07-12 17:01:43 -04:00
Nicholas Nethercote
53ffaaba26
Bug 893158 - Tweak store buffer size to avoid overflow in pdfjs. r=terrence.
...
--HG--
extra : rebase_source : b93412ef09710038d730a78d746ab9df7c69e319
2013-07-11 23:41:27 -07:00
Kannan Vijayan
13e3ac738f
Bug 892544 - Stub out exception handling code. r=h4writer
2013-07-12 14:14:48 -04:00
Jason Orendorff
33964af882
Bug 889599, part 4 - Remove unnecessary JSScript parameter from Parser::standaloneFunctionBody(). r=Waldo.
2013-07-12 12:20:58 -05:00
Jason Orendorff
e87b2393f7
Bug 889599, part 3 - Create function parse nodes in the Parser rather than in frontend::CompileFunctionBody. r=Waldo.
2013-07-12 12:20:58 -05:00
Jason Orendorff
a68f8013b5
Bug 889599, part 2 - Remove unnecessary FunctionBox out-parameter from Parser::standaloneFunctionBody. r=Waldo.
2013-07-12 12:20:58 -05:00
Jason Orendorff
22ea8dbac9
Bug 889599, part 1 - Fix ParseNode.h comment about PNK_FUNCTION nodes. r=Waldo.
2013-07-12 12:20:58 -05:00
Jason Orendorff
ef1b610732
Bug 889584, part 4 - Remove an unnecessary setFunctionBody call. r=Waldo.
2013-07-12 12:20:58 -05:00
Jason Orendorff
aef442ae2a
Bug 889584, part 3 - Un-specialize Parser::expr(). The code was effectively the same in both specializations. r=Waldo.
2013-07-12 12:20:57 -05:00
Jason Orendorff
04590a3baa
Bug 889584, part 2 - Comment withStatement specialization for syntax-only mode. r=Waldo.
2013-07-12 12:20:57 -05:00
Jason Orendorff
501991ed21
Bug 889584, part 1 - Make the switch statement in Parser::statement handle all the cases, and make each case return. r=Waldo.
2013-07-12 12:20:57 -05:00
Nicholas D. Matsakis
614de8af20
Bug 880377 - Make UCE abort if some blocks are only reachable from OSR entry point r=bhackett
2013-07-11 12:55:47 -04:00
Boris Zbarsky
63bb410bda
Bug 838146 part 9. Turn on WebIDL bindings for Navigator. r=smaug
2013-07-12 10:37:23 -04:00
Wei Wu
45330bf733
Bug 892369 - Update the default value of the 'usesBeforeCompile' option in
...
jsshell's usage. r=bhackett
2013-07-12 09:25:41 -04:00
Benoit Girard
5b43ee14ca
Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium
2013-07-12 08:56:54 -04:00
Nicholas D. Matsakis
ae78e8087d
Bug 841621 - Add inline hint for self-hosted code r=dvander
2013-05-31 14:59:38 -04:00
Jan de Mooij
883c7d83f9
Bug 892931 - CallKnown should not emit a slow path if callee can't be Ion-compiled but can be Baseline-compiled. r=h4writer
2013-07-12 13:37:27 +02:00
Nicholas Nethercote
0d3b60738e
Bug 887558 (part 3) - Use JSObject::{is,as} for JSObject itself. r=sfink.
...
--HG--
extra : rebase_source : 510677697603e6502c738f5460b7bea4bffd7f27
2013-07-04 00:50:50 -07:00
Nicholas Nethercote
8575db2cf1
Bug 887558 (part 2) - Move various functions into ProxyObject and FunctionProxyObject. r=jorendorff.
...
--HG--
extra : rebase_source : 14402b9ab7eda3389eb1b812ee961e46067b5b1d
2013-06-20 22:39:22 -07:00
Nicholas Nethercote
40833186f3
Bug 887558 (part 1) - Introduce ProxyObject and some sub-classes. r=jorendorff.
...
--HG--
extra : rebase_source : 33ed2aff35acbe4de8891a9fb34c60e7a314d9c8
2013-06-20 21:27:28 -07:00
Dan Gohman
346ea3ad41
Bug 891702 - IonMonkey: After ReorderCommutative, constants are always on the right. r=sstangl
2013-07-11 23:32:41 -07:00
Trevor Saunders
82e5558b37
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Gregory Szorc
843cf39f83
Bug 892646 - Remove unsued final-link-{libs,comps,comp-names} files; r=glandium
2013-07-11 19:44:54 -07:00
Benjamin Bouvier
8f13d83d25
Bug 892291: Correctly compute ranges for Math.imul; r=nbp
...
--HG--
extra : rebase_source : 0b6d8d27bbb01fee911e90fc571f683e175fdbbc
2013-07-11 18:56:28 -07:00
Nicholas Nethercote
202710e7aa
Bug 888768 (part 1) - Remove unnecessary js*inlines.h #includes, as found by include-what-you-use. r=bhackett.
...
--HG--
extra : rebase_source : 255befadc7d1bd1ed0ef1720cb8043db74ce48a8
2013-07-11 15:15:17 -07:00
Mike Hommey
784edc021e
Bug 892401 - Remove NEW_H. r=ted
2013-07-12 09:16:41 +09:00
Mike Hommey
7ae0a0662d
Bug 892361 - Default to gcc 4.7 from the NDK if it's there. r=ted
2013-07-12 09:16:11 +09:00
Mike Hommey
9126e4cb5c
Bug 892339 - Fail the build when there are text relocations. r=ted
2013-07-12 09:13:31 +09:00
Brian Hackett
a218a58c66
Bug 891534 - Use asm.js ops for truncated unsigned div/mod, allow div ops to be marked as truncated, r=jandem.
2013-07-11 17:11:04 -06:00
Brian Hackett
42edd080fb
Bug 891400 - Don't use LoadTypedArrayElementStatic for uint32 arrays.
2013-07-11 16:50:27 -06:00
Kannan Vijayan
c40bbe1f39
Bug 877826 - Make GetPcScript handle rectifier frames appropriately. r=jandem
2013-07-11 18:26:35 -04:00
Steve Fink
bac8f07fe0
Bug 848146 - Do not need to SkipRoot inline assembler buffers, r=terrence
...
--HG--
extra : rebase_source : 7b0011ba3b5b2749d1b57eec635ec7ccb2d1bdad
2013-03-05 14:57:49 -08:00
Nicholas Nethercote
96e01ce42e
Bug 892187 (part 0) - Fix busted GGC builds. r=bhackett.
...
--HG--
extra : rebase_source : a4be26dc5bc99ea987e76023f437a64304001639
2013-07-11 15:05:25 -07:00
Terrence Cole
1414e59ca9
Bug 891773 - Check ArrayBufferView's back reference before marking; r=sfink
...
--HG--
extra : rebase_source : 9509d8304020457f31cbb6b90ae5f6f4cc9270db
2013-07-11 14:34:54 -07:00
Terrence Cole
c0acaab82c
Bug 891773 - Do not assume RelocatablePtr is only used on JSObject; r=billm
...
--HG--
extra : rebase_source : ff327374ac7900626fe166b307fba5b1fcd31f3f
2013-07-11 14:34:48 -07:00
Brian Hackett
9dbfd64c90
Bug 891400 - Improve pattern matching on static typed array accesses, r=jandem.
2013-07-11 15:08:26 -06:00
Gregory Szorc
bee18ba6c2
Bug 891474 - Establish unified directory for Python build actions; r=glandium, ted
...
--HG--
rename : config/purge_directories.py => python/mozbuild/mozbuild/action/purge_manifests.py
rename : build/xpccheck.py => python/mozbuild/mozbuild/action/xpccheck.py
extra : rebase_source : 46bc960aa62c1117a7bf215653b768dc78b48d9a
2013-07-11 13:42:26 -07:00
Adam Roach [:abr]
1de81b77e5
Bug 892594 - Fix LIR-Common.h to work with clang++ 4.1 r=nbp
2013-07-11 15:38:58 -05:00
Jason Orendorff
e37ed358a5
Bug 885761 - Remove Token::t_op and KeywordInfo::op. r=till.
...
--HG--
extra : rebase_source : f1d267e99b76d1ed575beb214fbc0360cf8ebe7b
2013-07-10 16:37:45 -05:00
Jason Orendorff
838238173f
Backout rev 89551867dc2a for having the wrong bug number in the commit message (was bug 885762, should be bug 885761). Pointed out by Ms3ger. no_r=me.
...
--HG--
extra : rebase_source : 2171490306c5559161f34e537f035c2c69e1fdd2
2013-07-10 16:36:58 -05:00
Tom Schuster
7f75baf398
Bug 890729 - Reorder the CPOW traps. r=dvander
2013-07-11 11:23:34 -04:00
Nicholas D. Matsakis
07257e7a4c
Bug 829896 - Make typed array element accesses return undefined if the element is out of bounds, rather than accessing the prototype chain r=jandem
2013-07-09 15:29:39 -04:00
Norbert Lindenberg
83509983f7
Bug 854320 - ECMA-402 tests ch10/10.1/10.1.1_a.js, ch11/11.1/11.1.1_a.js, ch12/12.1/12.1.1_a.js failing. r=jwalden
2013-07-11 09:54:09 -04:00
Norbert Lindenberg
10b91a604a
Bug 834989 - Use of RegExp in self-hosted code can be observed through RegExp statics. r=jwalden
2013-07-11 09:53:56 -04:00
Shu-yu Guo
09088c3ce3
Bug 890968 - Followup: forgot to qualify JSString::maybeChars() with const. DONTBUILD
2013-07-11 03:01:36 -07:00
Nicholas Nethercote
dc8f17c69a
Bug 891215 (part 20) - Slim down String-inl.h. r=terrence.
...
--HG--
extra : rebase_source : 5b141ad99549d41ebb174d24df8b04d60fed3aae
2013-07-10 16:23:28 -07:00
Nicholas Nethercote
f8d8cd34fa
Bug 891215 (part 19) - Slim down Shape-inl.h. r=terrence.
...
--HG--
extra : rebase_source : 77cbecf4148cfcc6df2588001b36c78658eb90ea
2013-07-10 16:23:28 -07:00
Nicholas Nethercote
869bc0f986
Bug 891215 (part 18) - Slim down RegExpStatics-inl.h. r=terrence.
...
--HG--
extra : rebase_source : 244cf0dbc08fd04307a0e371bfc753d1e4640a9d
2013-07-10 16:23:28 -07:00
Nicholas Nethercote
2070010e4a
Bug 891215 (part 17) - Move SizeOfRegExpStaticsData() into the RegExpStaticsObject class. r=terrence.
...
--HG--
extra : rebase_source : 5ab7214b39e0ea7633e08eb912bb9dcbc7f973ef
2013-07-10 16:23:28 -07:00
Nicholas Nethercote
552adee9b0
Bug 891215 (part 16) - Slim down RegExpObject-inl.h. r=terrence.
...
--HG--
extra : rebase_source : b868181ba37ae1332589a08a7d9a97bd649ea115
2013-07-09 13:41:16 -07:00
Nicholas Nethercote
5dd85d8371
Bug 891215 (part 15) - Slim down Interpreter-inl.h. r=terrence.
...
--HG--
extra : rebase_source : dea8c481504ce50b2b1869d81b4d6aa1a1f1a212
2013-07-09 13:19:37 -07:00
Nicholas Nethercote
38f4c5363f
Bug 891215 (part 14) - Slim down GlobalObject-inl.h. r=terrence.
...
--HG--
extra : rebase_source : 126eaa4ad6cebf3e2794fec62b84cec610af4604
2013-07-09 13:19:08 -07:00
Wes Kocher
5ed483fdc1
Backout 129da44ac469 (bug 870180) for breaking message manager
2013-07-10 18:22:34 -07:00
Shu-yu Guo
3dc72d6c3e
Bug 891946 - Rename ThreadSafeContext variables from tcx -> cx. (r=bhackett)
2013-07-10 18:25:42 -07:00
Shu-yu Guo
1719604339
Bug 885017 - Fix length handling in ParallelArray.scatter. (r=pnkfelix)
2013-07-10 18:25:42 -07:00
Shu-yu Guo
c2e2abcdec
Bug 889346 - Check for NULL TypeObject when inlining ParallelArray constructors. (r=nmatsakis)
2013-07-10 18:25:42 -07:00