Commit Graph

26895 Commits

Author SHA1 Message Date
Hannes Verschore
eb6bc7661e Bug 880891 - IonMonkey: Only trigger invalidation when decided to inline function, r=djvj 2013-06-09 11:57:59 +02:00
Landry Breuil
21273d6caa Bug 618485: Finally remove uintptr_t word payload union member on 64BE, it grows jsval_layout size and is unused. r=luke 2013-06-08 12:49:10 +02:00
C. Scott Ananian
4026e0ce22 Bug 880807 - OdinMonkey: Fix signature of int multiplication by constant (r=luke)
--HG--
extra : rebase_source : 6b4d2bcb2261c9d466e5ce8098a70212a5b7c78f
2013-06-07 18:33:50 -04:00
Boris Zbarsky
51217ccdd9 Bug 877281 another followup for the Windows bustage. r=jandem pending 2013-06-08 00:06:39 -04:00
Boris Zbarsky
8aa1bc1906 Bug 877281 bustage fix. Deal with the fact that Value has 8-byte alignment. r=jandem 2013-06-07 23:40:35 -04:00
Jason Orendorff
f7e4b064e2 Bug 880575, part 5 - Factor out EvalAndPrint from ReadEvalPrintLoop. Use CompileOptions to eliminate some more manual memory management. Make ReadEvalPrintLoop take both input and output FILEs as arguments instead of using gOutFile. r=jwalden. 2013-06-07 22:25:08 -05:00
Jason Orendorff
f2e4058507 Bug 880575, part 4 - Use a Vector<char> instead of manually allocating the input buffer in ReadEvalPrintLoop. r=jwalden. 2013-06-07 22:25:08 -05:00
Jason Orendorff
7e6ac96fc1 Bug 880575, part 3 - Declare variables at initialization in ReadEvalPrintLoop. r=jwalden. 2013-06-07 22:25:08 -05:00
Jason Orendorff
666830c9de Bug 880575, part 2 - Factor out RunFile() from Process(). r=jwalden. 2013-06-07 22:25:07 -05:00
Jason Orendorff
1a1fb08c55 Bug 880575, part 1 - Factor out ReadEvalPrintLoop() from Process(). r=jwalden. 2013-06-07 22:25:07 -05:00
Boris Zbarsky
f68f0da53c Bug 872669. Slightly speed up our named proxy gets by making use of the inline chars/length getters we can have when our id is an atom. r=waldo,peterv 2013-06-07 22:45:46 -04:00
Boris Zbarsky
aec6c97d07 Bug 877281 part 5. Add a set() method to Rooted. r=terrence 2013-06-07 22:45:45 -04:00
Boris Zbarsky
ec718b51e3 Bug 877281 part 1. Convert WebIDL bindings to using something CallArgs-like. r=peterv,jandem 2013-06-07 22:45:44 -04:00
Bobby Holley
a0507f61d6 Bug 770840 - Add Runtime aborts when using XPCWrappedJS off-main-thread. v2 2013-04-12 15:35:00 -04:00
Bobby Holley
360f1a1f1e Bug 770840 - Remove XPConnect test that explicitly runs JS on a seperate thread. v1 2013-04-12 15:34:00 -04:00
Jan de Mooij
d9e3b5ba11 Bug 868437 - Add a linked list of activations to JSRuntime and rewrite ScriptFrameIter to use it. r=luke 2013-05-27 11:43:15 +02:00
Felix S. Klock II
665c29dba1 Bug 881223: Issue warnings on GC bailouts. r=nmatsakis 2013-06-10 07:40:00 -04:00
Hannes Verschore
33249591c0 Bug 879168 - IonMonkey: Improve the typeset of |this| when inlining a constructing call, r=bhackett 2013-06-11 16:00:54 +02:00
Gabor Krizsanits
08c61f7f29 Bug 877760 - XPConnect always logs an error when a component doesn't implement a method. r=mrbkap 2013-06-11 12:01:33 +02:00
Jan de Mooij
71d79d8cb5 Bug 881410 - Remove some TI code we no longer need without JM. r=bhackett 2013-06-11 10:11:04 +02:00
Hannes Verschore
d1519fbef7 Bug 876607 - Fix accidental switching of lhs/rhs in the code, rs=luke 2013-06-08 00:34:16 +02:00
Benjamin Bouvier
bbad0508b6 Bug 878495 - In shell, print "[native code]" for native functions. r=luke 2013-06-07 10:57:21 -07:00
Benjamin Bouvier
1e5b25ad09 Bug 877965 - Ignore empty statements in var declarations in asm.js mode. r=luke 2013-05-31 16:27:00 -07:00
Benjamin Bouvier
e93e1008b8 Bug 877965 - In asm.js mode, use the last return statement instead of the last statement to find the return type of a function. r=luke 2013-06-07 12:06:53 -07:00
Kannan Vijayan
c3486ad31a Bug 880539 - Fix CodeGenerator::guardTypeSet to handle MagicArgs type. r=bhackett 2013-06-07 15:06:53 -04:00
Terrence Cole
6df78c5573 Bug 880392 - Fix use-after free with exact rooting in XPCShell; r=sfink
--HG--
extra : rebase_source : a509e84b7165b8a40f4a06e006dfc614665eef2c
2013-06-07 11:34:57 -07:00
Ryan VanderMeulen
8716f9c7cb Backed out changeset d6db31e46b02 (bug 878495) for jit-test failures. 2013-06-07 11:16:36 -04:00
Benjamin Bouvier
336f4cf0c6 Bug 878435 - In asmjs mode, compare in uint32 mode only if both operands are unsigned. r=luke 2013-06-06 17:00:08 -07:00
Ryan VanderMeulen
289a9dd76e Backed out changeset aa9a0b34bbd8 (bug 878435) for checktest failures. 2013-06-07 10:43:33 -04:00
Arnaud Sourioux
a5d79837b1 Bug 880089 - Remove unused parameter 'flags' from nsIXPConnect.idl's in setDefaultSecurityManager() methods correctly. r=bholley 2013-06-07 08:40:56 -04:00
Benjamin Bouvier
ba92c1f855 Bug 878495 - In shell, print "[native code]" for native functions. r=luke 2013-06-06 17:57:15 -07:00
Benjamin Bouvier
14d84bf8d6 Bug 878435 - In asmjs mode, compare in uint32 mode only if both operands are unsigned. r=luke 2013-06-06 17:00:08 -07:00
Benjamin Bouvier
4cfb93da4d Bug 877908 - Precludes also directives after "use asm". r=luke 2013-06-06 13:49:13 -07:00
Anand Soni
0981ee2607 Bug 875449 - Rename ListBase to DOMProxy, since these proxies are used for all sorts of objects that aren't in any way like lists. r=djvj 2013-06-07 00:02:26 +05:30
Martin Husemann
aa04b10b63 Bug 870325 - Fix alignment of Bindings on SPARC64. r=nnethercote.
--HG--
extra : rebase_source : d89c154f8b3484079cc7fb4fa656cf8ff72bae8a
2013-06-06 22:03:12 -07:00
Jason Orendorff
a88777a861 Bug 879831, part 7 - Isolate the frontend. Make files outside the frontend include frontend/BytecodeCompiler.h or frontend/SourceNotes.h if possible; those two act as facades and do not include all the rest of the frontend headers. r=njn. 2013-06-06 22:49:17 -05:00
Jason Orendorff
c9e08462b7 Bug 879831, part 6 - Factor out Debugger inlines that depend on other "inlines" headers into vm/Debugger-inl.h. r=njn. 2013-06-06 22:49:03 -05:00
Jason Orendorff
c707c0de2f Bug 879831, part 5 - Factor out js::Probes functions that depend on "inlines" headers into vm/Probes-inl.h. r=njn.
--HG--
rename : js/src/jsprobes.h => js/src/vm/Probes-inl.h
rename : js/src/jsprobes.cpp => js/src/vm/Probes.cpp
2013-06-06 22:48:45 -05:00
Jason Orendorff
d9ab0a4b94 Bug 879831, part 4 - Make vm/String-inl.h not include gc/Barrier-inl.h, breaking an #include cycle. Make vm/Shape-inl.h not #include itself. r=njn. 2013-06-06 22:48:32 -05:00
Jason Orendorff
cdf4226c2f Bug 879831, part 3 - Make jsobjinlines.h not include jsscriptinlines.h, eliminating the #include cycle jsscriptinlines.h -> vm/Shape-inl.h -> jsobjinlines.h -> jsscriptinlines.h. r=njn. 2013-06-04 16:24:43 -05:00
Jason Orendorff
8fa7f5b04d Bug 879831, part 2 - Move JSObject::asModule from Module.h to jsobjinlines.h since it requires another inline function defined in that header. r=njn. 2013-06-06 22:48:00 -05:00
Jason Orendorff
506ffbea73 Bug 879831, part 1 - Uninline JSScript::sourceObject. Same as bug 877444, but actually uninline sourceObject all the way out to a .cpp file. r=njn. 2013-06-06 22:47:40 -05:00
Jason Orendorff
38062bb90b Bug 879831, part 0 - Add defined(JS_ION) guard to more ion headers, to prevent the need for #ifdef JS_ION around #includes in other files. r=njn. 2013-06-06 22:47:23 -05:00
Jason Orendorff
a522114b37 Bug 872717 - Remove PNX_FORINVAR. Its only user, jsreflect.cpp, does not really need the hint. r=luke. 2013-06-06 22:47:23 -05:00
Jason Orendorff
74b1747201 Bug 872720 - Do not bother calling clearParent in Parser::newRegExp. r=Waldo. 2013-06-06 22:47:23 -05:00
Jason Orendorff
436fe74f12 Bug 879817 - Remove unused method Debugger::isDebugWrapper. r=jonco. 2013-06-06 22:47:22 -05:00
Benjamin Bouvier
f1e6fea5c4 Bug 878520: don't clone native asm.js functions; r=luke 2013-06-06 14:48:40 -07:00
Jim Blandy
f5b50e03cb Bug 877444: Remove new 'inline function used but not defined' warnings for ScriptSourceObject-related functions. r=terrence 2013-06-06 14:47:12 -07:00
Jon Coppeard
1c5049851e Bug 878486: Improve sweeping of breakpoints r=terrence 2013-06-06 14:47:12 -07:00
Eddy Bruel
31a698f4b5 Bug 858060 - Throw SyntaxError on module syntax. Fix bogus assertion. r=jorendorff.
--HG--
extra : rebase_source : ea25ab9fa70ff070ab85a5d4187d9b7312817557
2013-06-05 14:17:43 -05:00
Jason Orendorff
6386ad36fa Bug 877639 - Switch some code in frontend/FoldConstants.cpp from getOp() to getKind(). r=jwalden.
--HG--
extra : rebase_source : 97c448dc52660fc0257d81730b1c07eb2b89df40
2013-06-05 14:17:43 -05:00
Sankha Narayan Guria
d0c792512a Bug 875433 - Array.prototype.iterator is the same function object as .values. r=jorendorff.
--HG--
extra : rebase_source : 0b9b93bd796ba2c528b89c377b8aac922631ec98
2013-06-05 14:17:35 -05:00
Sankha Narayan Guria
93726c7d29 Bug 869996 - Implement Set.prototype.{keys, values, entries}. r=jorendorff.
--HG--
extra : rebase_source : 6d978d49d2fb696162b1cef5b643a209a01a4711
2013-06-05 14:17:30 -05:00
Sean Stangl
c9422a7b70 Bug 858586 - Drop temporary MGetPropertyCache reference if native inlining fails. r=h4writer 2013-06-05 17:05:28 -07:00
Kannan Vijayan
628e0ba714 Bug 877287 - Fix regression introduced by revision 7df36088f645. r=bhackett 2013-06-06 15:03:40 -04:00
Kyle Huey
86d6d2b6ae Back out bug 877584 on this CLOSED TREE. 2013-06-06 10:49:09 -07:00
Kyle Huey
0c7597e1cb Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8 2013-06-06 10:23:45 -07:00
Terrence Cole
59ded2d99d Bug 879874 - Do not allow JIT code to allocate into a disabled nursery; r=bhackett
--HG--
extra : rebase_source : 5f08128798e8f54d1a145f85ed75d0fab2343381
2013-06-06 09:09:05 -07:00
Hannes Verschore
697a26b74f Bug 876607 - IonMonkey: Reordering of operands should look to real use count, r=sstangl 2013-06-06 15:35:13 +02:00
Martin Stransky
7b831fc935 Bug 877626 - Port GTK2 to GTK3 - build config, headers fix. r=karlt 2013-06-06 07:57:58 -04:00
Martin Stransky
f885460f7b Bug 877626 - Port GTK2 to GTK3 - build config, configure in js part. r=karlt 2013-06-06 07:57:40 -04:00
Jon Coppeard
25f427a68d Bug 876654 - [jsdbg2] Assertion failure: kind == CrossCompartmentKey::DebuggerScript ... at jsgc.cpp:3241 r=terrence 2013-06-06 10:16:51 +01:00
Peter Van der Beken
0e0cb23737 Bug 877654 - Remove thisptr offset tables - Remove thisptr table support from XPConnect. r=Ms2ger.
--HG--
extra : rebase_source : 9f333a76ba13b518e3a33a230adcdd154606fa1a
2013-05-21 21:59:30 +02:00
Daniel Holbert
984ba95807 Bug 880078: Remove no-longer-used variable 'secFlag' from XPCWrappedNative::CallMethod. r=bholley 2013-06-06 00:27:16 -07:00
Dan Gohman
9b7671b338 Bug 875916 - Fix some x86 assembly spew bugs. Also, change the order of operands in psrlq and psllq to be consistent with the operand ordering used in the rest of the file. r=sstangl 2013-06-05 17:10:47 -07:00
Dan Gohman
141ab58769 Bug 875917 - Use xorl to zero a register instead of movl. r=luke 2013-06-05 17:10:47 -07:00
Dan Gohman
8dc0931765 Bug 871728 - Avoid pushing the stack pointer to the stack; it's saved and restored in ABIArgGenerator::NonVolatileReg. r=luke 2013-06-05 17:10:47 -07:00
Dan Gohman
7e48f0d375 Bug 878818 - Include column numbers in asm.js diagnostics. r=luke 2013-06-05 17:10:47 -07:00
Jeff Walden
4f4586feee Bug 496923 - Import the ch09 test262 tests into jstests. r=generating-script-was-reviewed
--HG--
extra : rebase_source : 2734046863d49aa9400d1602a65dc8a851b10b05
2013-06-05 17:02:40 -07:00
Jeff Walden
13ea38ce1b Bug 496923 - Update the test262-updating script to import the ch09 tests. r=terrence
--HG--
extra : rebase_source : ec86e42b9808880804d06599fdf334602e1b2842
2013-06-05 17:02:37 -07:00
Steve Fink
b5693aeaba Backed out changeset 55fa2277a702 (bug 848592) for exposing pre-existing rooting hazards. Will fix the problems before relanding. The green you see is a lie. 2013-06-05 16:03:30 -07:00
Dan Gohman
5b627cd05c Bug 875910 - Optimize x86 and x64 encodings for test and cmp with immediates. r=sstangl 2013-06-05 14:59:33 -07:00
Steve Fink
2f7f14840c Bug 848592 - Mark memory accessed by dynamic rooting analysis as defined, r=njn
--HG--
extra : rebase_source : 15c4b347a2705883bffa148955b2a3c147499864
2013-03-06 15:56:35 -08:00
Steve Fink
a21d30c7e1 Bug 876776 - Add a -J option to the shell for running under jorendb, r=terrence
--HG--
extra : rebase_source : 60afc69f0c9ac65ab913797f8393779f3566ed2e
2013-06-04 12:14:17 -07:00
Steve Fink
d356730f1c Bug 876776 - Do not crash when dumping a NULL object, r=terrence
--HG--
extra : rebase_source : 01e96eb326c42b62b49251dce5dac7e2fbc031b5
2013-06-04 12:14:17 -07:00
Steve Fink
65c61fe73d Bug 876776 - Allow using '--' to terminate shell arguments (and pass the rest to the script), r=terrence
This makes
  ./js -f foo.js -- a b c
the same as
  ./js foo.js a b c
but also allows things like
  ./js -e 'print(arguments)' -- a b c
which previously wasn't possible.

--HG--
extra : rebase_source : dbed845426786c86f20e6f9abe4479e07bb228b9
2013-05-22 09:50:08 -07:00
Steve Fink
ae1c139ed2 Bug 876776 - Import latest version of js/examples/jorendb.js. DONTBUILD
--HG--
extra : rebase_source : 03473dd562c2b41e4720dcbaa41dc07bcc57c050
2013-06-04 12:14:17 -07:00
Terrence Cole
5a0f0901d3 Bug 879079 - Fix some exact rooting static analysis failures under js/src; r=bhackett
--HG--
extra : rebase_source : 3d5181531aef48516f1ec257b674e033a2da2aa6
2013-06-03 16:30:00 -07:00
Jeff Walden
8e8b1c81c2 Bug 496923 - Import the ch11/ test262 tests into jstests. r=generating-script-was-reviewed
--HG--
extra : rebase_source : e83eb03850d7283fffe3aa81d72d9198427b2771
2013-06-04 17:32:01 -07:00
Jeff Walden
2d129df36b Bug 496923 - Make the test262-importing script import tests from ch11/. r=terrence
--HG--
extra : rebase_source : 33780b34a54407f5deff88aa523318d3c83a1024
2013-06-04 17:31:54 -07:00
Jeff Walden
398f3b7ff0 Bug 496923 - Import the ch13/ test262 tests into jstests. r=generating-script-was-reviewed
--HG--
extra : rebase_source : b82cc636c546b1005ad837d3d2eeb696e686abbb
2013-06-04 17:13:53 -07:00
Jeff Walden
b6e1c19e08 Bug 496923 - Make update-test262.sh import tests from ch13/. r=terrence
--HG--
extra : rebase_source : ab8c3abd718abb15c7b3a8ed91c42dca7908d2f1
2013-06-04 10:46:42 -07:00
Jeff Walden
07ed56130d Bug 496923 - Import the ch10/ test262 tests into jstests. r=generating-script-was-reviewed
--HG--
extra : rebase_source : 13e84b256b23baba42cdb8b139e17174d9a264df
2013-06-04 17:04:47 -07:00
Jeff Walden
51d7544593 Bug 496923 - Make the test262-importing script import tests from ch10/, and skip the tests that we don't currently pass (6 for test harness shortcomings, 2 for actual bugs). r=terrence
--HG--
extra : rebase_source : 559020828156815e625a96815792ed08107fb790
2013-06-04 10:43:42 -07:00
Kannan Vijayan
f6360b0170 Bug 870034. r=bhackett 2013-06-05 16:52:11 -04:00
Kannan Vijayan
ea314e0c1c Bug 877287. r=h4writer 2013-06-05 16:42:23 -04:00
Sean Stangl
dd2794c754 Bug 879564 followup - Fix build on a CLOSED TREE. no_r=red 2013-06-05 12:05:30 -07:00
Kevin Stangl
8c46dedd10 Bug 879564 - Inline Math.atan2(). r=sstangl 2013-06-05 11:36:09 -07:00
Gavin Sharp
9edfda8ec6 Bug 878291: define RELEASE_BUILD/NIGHTLY_BUILD in the js configure too, r=ted
--HG--
extra : transplant_source : %20%C3%0EB%1F%F0%ED%84%91%EF3%06vJ%AA%BB3y%A8%D1
2013-05-31 14:56:48 -07:00
Dan Gohman
19add64a43 Bug 875929 - Now that js_bitscan_ctz64 and js_bitscan_clz64 are implemented on all platforms, clean up some compatibility code which isn't needed anymore. r=evilpies 2013-06-05 07:39:10 -07:00
Benjamin Bouvier
e053279032 Bug 879033 - Replace MOZ_DOUBLE_IS_NEGZERO by IsNegativeZero on Solaris. r=jimb 2013-06-03 15:09:22 -07:00
Dan Gohman
783a7c683b Bug 875929 - Generalize the code for materializing double constants. In particular, this new code handles 0x7ff8000000000000, a common NaN. To support this, implement js_bitscan_ctz64 for 32-bit targets. r=evilpies 2013-06-04 21:39:13 -07:00
Bobby Holley
a28e914d2c Bug 877261 - Fold XPCCallContext::Init into XPCCallContext::XPCCallContext. r=Ms2ger
The large block is a simple move.
2013-06-04 21:11:21 -07:00
Bobby Holley
106481e316 Bug 877261 - Remove WrapperInitOptions. r=Ms2ger
Now that we don't have the separate path for initialization from an
XPCLazyCallContext, this stuff can be simplified. We get rid of Init entirely
in the next patch.
2013-06-04 21:11:21 -07:00
Bobby Holley
79e154981a Bug 877261 - Kill XPCLazyCallContext. r=Ms2ger
\o/
2013-06-04 21:11:21 -07:00
Bobby Holley
9ab7c2d38c Bug 877261 - Remove XPCLazyCallContext from Quickstubs. r=Ms2ger
There are a number of places where quickstubs does a scary-looking call to
lccx->SetWrapper. However, the lccx never gets morphed into a ccx, nor does
it escape in any other way. And unlike ccxes, declaring an lccx on the stack
doesn't have any observable side-effects. So this should actually be safe.
2013-06-04 21:11:20 -07:00
Bobby Holley
4843761664 Bug 877261 - Stop Passing lccx in a few Quickstubs places where we just want a JSContext. r=Ms2ger 2013-06-04 21:11:20 -07:00
Bobby Holley
6bfdce50e9 Bug 877261 - Remove the last two non-quickstub XPCLazyCallContexts. r=Ms2ger 2013-06-04 21:11:20 -07:00
Bobby Holley
e7426ec772 Bug 877261 - Remove a bunch of now-unnecessary ccx declarations from nsXPConnect. r=Ms2ber 2013-06-04 21:11:20 -07:00
Bobby Holley
19baba1983 Bug 877261 - Remove XPCCallContext from XPCCComponents. r=Ms2ger 2013-06-04 21:11:19 -07:00
Bobby Holley
ad7187ee15 Bug 877261 - Stop taking a cx in XPCWrappedJS::GetNewOrUsed. r=Ms2ger
Some of these callers seem to be passing a ccx when they don't need to, but
let's just remove the param all together for consistency.
2013-06-04 21:11:19 -07:00
Bobby Holley
41e994226a Bug 877261 - Stop using XPCCallContext for XPCConvert. r=Ms2ger 2013-06-04 21:11:19 -07:00
Bobby Holley
21f7e67df3 Bug 877261 - Stop using XPCCallContext for most stuff in XPCWrappedNative.cpp. r=Ms2ger
Starting with the above, this is the smallest unit change that will compile.
2013-06-04 21:11:18 -07:00
Bobby Holley
84df3243e8 Bug 877478 - Remove the machinery for security managers in XPCContext. r=mrbkap 2013-06-04 19:56:43 -07:00
Bobby Holley
bb1196da20 Bug 877478 - Move all consumers of GetAppropriateSecurityManager to GetDefaultSecurityManager and rm the former. r=mrbkap 2013-06-04 19:56:43 -07:00
Bobby Holley
6592cd4cc4 Bug 877478 - Remove SetSecurityManagerForJSContext and related APIs. r=mrbkap
The only consumers here were the shells, which we've now fixed.
2013-06-04 19:56:43 -07:00
Bobby Holley
213d43e430 Bug 877478 - Remove FullTrustSecMan junk. r=mrbkap
This stuff shouldn't be necessary anymore. The default security manager should
do the right thing given for script running in the scope of a BackstagePass.
2013-06-04 19:56:42 -07:00
Shu-yu Guo
0cd308ad4e Bug 878374 - Support non-Value Handles as VMFunction outparams. (r=nbp) 2013-05-31 19:16:14 -07:00
Shu-yu Guo
763d0a805d Bug 877559 - Fix passing double arguments to callVM in Ion. (r=nbp) 2013-05-29 22:36:51 -07:00
Dan Gohman
d2a696f736 Bug 875419 - Fold ImmWord values which fit in 32-bit immediate fields. r=sstangl 2013-06-04 20:52:21 -04:00
Jeff Walden
338437ecb8 Bug 879376 - Remove a bunch of obsolete files from js/src/tests. r=terrence 2013-06-04 10:46:43 -07:00
Jeff Walden
772f87aada Bug 496923 - Remove js/src/tests/update-test402.sh as update-test262.sh subsumes it. r=trivial 2013-06-04 10:46:36 -07:00
Jeff Walden
1ebf824336 Bug 496923 - Allow update-test262.sh to copy directly from a test262 working directory, when (even local) cloning would be too slow. r=terrence
--HG--
extra : rebase_source : 9d74cf9bd45425defcbfd70291545442f8f5f489
2013-06-03 15:17:42 -07:00
Terrence Cole
4e3a06d9c7 No Bug - Fix merge bustage impacting GGC builds; r=Waldo
--HG--
extra : rebase_source : 8933560f048763af305c6a530f61a97708b90d59
2013-06-04 15:44:48 -07:00
Bobby Holley
6c71d90238 Bug 879341 - Use an AutoPushJSContext in JSD. r=gabor
We can do this now, since it won't cause infinite recursion.
2013-06-04 15:37:59 -07:00
Bobby Holley
a473e25686 Bug 879341 - Use an AutoSafeJSContext in CheckForDebugMode like we should. r=gabor 2013-06-04 15:37:59 -07:00
Bobby Holley
2031113f6a Bug 879341 - Move CheckForDebugMode into the main thread event observer. r=gabor
This gets invoked at the very end of nsThread::ProcessNextEvent(). If the cx stack
is empty here, that means the event loop isn't nested - if it it was, we'd at
least have a null cx on the stack from a higher-level call to OnProcessNextEvent
for the main thread observer.

As such, this seems like a much more reasonable place to make debug mode changes.
2013-06-04 15:37:58 -07:00
Terrence Cole
ed87f7b6ab Bug 877835 - Make the nursery a permanent allocation; r=bhackett
--HG--
extra : rebase_source : 5a874d10b07abb61c093a3dc19af6d4eeb3d9497
2013-05-28 15:51:34 -07:00
Sean Stangl
5558d79d00 Bug 877912 - Fix incorrect MatchOnly start position. r=mjrosenb 2013-06-04 15:01:38 -07:00
Brian Hackett
f23fc8246e Bug 878293 - Remove Parser::init, cleanup parse maps pool, r=waldo. 2013-06-04 15:53:29 -06:00
Terrence Cole
52040880fe Bug 879112 - Allocate singleton call objects tenured; r=bhackett
--HG--
extra : rebase_source : 42ec6e999f44503a32137bca4fe0e92eedd831cc
2013-06-04 14:52:32 -07:00
Jason Orendorff
2efce2a180 Backed out changeset 5d6e363a7b4b, which hasn't got review yet. 2013-06-04 16:29:01 -05:00
Jason Orendorff
fd5c141863 Bug 872416, part 6 - Make jsobjinlines.h not include jsscriptinlines.h, eliminating the #include cycle jsscriptinlines.h -> vm/Shape-inl.h -> jsobjinlines.h -> jsscriptinlines.h. NOT REVIEWED YET. 2013-06-04 16:24:43 -05:00
Jason Orendorff
71b9aa4a74 Bug 872416, part 5b - Make objinlines.h not include vm/RegExpStatics-inl.h. r=luke. (Reviewed as "part 5".) 2013-06-04 16:24:43 -05:00
Jason Orendorff
a607f02366 Bug 872416, part 5a - Make vm/RegExpObject-inl.h and vm/RegExpStatic-inl.h not include each other, breaking an include cycle. r=luke. (Reviewed as "part 10", but changing the order of the patches made it easier to get the whole stack working in GCC.) 2013-06-04 16:24:43 -05:00
Jason Orendorff
025ec9e12f Bug 872416, part 4 - Make jsobjinlines.h not include builtin/Iterator-inl.h (since that includes jsobjinlines.h, making a cycle). r=luke. 2013-06-04 16:24:42 -05:00
Jason Orendorff
606bb7c3d3 Bug 872416, part 3 - Make frontend/BytecodeCompiler.h not include frontend/Parser.h. r=luke. 2013-06-04 16:24:42 -05:00
Jason Orendorff
6efe7b3485 Bug 872416, part 2b - Make jsanalyze.h not include jspocodeinlines.h. Factor out inlines into jsanalyzeinlines.h. r=luke. (This is only half of the patch reviewed as "part 2". The other half didn't work in GCC and is on hold.) 2013-06-04 16:24:42 -05:00
Jason Orendorff
b27c0c3072 Bug 872416, part 2a - Factor out source notes into a new header file. Make jsopcodeinlines.h not include BytecodeEmitter.h. r=luke. (Reviewed as "part 11", but doing this first made it easier to get the whole stack working in GCC.) 2013-06-04 16:24:42 -05:00
Jason Orendorff
df9f5f7056 Bug 872416, part 1 - Move js::frontend::LexicalLookup from a header into the only file that uses it. r=luke. 2013-06-04 16:24:42 -05:00
Jason Orendorff
a50604fd0f Bug 879138 - Silence GCC warnings about inline functions used but not defined. r=njn. 2013-06-04 16:24:41 -05:00
Ryan VanderMeulen
e6717fa65c Backed out 4 changesets (bug 496923) for jsreftest failures on a CLOSED TREE.
Backed out changeset 55796a799ea9 (bug 496923)
Backed out changeset 05a46b5b3fec (bug 496923)
Backed out changeset 0fde7e7ba61c (bug 496923)
Backed out changeset 8dff0aaddd1c (bug 496923)
2013-06-04 15:10:33 -04:00
Jeff Walden
5f27020fd5 Bug 496923 - Remove js/src/tests/update-test402.sh as update-test262.sh subsumes it. r=trivial
--HG--
extra : rebase_source : 18d64c90097ab0776657e67cc146cc7f25fedb8c
2013-06-04 10:46:36 -07:00
Jeff Walden
bb634b85df Bug 496923 - Import all the ch10/ tests from test262 into jstests. r=importing-script-was-reviewed
--HG--
extra : rebase_source : dea30b698346549b29d01a8506cc05fde981569e
2013-06-04 10:43:51 -07:00
Jeff Walden
363504ff37 Bug 496923 - Make the test262-importing script import tests from ch10/, and skip the tests that we don't currently pass (6 for test harness shortcomings, 2 for actual bugs). r=terrence
--HG--
extra : rebase_source : 92c4b241bb0ad55f5de7077cca5c4cf75fbecfe1
2013-06-04 10:43:42 -07:00
Jeff Walden
caccc28835 Bug 496923 - Allow update-test262.sh to copy directly from a test262 working directory, when (even local) cloning would be too slow. r=terrence
--HG--
extra : rebase_source : be0f8b238ad16e990d44167739e9b8793baca6de
2013-06-03 15:17:42 -07:00
Bobby Holley
f21d52542c Bug 877862 - Propagate exceptions from PrepareForWrapping. r=mrbkap 2013-06-04 10:30:11 -07:00
Shu-yu Guo
b4ab7bde42 Bug 878038 - Fix stack mismatch when inlining rest args in Ion. (r=djvj) 2013-06-03 14:27:19 -07:00
Daniel Holbert
b867c07c1b Bug 879029: Remove no-longer-used variable 'xpc' from nsCxPusher::DoPush. r=bholley 2013-06-03 16:17:22 -07:00
Jeff Walden
479b906352 Bug 496923 - Initial test262 import by subsets. r=generating-script-was-reviewed 2013-05-31 19:46:33 -07:00
Jeff Walden
f7c3966f70 Bug 496923 - Implement a script which clones the test262 repository and copies selected subsets of the tests into the jstests suite so that we can run them on tinderbox. r=terrence 2013-05-10 15:30:17 -07:00
Jeff Walden
516a3d66d2 Bug 496923 - Add a js/src/tests/test262 directory, empty (save for browser.js/shell.js) for the moment, so that the test262 import script can be landed separately from the batch of test import it'll perform when run. r=terrence 2013-05-31 19:39:41 -07:00
Jeff Walden
bcdd125258 Bug 496923 - Skip failing Intl tests that will be in the initial test262 import, and update skips so that the Intl tests won't run when Intl isn't built. r=terrence 2013-05-10 15:30:17 -07:00
Jeff Walden
a4662fa719 Bug 496923 - Remove all existing test402 tests, as they're a subset of the test262 tests that we'll be piecewise-importing (and the intl402 bits will be in the first imported batch). r=terrence 2013-05-31 19:33:42 -07:00
Ryan VanderMeulen
125253843d Backed out 3 changesets (bug 877862, bug 878325) for mochitest-other orange on a CLOSED TREE.
Backed out changeset 803586f0a297 (bug 878325)
Backed out changeset d4a39e18e5a7 (bug 878325)
Backed out changeset 08a29f18500a (bug 877862)
2013-06-03 15:50:59 -04:00
Brian Hackett
3f9ac09c33 Bug 877130 - Fix bogus assert, r=djvj. 2013-06-03 13:27:20 -06:00
Brian Hackett
97851978e4 Bug 878583 - Mark object metadata during GC scanning. 2013-06-03 12:35:38 -06:00
Bobby Holley
23b5ae184f Bug 877862 - Propagate exceptions from PrepareForWrapping. r=mrbkap 2013-06-03 11:27:41 -07:00
Brian Hackett
8441cd30b0 Bug 878627 - Give an empty result type set to binops with an empty lhs or rhs type set, r=djvj. 2013-06-03 11:56:35 -06:00
Terrence Cole
6f50bc9750 Bug 875435 - Allow the nursery to grow and shrink with demand; r=bhackett 2013-05-21 17:09:51 -07:00