Commit Graph

26729 Commits

Author SHA1 Message Date
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