Commit Graph

36077 Commits

Author SHA1 Message Date
Benjamin Peterson
859ae9d3b2 Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
--HG--
extra : rebase_source : 1396c8ec5bd99ab35343cfff2b87d22955671243
2013-06-11 11:30:18 -07:00
Phil Ringnalda
75ab5ae882 Back out 2ccb9ec11a9f:d27ecea31590 (bug 856410) for b2g mochitest-3 failures
CLOSED TREE
2013-06-11 21:24:56 -07:00
Dan Gohman
aa39d18454 Bug 881382 - Cleanup some ARM code to be more consistent with the corresponding x86 code. r=mjrosenb 2013-06-11 18:50:27 -07:00
Andrea Marchesini
0cbca2866e Bug 856410 - Implement futures - Part 2: Future.then() and Future.catch(). r=mounir, r=bz, r=smaug 2013-06-11 21:41:22 -04:00
Ryan VanderMeulen
a580723853 Backed out changeset 7e69e102a432 (bug 823978) for bustage.
CLOSED TREE
2013-06-11 14:28:17 -04:00
Jan de Mooij
8c9c284bf1 Bug 868437 follow-up - Disable MSVC PGO for ScriptFrameIter methods to fix PGO crashes. rs=luke 2013-06-11 20:05:13 +02:00
Benjamin Peterson
6a8ee25998 Bug 823978 - Rename JSOPTION_STRICT to JSOPTION_EXTRA_WARNINGS. r=Waldo
--HG--
extra : rebase_source : f5c0e9c743dadb0431eacef6b46b6e274264d3aa
2013-06-11 10:55:21 -07:00
Luke Wagner
7996f69d48 Bug 881608 - OdinMonkey: handle Type::Unknown when checking call args (r=bbouvier)
--HG--
extra : rebase_source : ca7bed61121e080743f5fc6dd35a7b36e1aa93dd
2013-06-11 09:53:53 -07:00
Dan Gohman
cef1633ecb Bug 881409 - Pull the parts of AssertGraphCoherency that can be checked before SplitCriticalEdges out into a separate function and call it before SplitCriticalEdges. r=jandem 2013-06-11 08:55:54 -07:00
Jeff Walden
290dab110f Bug 798179 - Bustage fix in a CLOSED TREE for another bug's patch that landed after the try run here. r=aargh 2013-06-11 08:57:35 -07:00
Jeff Walden
9a2245ac50 Bug 880591 - Keep length metadata correct for frozen arrays. r=bhackett
--HG--
extra : rebase_source : d2caf062d0f43c438c8cf0e4b407009951dacf36
2013-06-07 16:30:28 -07:00
Jeff Walden
3e42b95bec Bug 798179 - Rewrite ToIntWidth to more simply act upon the actual bits of the IEEE-754 representation. r=froydnj
--HG--
extra : rebase_source : fb2da4e55b258b6b62c1c9449447fccff8c2012d
2013-06-07 13:22:45 -07:00
Jeff Walden
6c380ca721 Bug 880920 - Simplify some absolute-value-computing code in lexicographic sorts of numeric arrays. r=luke
--HG--
extra : rebase_source : f7b164d212bdf2d94a80064c7d5575ef0cd31e88
2013-06-10 12:13:38 -07:00
Joey Armstrong
ccea9f9d5e bug 875549: move HOST_CSRCS to mozbuild (file batch #1). r=mshal 2013-06-11 11:31:11 -04:00
Ed Morley
005881eed6 Merge mozilla-central and inbound 2013-06-11 16:24:51 +01:00
Ed Morley
3bf60a9f11 Backed out changeset 2864e2610800 (bug 877584) for causing bug 881266 2013-06-11 16:11:14 +01:00
Ed Morley
2bda37d3f4 Backed out changeset 94fb66d82988 (bug 877584) 2013-06-11 16:10:51 +01:00
Luke Wagner
e5469ad483 Backout 841ffd181e14 (Bug 878433) 2013-06-10 17:25:20 -07:00
Luke Wagner
c0e39243fc Bug 878505 - OdinMonkey: store to float array should accept doublish (r=bbouvier)
--HG--
extra : rebase_source : 3f4af584882995a49475903a0c4b87cf2b52d4af
2013-06-10 16:37:18 -07:00
Luke Wagner
9ef3e80ab7 Bug 878433 - OdinMonkey: (signed % signed) should be intish, not int (r=bbouvier)
--HG--
extra : rebase_source : c2a1d3a7da1ac3b7dd8507772a8b1cdb33e3415e
2013-06-10 16:23:44 -07:00
Luke Wagner
800a36a62f Bug 878429 - IonMonkey: don't conflate 0 and -0 in IsConstant (r=jandem)
--HG--
extra : rebase_source : d51c8f2984c1346eeb377be9f08546ca3ba57f04
2013-06-10 16:22:57 -07:00
Luke Wagner
70bc1a22d2 Bug 878526 - OdinMonkey: handle 'unknown' type properly for FFI functions with unused results (r=bbouvier)
--HG--
extra : rebase_source : 13c2a08c6c1e1c8b00272a8aa0c5e7e17031e8ca
2013-06-10 16:21:21 -07:00
Dan Gohman
c8850892c6 Bug 881397 - Minor dominator-tree computation cleanups. r=sstangl 2013-06-10 15:48:10 -07:00
Dan Gohman
1ee7d9ff3b Bug 881366 - Simplify CheckOverrecursed sequences. r=sstangl 2013-06-10 15:48:10 -07:00
Brian Hackett
2253ea3ef7 Bug 881333 - Fix break in GGC builds. 2013-06-10 16:08:55 -06:00
Brian Hackett
327a300d21 Bug 881333 - Use accessor methods for cx->compartment and cx->runtime, r=luke. 2013-06-10 15:22:18 -06:00
Dan Gohman
e5d30a8e59 Bug 881401 - Use explicit template instantiation. r=bhackett 2013-06-10 14:13:57 -07:00
Dan Gohman
a9c3fa99ba Bug 881380 - Pull the LDouble class into shared code. r=luke 2013-06-10 14:13:57 -07:00
Dan Gohman
cb61e253d4 Bug 881372 - Refactor lowerForFPU to be shared between x86 and x64. r=jandem 2013-06-10 14:13:56 -07:00
Shu-yu Guo
bc2d77bab0 Bug 879723 - Make sure property types reflect inherited types from the prototype when specializing a setgname. (r=bhackett) 2013-06-10 12:10:13 -07:00
Terrence Cole
74d51f8218 Bug 880776 - Check verifier nursery inclusion explicity in JIT post barriers; r=bhackett 2013-06-07 13:46:26 -07:00
Kannan Vijayan
8766b0456a Bug 878992 - Clean up Jaeger related flags. r=jandem 2013-06-10 12:00:30 -04:00
Jan de Mooij
f6c976ee7c Bug 877378 - Fix shell-only compartment mismatch with evaluate and saveFrameChain. r=luke 2013-06-10 16:43:03 +02:00
Nick Fitzgerald
194c3a4cb5 Bug 870361 - Change the symbol for source map pragmas from @ to #. r=jorendorff 2013-06-10 08:36:23 -04:00
Jan de Mooij
ee52a9c8e4 Bug 876465 - Skip arguments-object slot in InlineFrameIterator::thisObject() and SnapshotIterator::readFrameArgs. r=djvj 2013-06-10 14:00:27 +02:00
Kyle Huey
3ed77642ea Bug 877584: Add missing #ifdef DEBUG. r=me 2013-06-09 16:08:19 -07:00
Kyle Huey
bbf045f825 Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8 2013-06-09 16:02:02 -07:00
Hannes Verschore
0c80c086c1 Bug 880891 - IonMonkey: Only trigger invalidation when decided to inline function, r=djvj 2013-06-09 11:57:59 +02:00
Landry Breuil
c068ab70d5 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
17539fef7a 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
04339d3a68 Bug 877281 another followup for the Windows bustage. r=jandem pending 2013-06-08 00:06:39 -04:00
Boris Zbarsky
dda48804e7 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
7eebf2cdd9 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
d8401e4b92 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
db379497b0 Bug 880575, part 3 - Declare variables at initialization in ReadEvalPrintLoop. r=jwalden. 2013-06-07 22:25:08 -05:00
Jason Orendorff
c56982c831 Bug 880575, part 2 - Factor out RunFile() from Process(). r=jwalden. 2013-06-07 22:25:07 -05:00
Jason Orendorff
b0b2152f28 Bug 880575, part 1 - Factor out ReadEvalPrintLoop() from Process(). r=jwalden. 2013-06-07 22:25:07 -05:00
Boris Zbarsky
bd8262518e 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
24d0bddba5 Bug 877281 part 5. Add a set() method to Rooted. r=terrence 2013-06-07 22:45:45 -04:00
Boris Zbarsky
e566bfef3d 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
c8413360d4 Bug 770840 - Add Runtime aborts when using XPCWrappedJS off-main-thread. v2 2013-04-12 15:35:00 -04:00
Bobby Holley
3eee30d40b 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
cbe825d9c7 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
bf21933cf1 Bug 881223: Issue warnings on GC bailouts. r=nmatsakis 2013-06-10 07:40:00 -04:00
Hannes Verschore
da5b13d83d 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
2a6d35dff2 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
d6880b19c6 Bug 881410 - Remove some TI code we no longer need without JM. r=bhackett 2013-06-11 10:11:04 +02:00
Hannes Verschore
0d52a584cb Bug 876607 - Fix accidental switching of lhs/rhs in the code, rs=luke 2013-06-08 00:34:16 +02:00
Benjamin Bouvier
5eeace2cb7 Bug 878495 - In shell, print "[native code]" for native functions. r=luke 2013-06-07 10:57:21 -07:00
Benjamin Bouvier
9aadff0e83 Bug 877965 - Ignore empty statements in var declarations in asm.js mode. r=luke 2013-05-31 16:27:00 -07:00
Benjamin Bouvier
c4584add39 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
91f5756ff7 Bug 880539 - Fix CodeGenerator::guardTypeSet to handle MagicArgs type. r=bhackett 2013-06-07 15:06:53 -04:00
Terrence Cole
4c1ffe9e29 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
9009e8cb81 Backed out changeset d6db31e46b02 (bug 878495) for jit-test failures. 2013-06-07 11:16:36 -04:00
Benjamin Bouvier
2685356119 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
fa655c18ae Backed out changeset aa9a0b34bbd8 (bug 878435) for checktest failures. 2013-06-07 10:43:33 -04:00
Arnaud Sourioux
c9c773f3e4 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
3ffb1eb125 Bug 878495 - In shell, print "[native code]" for native functions. r=luke 2013-06-06 17:57:15 -07:00
Benjamin Bouvier
9ee14f0649 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
e9ecd45e88 Bug 877908 - Precludes also directives after "use asm". r=luke 2013-06-06 13:49:13 -07:00
Anand Soni
36e81da58c 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
ee61930148 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
7560b11dde 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
9e51182d34 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
063f616a75 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
f578f2deb5 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
063f633aa3 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
ebb79d6588 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
483d5aaa19 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
1299dfaf08 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
6529e5c409 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
dac9045adf Bug 872720 - Do not bother calling clearParent in Parser::newRegExp. r=Waldo. 2013-06-06 22:47:23 -05:00
Jason Orendorff
62143386f6 Bug 879817 - Remove unused method Debugger::isDebugWrapper. r=jonco. 2013-06-06 22:47:22 -05:00
Benjamin Bouvier
d98480141d Bug 878520: don't clone native asm.js functions; r=luke 2013-06-06 14:48:40 -07:00
Jim Blandy
8691f71850 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
446418bc45 Bug 878486: Improve sweeping of breakpoints r=terrence 2013-06-06 14:47:12 -07:00
Eddy Bruel
0bddaed1a5 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
aafbec68ce 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
7b2aff4ced 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
cb3aa2346e 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
63095521a7 Bug 858586 - Drop temporary MGetPropertyCache reference if native inlining fails. r=h4writer 2013-06-05 17:05:28 -07:00
Kannan Vijayan
3a15382a12 Bug 877287 - Fix regression introduced by revision 7df36088f645. r=bhackett 2013-06-06 15:03:40 -04:00
Kyle Huey
3c18bb93bd Back out bug 877584 on this CLOSED TREE. 2013-06-06 10:49:09 -07:00
Kyle Huey
a983f728ac 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
305b13f06f 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
3fcf048742 Bug 876607 - IonMonkey: Reordering of operands should look to real use count, r=sstangl 2013-06-06 15:35:13 +02:00
Martin Stransky
be0eb98266 Bug 877626 - Port GTK2 to GTK3 - build config, headers fix. r=karlt 2013-06-06 07:57:58 -04:00
Martin Stransky
93519395da Bug 877626 - Port GTK2 to GTK3 - build config, configure in js part. r=karlt 2013-06-06 07:57:40 -04:00
Jon Coppeard
67b65aef25 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
e4144fe986 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
419d3f37bc Bug 880078: Remove no-longer-used variable 'secFlag' from XPCWrappedNative::CallMethod. r=bholley 2013-06-06 00:27:16 -07:00
Dan Gohman
d2d2af3c55 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
c2ded3e0bd Bug 875917 - Use xorl to zero a register instead of movl. r=luke 2013-06-05 17:10:47 -07:00
Dan Gohman
a391d737e0 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
87af9eb6ec Bug 878818 - Include column numbers in asm.js diagnostics. r=luke 2013-06-05 17:10:47 -07:00
Jeff Walden
30fbb1dadd 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
0c24d7d87c 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
f7f0db4c7c 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
6205d25c2c 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
65cc8bf36b 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
6236142a93 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
b22e1776a4 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
1c27bfb0ec 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
843379c20f 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
92c0bf02c4 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
601ccbd7b3 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
652140b987 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
0ca5f9abd9 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
c8fb09ffe4 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
db8b2e9b13 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
660959dcb4 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
21398e47da Bug 870034. r=bhackett 2013-06-05 16:52:11 -04:00
Kannan Vijayan
a16723311b Bug 877287. r=h4writer 2013-06-05 16:42:23 -04:00
Sean Stangl
580396922c Bug 879564 followup - Fix build on a CLOSED TREE. no_r=red 2013-06-05 12:05:30 -07:00
Kevin Stangl
a759ab7084 Bug 879564 - Inline Math.atan2(). r=sstangl 2013-06-05 11:36:09 -07:00
Gavin Sharp
58ec80b040 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
6566491f07 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
b535eb4c00 Bug 879033 - Replace MOZ_DOUBLE_IS_NEGZERO by IsNegativeZero on Solaris. r=jimb 2013-06-03 15:09:22 -07:00
Dan Gohman
e38a539d67 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
88a9016df8 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
a3d8f01f4d 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
12746e0315 Bug 877261 - Kill XPCLazyCallContext. r=Ms2ger
\o/
2013-06-04 21:11:21 -07:00
Bobby Holley
064c330185 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
b0bce0db6d 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
7903bf3f7d Bug 877261 - Remove the last two non-quickstub XPCLazyCallContexts. r=Ms2ger 2013-06-04 21:11:20 -07:00
Bobby Holley
9eb992af2f Bug 877261 - Remove a bunch of now-unnecessary ccx declarations from nsXPConnect. r=Ms2ber 2013-06-04 21:11:20 -07:00
Bobby Holley
f5457d09df Bug 877261 - Remove XPCCallContext from XPCCComponents. r=Ms2ger 2013-06-04 21:11:19 -07:00
Bobby Holley
da316c6a98 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
638227a746 Bug 877261 - Stop using XPCCallContext for XPCConvert. r=Ms2ger 2013-06-04 21:11:19 -07:00
Bobby Holley
e5c61adafd 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
e59ccf90a4 Bug 877478 - Remove the machinery for security managers in XPCContext. r=mrbkap 2013-06-04 19:56:43 -07:00
Bobby Holley
19669be68e 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
55582b37e2 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
4a91b8a55b 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
bab8db53a5 Bug 878374 - Support non-Value Handles as VMFunction outparams. (r=nbp) 2013-05-31 19:16:14 -07:00
Shu-yu Guo
39e8edf31c Bug 877559 - Fix passing double arguments to callVM in Ion. (r=nbp) 2013-05-29 22:36:51 -07:00
Dan Gohman
4f601ff93d Bug 875419 - Fold ImmWord values which fit in 32-bit immediate fields. r=sstangl 2013-06-04 20:52:21 -04:00
Jeff Walden
2c7f4e9985 Bug 879376 - Remove a bunch of obsolete files from js/src/tests. r=terrence 2013-06-04 10:46:43 -07:00
Jeff Walden
6c2595aaf3 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
1d79dc6f65 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