Kannan Vijayan
af607e2c94
Bug 880539 - Fix CodeGenerator::guardTypeSet to handle MagicArgs type. r=bhackett
2013-06-07 15:06:53 -04:00
Terrence Cole
d47d3bb135
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
7396ea9682
Backed out changeset d6db31e46b02 (bug 878495) for jit-test failures.
2013-06-07 11:16:36 -04:00
Benjamin Bouvier
2628577e11
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
e2ea6f4351
Backed out changeset aa9a0b34bbd8 (bug 878435) for checktest failures.
2013-06-07 10:43:33 -04:00
Arnaud Sourioux
846a0ff093
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
6915f629eb
Bug 878495 - In shell, print "[native code]" for native functions. r=luke
2013-06-06 17:57:15 -07:00
Benjamin Bouvier
66dae25d4d
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
f11b8601a4
Bug 877908 - Precludes also directives after "use asm". r=luke
2013-06-06 13:49:13 -07:00
Anand Soni
8508bc64cc
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
56c2d1f4df
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
cbb21ebfcd
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
f5d88b2b33
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
c393ee65b1
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
d151fd6681
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
1838761c95
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
e1d0acaba9
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
c6119a522c
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
8982e1df8e
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
b61970a5f4
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
0b147f9c9e
Bug 872720 - Do not bother calling clearParent in Parser::newRegExp. r=Waldo.
2013-06-06 22:47:23 -05:00
Jason Orendorff
bdb5a217c8
Bug 879817 - Remove unused method Debugger::isDebugWrapper. r=jonco.
2013-06-06 22:47:22 -05:00
Benjamin Bouvier
bb75a4fc41
Bug 878520: don't clone native asm.js functions; r=luke
2013-06-06 14:48:40 -07:00
Jim Blandy
536c45a322
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
9c34b5fa6b
Bug 878486: Improve sweeping of breakpoints r=terrence
2013-06-06 14:47:12 -07:00
Eddy Bruel
50a7e69ee8
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
35b0ae8709
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
5e57980546
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
a536b6a56b
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
1bfb62974c
Bug 858586 - Drop temporary MGetPropertyCache reference if native inlining fails. r=h4writer
2013-06-05 17:05:28 -07:00
Kannan Vijayan
2b831f103d
Bug 877287 - Fix regression introduced by revision 7df36088f645. r=bhackett
2013-06-06 15:03:40 -04:00
Kyle Huey
b8b637e901
Back out bug 877584 on this CLOSED TREE.
2013-06-06 10:49:09 -07:00
Kyle Huey
8ffe7e2c57
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
ddf4e22e32
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
69fda8532b
Bug 876607 - IonMonkey: Reordering of operands should look to real use count, r=sstangl
2013-06-06 15:35:13 +02:00
Martin Stransky
4ca4bd7f1b
Bug 877626 - Port GTK2 to GTK3 - build config, headers fix. r=karlt
2013-06-06 07:57:58 -04:00
Martin Stransky
8e3f5a419d
Bug 877626 - Port GTK2 to GTK3 - build config, configure in js part. r=karlt
2013-06-06 07:57:40 -04:00
Jon Coppeard
abb7e57c74
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
ff1bc53bf5
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
46611d9455
Bug 880078: Remove no-longer-used variable 'secFlag' from XPCWrappedNative::CallMethod. r=bholley
2013-06-06 00:27:16 -07:00
Dan Gohman
e8d6d018a5
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
3a711d9f51
Bug 875917 - Use xorl to zero a register instead of movl. r=luke
2013-06-05 17:10:47 -07:00
Dan Gohman
823bc4388a
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
b4b741fb6f
Bug 878818 - Include column numbers in asm.js diagnostics. r=luke
2013-06-05 17:10:47 -07:00
Jeff Walden
1a16a6e154
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
b53966dfaf
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
180e676fb8
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
2b036ce8f9
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
baabf5e67b
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
4971e61a81
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
a51cefd7d2
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
523c2d360b
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
0e98304783
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
a69c96beb2
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
7492ddf9dc
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
e446971018
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
744d081e05
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
f7792f57fd
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
5493bec4c1
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
a2ffe8cdef
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
7fe7409f79
Bug 870034. r=bhackett
2013-06-05 16:52:11 -04:00
Kannan Vijayan
49677059ca
Bug 877287. r=h4writer
2013-06-05 16:42:23 -04:00
Sean Stangl
6cb31e179f
Bug 879564 followup - Fix build on a CLOSED TREE. no_r=red
2013-06-05 12:05:30 -07:00
Kevin Stangl
4d129bac8e
Bug 879564 - Inline Math.atan2(). r=sstangl
2013-06-05 11:36:09 -07:00
Gavin Sharp
1aebad3cfa
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
bf0503d164
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
dbb6bfa441
Bug 879033 - Replace MOZ_DOUBLE_IS_NEGZERO by IsNegativeZero on Solaris. r=jimb
2013-06-03 15:09:22 -07:00
Dan Gohman
a41c2e0184
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
60866a3d1b
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
5881e7cb24
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
46db20296e
Bug 877261 - Kill XPCLazyCallContext. r=Ms2ger
...
\o/
2013-06-04 21:11:21 -07:00
Bobby Holley
ab6d52b50e
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
e0f38c8c77
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
c9aed98a89
Bug 877261 - Remove the last two non-quickstub XPCLazyCallContexts. r=Ms2ger
2013-06-04 21:11:20 -07:00
Bobby Holley
1beab8c85f
Bug 877261 - Remove a bunch of now-unnecessary ccx declarations from nsXPConnect. r=Ms2ber
2013-06-04 21:11:20 -07:00
Bobby Holley
2be6886ec3
Bug 877261 - Remove XPCCallContext from XPCCComponents. r=Ms2ger
2013-06-04 21:11:19 -07:00
Bobby Holley
c10703b2f4
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
868b75c7e1
Bug 877261 - Stop using XPCCallContext for XPCConvert. r=Ms2ger
2013-06-04 21:11:19 -07:00
Bobby Holley
9588461fd2
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
8da2a4ffbb
Bug 877478 - Remove the machinery for security managers in XPCContext. r=mrbkap
2013-06-04 19:56:43 -07:00
Bobby Holley
69fd76705f
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
7a7cb3b991
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
ec2aeea66b
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
4af30a2445
Bug 878374 - Support non-Value Handles as VMFunction outparams. (r=nbp)
2013-05-31 19:16:14 -07:00
Shu-yu Guo
59fd4dff97
Bug 877559 - Fix passing double arguments to callVM in Ion. (r=nbp)
2013-05-29 22:36:51 -07:00
Dan Gohman
21427be31c
Bug 875419 - Fold ImmWord values which fit in 32-bit immediate fields. r=sstangl
2013-06-04 20:52:21 -04:00
Jeff Walden
b4b51d1766
Bug 879376 - Remove a bunch of obsolete files from js/src/tests. r=terrence
2013-06-04 10:46:43 -07:00
Jeff Walden
8b0b434a5d
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
821b565e51
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
ef7c4fb351
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
ff12342524
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
1b8ed7cb9a
Bug 879341 - Use an AutoSafeJSContext in CheckForDebugMode like we should. r=gabor
2013-06-04 15:37:59 -07:00
Bobby Holley
53f56a3be4
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
04cea2c491
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
6c086be999
Bug 877912 - Fix incorrect MatchOnly start position. r=mjrosenb
2013-06-04 15:01:38 -07:00
Brian Hackett
dd12c2726c
Bug 878293 - Remove Parser::init, cleanup parse maps pool, r=waldo.
2013-06-04 15:53:29 -06:00
Terrence Cole
3f6e332136
Bug 879112 - Allocate singleton call objects tenured; r=bhackett
...
--HG--
extra : rebase_source : 42ec6e999f44503a32137bca4fe0e92eedd831cc
2013-06-04 14:52:32 -07:00
Jason Orendorff
25c63a5905
Backed out changeset 5d6e363a7b4b, which hasn't got review yet.
2013-06-04 16:29:01 -05:00
Jason Orendorff
fde55e296d
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
cc6d604482
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
03e9e36f77
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
382368f7e4
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
96c8e7aa68
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
c9d41a6661
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
08a04a6d58
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
2e3ef1d3e0
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
72fa609313
Bug 879138 - Silence GCC warnings about inline functions used but not defined. r=njn.
2013-06-04 16:24:41 -05:00
Ryan VanderMeulen
2d2e3b0217
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
cd942226a4
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
3797db631e
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
e0dadc6bf6
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
d835916c14
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
605334575c
Bug 877862 - Propagate exceptions from PrepareForWrapping. r=mrbkap
2013-06-04 10:30:11 -07:00
Shu-yu Guo
f521bc08d1
Bug 878038 - Fix stack mismatch when inlining rest args in Ion. (r=djvj)
2013-06-03 14:27:19 -07:00
Daniel Holbert
c8fa6a671c
Bug 879029: Remove no-longer-used variable 'xpc' from nsCxPusher::DoPush. r=bholley
2013-06-03 16:17:22 -07:00
Jeff Walden
88a7a2620a
Bug 496923 - Initial test262 import by subsets. r=generating-script-was-reviewed
2013-05-31 19:46:33 -07:00
Jeff Walden
6ab9856f66
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
089ba13ad1
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
9cc860d5d1
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
de2ae3f507
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
7e8c2a6c93
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
dfe4001c45
Bug 877130 - Fix bogus assert, r=djvj.
2013-06-03 13:27:20 -06:00
Brian Hackett
74516a6828
Bug 878583 - Mark object metadata during GC scanning.
2013-06-03 12:35:38 -06:00
Bobby Holley
0e971c2ed9
Bug 877862 - Propagate exceptions from PrepareForWrapping. r=mrbkap
2013-06-03 11:27:41 -07:00
Brian Hackett
f7ee19b62d
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
4d429f85f2
Bug 875435 - Allow the nursery to grow and shrink with demand; r=bhackett
2013-05-21 17:09:51 -07:00
Hannes Verschore
9947e1b83f
Bug 851064: Allow one-level deep ropes when flattening for substr, r=evilpies
2013-06-03 11:27:07 +02:00
Ed Morley
b5f7fab855
Backed out changeset f6dd01782159 (bug 851064) for crashes
2013-06-03 11:38:18 +01:00
Hannes Verschore
58198b242f
Bug 878510: IonMonkey: Arm: Test for negative zero instead of zero when converting doubles to integers, r=mjrosenb
2013-06-03 12:32:53 +02:00
Hannes Verschore
05ab7c44d9
Bug 851064: Allow one-level deep ropes when flattening for substr, r=evilpies
2013-06-03 11:27:07 +02:00
Makoto Kato
4fff07118c
Bug 875651 - Remove workaround of KB982107/Bug 635617 since required VS2010+. r=dvander
2013-06-03 11:37:25 +09:00
Benjamin Peterson
b046a7d890
Bug 778948 - Move jsinterp.cpp/h to the vm/ dir. r=luke
...
--HG--
rename : js/src/jsinterpinlines.h => js/src/vm/Interpreter-inl.h
rename : js/src/jsinterp.cpp => js/src/vm/Interpreter.cpp
rename : js/src/jsinterp.h => js/src/vm/Interpreter.h
2013-06-02 15:30:43 -07:00
Trevor Saunders
5e358955b9
bug 873622 - remove XPCCallContext::GetXPConnect() r=bholley
2013-05-17 15:21:23 -04:00
Trevor Saunders
399641e550
bug 873622 - remove nsIXPConnectWrappedNative::GetXPConnect() r=bholley
2013-05-17 14:31:02 -04:00
Trevor Saunders
5b48393469
bug 873622 - remove some useless xpconnect getters r=bholley
2013-05-17 13:28:08 -04:00
Trevor Saunders
6a25cfb54f
bug 873622 - speed up nsXPConnect::GetXPConnect() and rename it since it never returns null r=bholley
2013-05-17 01:49:41 -04:00
Tom Schuster
37eed26117
Bug 876301 - Emit sourcenote to enable ion compilation of default parameters. r=h4writer
2013-06-01 16:39:02 +02:00
Ms2ger
bc5533af63
Merge m-c to m-i.
2013-06-01 15:00:46 +02:00
Hannes Verschore
b60c363f4e
Bug 878019: IonMonkey: Do not force invalidation when hadFrequentBailouts is already set, r=jandem
2013-06-01 14:46:45 +02:00
Ms2ger
c1c1a92c3b
Bug 876604 - Outparamdel UnwrapDOMObjectToISupports; r=bz
2013-06-01 08:56:02 +02:00
Jeff Walden
21e67d56aa
Back out b8122753e0b3, jstests staging bustage somehow. r=bustage in a CLOSED TREE
2013-05-31 15:55:19 -07:00
Martin Husemann
5104002ccd
Bug 871101: Make "kind" a full uintptr_t value so it overwrites its pointer union counterpart for sure r=billm
2013-06-01 00:23:13 +02:00
Jan de Mooij
f3e50a82b2
Bug 876454 - Implement JSOP_LEAVEBLOCKEXPR and JSOP_LEAVEFORLETIN in the baseline compiler. r=evilpie
2013-06-01 11:54:11 +02:00
Brian Hackett
6dff43fb29
Bug 864218 - Improve performance when accessing variables defined in run-once closures, r=luke,jandem.
2013-05-31 16:22:34 -06:00
Jeff Walden
eda440508a
Bug 496923 - Make update-test402.sh executable. r=sparky
2013-05-31 14:41:54 -07:00
Jeff Walden
22c4e0bfdf
Bug 496923 - Move the Intl test harness scripts into a new js/src/tests/supporting/ directory, and make the test402 update script copy them into place from there. r=terrence
2013-05-31 14:41:50 -07:00
Benjamin Peterson
aea377809d
Bug 877599 - Remove precedence information from opcodes. r=jorendorff
2013-05-31 13:17:09 -07:00
Chris Peterson
7b72229a09
Bug 868860 - Part 2: XP_UNIX must #include unistd.h to get read() and close() definitions. r=bustage
2013-05-31 12:46:33 -07:00
Chris Peterson
30f3658242
Bug 868860 - Initialize Math.random() PRNG with a better seed. r=luke r=zackw
2013-04-18 23:07:18 -07:00
Nathan Froyd
733bcf278c
Bug 877706 - fix unused variable warning in PerfSpewer.cpp; r=nmatsakis
2013-05-30 12:02:30 -04:00
Jan de Mooij
21e1ecaf78
Bug 877986. r=bhackett
2013-05-31 20:22:22 +02:00
Bobby Holley
c72d0f8113
Bug 858101 - Run the DefaultValue algorithm directly on the wrapper for Xrays. r=mrbkap
2013-05-31 10:36:01 -07:00
Sean Stangl
5046c8ffee
Bug 877021 - Speed up CreateRegExpMatchResult(). r=h4writer
2013-05-28 18:57:56 -07:00
Jeff Walden
5fe8c518a1
Bug 496923 - Move the Intl test harness scripts into a new js/src/tests/supporting/ directory, and make the test402 update script copy them into place from there. r=terrence
...
--HG--
extra : rebase_source : bca104253e86ec5d5bfe4136d504de8da8381c97
2013-05-31 14:41:50 -07:00
Phil Ringnalda
048173dc9a
Back out fc37773787ce (bug 870361) for xpcshell bustage
...
CLOSED TREE
2013-05-31 22:21:00 -07:00
Dan Gohman
39a8c8455d
Bug 875413 - Eliminate a few unnecessary Operand(reg) wrappers. r=nbp
2013-05-31 21:21:56 -07:00
Eddy Bruel
2a76587462
Bug 870361 - Change the symbol for source map pragmas from @ to #; r=jorendorff
2013-05-31 20:50:43 -07:00
Eddy Bruel
cdbfe5204f
Bug 637572 - Allow the element on which a script was defined to be passed as compile option; r=jimb
2013-05-31 20:37:47 -07:00
Shu-yu Guo
8311533ff1
Bug 881518 - Fix UnsafeSetElement inlining for typed arrays. (r=nmatsakis)
2013-06-11 18:13:20 -07:00
Benjamin Peterson
ca23ac22c9
Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
...
--HG--
extra : rebase_source : 34f95fc6017d3f3f4f091083debacbd466b51bf6
2013-06-11 12:49:11 -07:00
Nicholas D. Matsakis
c9cecae7a9
Bug 871634 - Rerun GVN after UCE r=dvander
2013-04-09 00:04:44 -07:00
Kannan Vijayan
567bd29ab8
Bug 877589 - Check for null-prototype in proto-chain guard in SetElem_Dense and SetElem_DenseAdd stubs. r=jandem
2013-05-31 11:22:22 -04:00
Jan de Mooij
9f1587bfc6
Bug 877127. r=bhackett
...
--HG--
extra : rebase_source : d75719044ef260761a0c4b7d67bcfd2a2ee5566d
2013-05-31 16:51:49 +02:00
Phil Ringnalda
c6b0156488
Merge m-c to a CLOSED TREE m-i
2013-05-31 07:41:20 -07:00
Phil Ringnalda
29fb49d007
Back out dc76402b8471 (bug 844288) on suspicion of breaking dep builds
...
CLOSED TREE
2013-05-31 07:39:56 -07:00
Ryan VanderMeulen
0791217381
Backed out changeset b920312f99e3 (bug 877021) due to xpcshell bustage.
...
CLOSED TREE
2013-05-30 22:27:46 -04:00
Terrence Cole
b40577406a
Bug 850080 - Make root analysis check Rooted<Value> as a non-pointer type; r=sfink
...
In 32bit builds, Value does not have the same size as void*; thus, we cannot do
a simple address comparison in this case.
--HG--
extra : rebase_source : 1dfb86965c1aa873c26660b67d9add0d5d0a91d7
2013-05-29 15:46:08 -07:00
Sean Stangl
d4f121fc23
Bug 877021 - Speed up CreateRegExpMatchResult(). r=h4writer
2013-05-28 18:57:56 -07:00
Brian Hackett
ceb33f4d35
Bug 850026 - Allow metadata objects to be associated with JS objects, and add a hook for attaching metadata to newly created objects, r=luke.
2013-05-30 17:37:22 -06:00
Jeff Walden
1221330586
#include minimization, MOZ_STACK_CLASS application, and other minor jsonparser.h cleanups. No bug, r=lumpy
...
--HG--
extra : rebase_source : cacc7a0bd2668f247c09bdb6c487755c9a008f90
2013-05-24 13:55:26 -07:00
Jeff Walden
bb39a16a0e
Bug 794323 - Remove the legacy JSON parsing mode, now that Firefox session store code doesn't need it. r=luke for the JS bits, r=jlebar for the DOM bits, r=mak77 for the browser/toolkit bits
...
--HG--
extra : rebase_source : b7a422eb52fe8e435143dfcc435d56e4886859e6
2013-05-23 15:28:31 -07:00
Xin Zhang
2286d2480d
Bug 722788 - Use integer math to parse sufficiently-small decimal numbers in JSON text. r=waldo
...
--HG--
extra : rebase_source : 8bd72909ce94b65ce68b8cb3b64b42948fe24026
2013-05-28 10:40:05 -07:00
Sean Stangl
f66b82ce2e
Bug 876976 - Speed up array creation for global regexp matches. r=h4writer
2013-05-28 14:21:21 -07:00
Boris Zbarsky
cb38fb46c2
Bug 877216. Add CallArgs-like structs for use in DOM specialized getters/setters/methods. r=waldo
2013-05-30 17:47:00 -04:00
Kannan Vijayan
47624dbb89
Bug 831507 - Add generational-gc post-write barriers to baseline compiler. r=jandem
2013-05-30 17:38:49 -04:00
Boris Zbarsky
325d6c9d46
Bug 876098. Make sure to not skip calling addProperty hooks when objects have them. Otherwise DOM expandos can go AWOL. r=djvj
2013-05-30 13:01:38 -04:00
Jan de Mooij
135b1ff6f7
Bug 876670 - Refactor object literal getter/setter bytecode and implement it in the baseline compiler. r=bhackett
2013-05-30 18:51:03 +02:00
Benoit Girard
6adb6cba1f
Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
...
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check
--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 5b9be0892323195d4e24f11ae785f0663ff38fd0
2013-03-11 14:47:40 -04:00
Gabor Krizsanits
94a2af0a2c
Bug 875405 - fixing unpushed cx usages. r=bholley
2013-05-30 16:54:46 +02:00
Jan de Mooij
e8b72b2ae3
Bug 876429 - Implement JSOP_SETCALL in the baseline compiler. r=bhackett
2013-05-30 10:48:12 +02:00
Peter Van der Beken
44c790a6fb
Bug 874321 - Fix setting of expandos on Xrays for DOM bindings with named properties. r=bz.
...
--HG--
extra : rebase_source : 697545417d27696de05c0f22987e4cb187d226cd
2013-05-29 11:38:57 +02:00
Brian Hackett
ddbb9d9519
Bug 678037 - Add (disabled) ability to parse script bytecode lazily, r=luke.
2013-05-30 06:29:56 -06:00
Douglas Crosher
512f7a4ce3
Bug 863685 - (ARM) Avoid emitting VFP code if the CPU does not support it. r=jandem
2013-05-06 15:23:22 +10:00
Jed Davis
8da61fdd12
Bug 873332 - Don't use -fno-omit-frame-pointer on ARM to avoid a GCC bug. r=glandium
...
The flag would not be useful for profiling on our current ARM platforms
even if it worked correctly, so we can just remove it.
2013-05-30 08:10:02 -04:00
Ed Morley
b6e34d5e46
Backed out changeset 87b0f81d811f (bug 876429) for jsreftest failures
2013-05-30 11:38:23 +01:00
Jacek Caban
fe314ea74d
Bug 876366 - Avoid pointer to long casts in PerfSpewer::writeProfile. r=nmatsakis
2013-05-30 11:51:49 +02:00
Jan de Mooij
ff1bd1412a
Bug 876429 - Implement JSOP_SETCALL in the baseline compiler. r=bhackett
2013-05-30 10:48:12 +02:00
Phil Ringnalda
68025a3c2f
Back out 816311e43409 (bug 844288) on suspicion of causing dep OS X universal builds to fail in packaging
...
CLOSED TREE
2013-05-29 23:42:20 -07:00
Gavin Sharp
9b4b3842ca
Bug 875342: fix JS channel-specific features to use the right build-time logic, r=sstangl
...
--HG--
extra : rebase_source : 4d091d89ad5dd19ca0c966140a9a56041eced86d
2013-05-24 10:53:32 -07:00
Kyle Huey
3cc4ccd2f5
Bug 876555: Avoid including xpcprivate.h in most generated dom binding code. r=bz
2013-05-30 11:15:31 +08:00
Bobby Holley
6334e20e1f
Bug 877235 - Use the default global for just a little bit longer in JSD. r=gabor
2013-05-29 17:49:25 -07:00
Benoit Girard
9bd97dc15d
Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
...
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check
--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 04c9c2efbc7db1c04c121cf3022612b488f83eb4
2013-03-11 14:47:40 -04:00
Dan Gohman
12ebe33fca
Bug 876916 - Hook up Math.sqrt to MSqrt in asm.js. r=luke
2013-05-29 20:37:36 -04:00
Benjamin Bouvier
2562dac166
Bug 876952 - JS shell's help() refers to isAsmJSModule instead of isAsmJSFunction. r=luke
2013-05-28 16:11:29 -07:00
Benjamin Bouvier
9115671bd3
Bug 870007 - Avoid segfault in AsmJS when switch table is too high. r=luke
2013-05-27 19:17:15 -07:00
Ryan VanderMeulen
a1ae795735
Backed out changesets 4cd1bae06bb7 and 2d34ab368ffa (bug 831507) for dromaeo crashes on a CLOSED TREE.
2013-05-29 20:36:03 -04:00
Shu-yu Guo
69e8bc9b67
No bug - Change |if (length)| -> |if (length > 0)| in InitRestParameter. (r=djvj)
2013-05-29 16:36:05 -07:00
Shu-yu Guo
e98783b87c
Bug 875957 - Record argument types in the element types of the rest array in Ion and Baseline. (r=djvj)
2013-05-29 16:32:39 -07:00
Kannan Vijayan
0197ccd4e5
Bug 831507 - Fix tbpl massive orange on CLOSED TREE. r=bhackett
2013-05-29 17:37:13 -04:00
Boris Zbarsky
e1d7ebf663
Bug 876805. Fix unsafe reference gc hazards in dom/ code. r=smaug
2013-05-29 16:16:04 -04:00