Commit Graph

50600 Commits

Author SHA1 Message Date
Hannes Verschore
a10e2d05b8 Bug 1175976: IonMonkey - Part2: Get the UnaryArith stub working in ionmonkey, r=jandem 2015-08-21 10:14:24 +02:00
Hannes Verschore
a6e8869a63 Bug 1175976: IonMonkey - Part1: Move unaryArith from baseline to shared stub, r=jandem 2015-08-21 10:14:21 +02:00
Hannes Verschore
cb10c36dca Bug 1169214: IonMonkey - Part 3: Add the x64 shared stub helpers, r=jandem 2015-08-21 07:56:44 +02:00
Hannes Verschore
31fb4f7314 Bug 1169214: IonMonkey - Part 2: Add the x86 shared stub helpers, r=jandem 2015-08-21 07:56:43 +02:00
Hannes Verschore
def4bc8c55 Bug 1169214: IonMonkey - Part 1: Create Ion shared stub helpers, r=jandem 2015-08-21 07:56:41 +02:00
Steve Fink
683fec6f81 Bug 1195957 - Implement a Swap for Heap<T> that does not put temporaries on the stack, r=terrence
--HG--
extra : rebase_source : 12a82f83e9c7e6317fb2dc2a6d066ecf81beed05
2015-08-18 12:25:01 -07:00
Terrence Cole
4e2856a22c Bug 1194832 - Use a one element cache in the store buffer; r=jonco
--HG--
extra : rebase_source : 53008889e2d5f52fbe96fcbec49251ce87db5f7e
2015-08-18 09:17:13 -07:00
Jon Coppeard
bbf6845481 Bug 1183195 - Fix assertion at the start of InnerViewTable::sweepAfterMinorGC() r=sfink 2015-08-19 09:50:07 +01:00
Hannes Verschore
e8e1df926c Bug 1171945: IonMonkey - Part 6: Use binarystub in jsop_binary_arith, r=jandem 2015-08-19 15:15:57 +02:00
Hannes Verschore
bcce8e03e1 Bug 1171945: IonMonkey - Part 5: Make it possible to use BaselineDebugMode in ionmonkey context, r=jandem 2015-08-19 15:15:55 +02:00
Hannes Verschore
28cddc291c Bug 1171945: IonMonkey - Part 4: Make changes to BinaryArith to work with ionmonkey, r=jandem 2015-08-19 15:15:52 +02:00
Hannes Verschore
cf1a076929 Bug 1171945: IonMonkey - Part 3: Move BinaryArith from Baseline to Shared stubs, r=jandem 2015-08-19 15:15:49 +02:00
Hannes Verschore
bfb75abb29 Bug 1171945: IonMonkey - Part 2: Add platform in ionmonkey for sharedcaches, r=jandem 2015-08-19 15:15:46 +02:00
Shu-yu Guo
9852d8caa1 Bug 1179063 - Hook up FunctionBox directly to the JSFunction being parsed to avoid allocating extra static scopes. (r=efaust) 2015-08-19 18:42:56 -07:00
Spenser Andrew Bauman
43dd938cba Bug 1187511 - IonMonkey: Refine type sets for unbox operations based on unbox type r=jandem
--HG--
extra : rebase_source : 69eabb0389660052fb1775c639872369cf4578ba
2015-08-19 14:46:02 -07:00
Wes Kocher
d664b148bd Backed out changeset 08e63874f0b4 (bug 1179063) for crashes CLOSED TREE 2015-08-19 14:18:46 -07:00
Nick Fitzgerald
edb9a948ac Bug 1194422 - Expose census traversals to SpiderMonkey embedders; r=sfink
This moves census types and functions to js/public/UbiNodeCensus.h and
js/src/vm/UbiNodeCensus.cpp. This is required so that embedders can do census
traversals on offline heap snapshots.
2015-08-19 13:21:08 -07:00
Nick Fitzgerald
235840a8c0 Bug 1194418 - Use only JS::ubi::* interfaces in census analyses; r=sfink
In order to run a census analysis on anything other than the live heap graph
(the notable example being offline heap snapshots) then the census analysis
cannot unwrap |ubi::Node|s into their live heap thing referents.
2015-08-19 13:21:08 -07:00
Wes Kocher
330f932d53 Backed out changeset 9c68dc026590 (bug 1185961) for testGlobals.js bustage 2015-08-19 12:37:53 -07:00
Morgan Phillips
dfe5b037ca Bug 1191486 - Generators should not have [[Construct]]; r=jorendorff
generator function do not have a [[construct]] trap, so `new` throws called a
generator. This is unexpected behavior, so a TypeError is preferred.

--HG--
extra : rebase_source : 200c1a59db9dd2a0559de3aa52c8f2c466f76289
2015-08-19 10:52:52 -07:00
Shu-yu Guo
c3ccaf7607 Bug 1194430 - Always mark the global jitcode table during major GCs. (r=djvj) 2015-08-19 12:02:32 -07:00
Shu-yu Guo
df4b17486d Bug 1193606 - Clean up LazyFunction case of tryConvertFreeName and remove directlyInEval. (r=bhackett) 2015-08-19 12:02:32 -07:00
Shu-yu Guo
9cbf164447 Bug 1179063 - Hook up FunctionBox directly to the JSFunction being parsed to avoid allocating extra static scopes. (r=efaust) 2015-08-19 12:02:32 -07:00
Eric Faust
20ec4ede3d Bug 1180054 - Fix bogus assert. (r=jandem) 2015-08-19 11:19:47 -07:00
Eric Faust
5a40263ef9 Bug 1185957 - Properly handle known derived class constructors in ion. (r=jandem) 2015-08-19 11:19:46 -07:00
Eric Faust
49aef6b263 Bug 1185961 - Properly install home object on methods in classes in lazy scripts. (r=shu) 2015-08-19 11:19:46 -07:00
Eric Faust
240506f142 Bug 1185959 - Properly handle static constructor method in classes. (r=Waldo) 2015-08-19 11:19:46 -07:00
Nathan Froyd
45905aa98c Backout 5377759a3145:0dfb6e5f8223 (bug 1171945) for SM ARM compilation bustage 2015-08-19 21:20:57 -04:00
Nathan Froyd
ced2e48608 Backout f786a3ae0410 (bug 1194422) and 9f979aa382a9 (bug 1194418) for SM ARM build bustage 2015-08-19 20:18:42 -04:00
Nathan Froyd
67645d7695 Backout 8b61aebcd9bc (bug 1183195) for x64 Windows 8 JIT failures 2015-08-19 20:13:48 -04:00
Hannes Verschore
0f68dacccc Bug 1171945: IonMonkey - Part 6: Use binarystub in jsop_binary_arith, r=jandem 2015-08-19 15:15:57 +02:00
Hannes Verschore
6cbf77a87c Bug 1171945: IonMonkey - Part 5: Make it possible to use BaselineDebugMode in ionmonkey context, r=jandem 2015-08-19 15:15:55 +02:00
Hannes Verschore
28447d2354 Bug 1171945: IonMonkey - Part 4: Make changes to BinaryArith to work with ionmonkey, r=jandem 2015-08-19 15:15:52 +02:00
Hannes Verschore
5c766c60ef Bug 1171945: IonMonkey - Part 3: Move BinaryArith from Baseline to Shared stubs, r=jandem 2015-08-19 15:15:49 +02:00
Hannes Verschore
8e1e36a6b7 Bug 1171945: IonMonkey - Part 2: Add platform in ionmonkey for sharedcaches, r=jandem 2015-08-19 15:15:46 +02:00
Nick Fitzgerald
0ba4ba4f55 Bug 1194422 - Expose census traversals to SpiderMonkey embedders. r=sfink
This moves census types and functions to js/public/UbiNodeCensus.h and
js/src/vm/UbiNodeCensus.cpp. This is required so that embedders can do census
traversals on offline heap snapshots.
2015-08-17 15:54:00 -04:00
Nick Fitzgerald
52bd014f28 Bug 1194418 - Use only JS::ubi::* interfaces in census analyses. r=sfink
In order to run a census analysis on anything other than the live heap graph
(the notable example being offline heap snapshots) then the census analysis
cannot unwrap |ubi::Node|s into their live heap thing referents.
2015-08-17 15:01:00 -04:00
David Rajchenbach-Teller
2b0451efe0 Bug 1181175 - Telemetry for finding out how often our process is rescheduled to another CPU. r=jandem, r=bsmedberg
--HG--
extra : transplant_source : %24q%A1%A9f%FC%81%D5%DFo%DB%E2e%25%81%11%94%19%E5%15
2015-07-29 19:01:05 +02:00
David Rajchenbach-Teller
eaa230b89d Bug 1181175 - Use RDTSC for Performance Monitoring instead of getrusage. r=jandem
--HG--
extra : transplant_source : %7B%82%94E%8C%0AW%07%C2/n8%07%FD%95mt%03%EBM
2015-08-17 14:57:23 +02:00
Jon Coppeard
2a8c555c36 Bug 1183195 - Fix assertion at the start of InnerViewTable::sweepAfterMinorGC() r=sfink 2015-08-19 09:50:07 +01:00
David Major
3fc8acc770 Bug 1193467: Allow SSE2 on clang-cl builds. r=glandium
--HG--
extra : rebase_source : 93cb856526813218877c87e5ab73687373719f68
2015-08-18 19:29:30 -04:00
Jeff Walden
207ffca49c Bug 1178653 - Fix a few more tests for modified error messages. r=bustage in a CLOSED TREE 2015-08-18 13:47:49 -07:00
Jeff Walden
4e26d6ccea Bug 1178653 - Refactor construction code to use an interface consistent with the spec, with the one exception using an out-of-the-way, differently-named method. r=efaust
--HG--
extra : rebase_source : bbd77489c8ccffe65eb951b50b494557bd30cc03
2015-07-25 02:38:10 -07:00
Jan de Mooij
3e145fb17b Bug 1187323 - Use release asserts in assertValidJmpSrc and related methods. r=nbp
--HG--
extra : rebase_source : c60c2bd8a9782f45e416c6cdcaeef04667cb0506
2015-08-18 16:03:50 +02:00
Jan de Mooij
921ebacd55 Bug 1195208 - Fix ArrayBuffer.transfer isNeutered check. r=luke
--HG--
extra : rebase_source : 704ebdcf2c0c7b1e85c492eb0cfbde85804a212a
2015-08-18 16:03:31 +02:00
Heiher
a50019d292 Bug 1195198 - Octane: Restore run.js broken by Bug 1179063. r=terrence
--HG--
extra : rebase_source : 84a50961a198a094da642d7917007bc988282ea9
2015-08-17 00:26:00 -04:00
Nick Fitzgerald
ecfd49638c Bug 1194426 - Add sourceLength and functionDisplayNameLength to JS::ubi::StackFrame. r=sfink
--HG--
extra : rebase_source : bddcd83e0e1e4f86bb22676ca8ff4d3240eaf6d3
2015-08-13 13:17:00 -04:00
Lars T Hansen
9b53f05c38 Bug 1157934 - import v8's ARM disassembler. r=jandem 2015-08-18 14:55:15 +02:00
Jan de Mooij
4b7506a72d Bug 1187021 - Force arguments object allocation on dynamic name accesses. r=shu 2015-08-18 13:07:44 +02:00
Jon Coppeard
f6ded5c145 Bug 1195297 - Fix OOM handling in ExecutableAllocator r=terrence 2015-08-18 10:03:49 +01:00
Makoto Kato
45b2236f90 Bug 1191688 - Add -nologo option to rc.exe. r=ted 2015-08-18 15:55:17 +09:00
Wes Kocher
9cfc18f036 Backed out changeset 0fc1b3aba102 (bug 1178653) for js bustage CLOSED TREE 2015-08-17 20:16:45 -07:00
Jeff Walden
6ac3864ea7 Bug 1178653 - Refactor construction code to use an interface consistent with the spec, with the one exception using an out-of-the-way, differently-named method. r=efaust
--HG--
extra : rebase_source : 59288cc2ad65433ab310faf4d10fb2bca4263bdd
2015-07-25 02:38:10 -07:00
Tooru Fujisawa
d5e8c47256 Bug 1193777 - Remove pn==null case from ModuleCompiler::fail(). r=Waldo 2015-08-14 08:15:08 +09:00
Steve Fink
942d62b312 Bug 1194829 - Rename sweep to sweepChildren because shu said so, r=shu
--HG--
extra : rebase_source : b24f4df2dd0dd77a53846c5ba7369bd32ce08db1
2015-08-14 11:49:17 -07:00
Steve Fink
6da0ea7865 Bug 1194838 - Make Cell a GCType for the hazard analysis, r=terrence
--HG--
extra : rebase_source : ee7e5d60e650fcfda002228c5792362076170952
2015-08-14 12:33:16 -07:00
Ryan VanderMeulen
1caf889687 Merge m-c to inbound. a=merge 2015-08-17 09:07:43 -04:00
Ryan VanderMeulen
0169e05964 Merge inbound to m-c. a=merge 2015-08-17 09:06:59 -04:00
Ryan VanderMeulen
915339859d Merge b2g-inbound to m-c. a=merge 2015-08-17 08:50:47 -04:00
Ben Tian
a0a229d80d Bug 1192693 - [02] Remove bluetooth1 folder and rename webidl files, r=joliu, r=mrbkap
--HG--
rename : dom/webidl/BluetoothAdapter2.webidl => dom/webidl/BluetoothAdapter.webidl
rename : dom/webidl/BluetoothDevice2.webidl => dom/webidl/BluetoothDevice.webidl
rename : dom/webidl/BluetoothManager2.webidl => dom/webidl/BluetoothManager.webidl
2015-08-17 15:30:34 +08:00
Till Schneidereit
d8c72cf74c Bug 1195030 - Backout of bug 890329 for breaking email reading in gmail. r=bustage a=Ms2ger 2015-08-15 23:58:24 +02:00
Hannes Verschore
b152e40aeb Bug 1178834: IonMonkey - Always lazy link code, r=jandem 2015-08-14 17:57:57 +02:00
Nicolas B. Pierron
ed11d345e0 Bug 1190295 - Remove 'args' arguments from MacroAssembler::setupAlignedABIArgs and MacroAssembler::setupUnalignedABIArgs. r=bbouvier 2015-08-17 11:32:19 +02:00
Nicolas B. Pierron
34e11e574d Bug 1184959 part 5 - Move callWithABI functions to the generic MacroAssembler. r=bbouvier,sstangl,jandem,rankov,h4writer 2015-08-17 11:32:18 +02:00
Nicolas B. Pierron
cf2c493f3e Bug 1184959 part 4 - MIPS MoveEmitter: Add support for pairs of registers. r=rankov 2015-08-17 11:32:17 +02:00
Nicolas B. Pierron
f4f9238d8c Bug 1184959 part 3 - ARM MoveEmitter: Add support for pairs of registers. r=h4writer 2015-08-17 11:32:16 +02:00
Nicolas B. Pierron
5ff563e6d1 Bug 1184959 part 2 - ARM ABIArgGenerator: Add support for soft-fp. r=h4writer 2015-08-17 11:32:15 +02:00
Nicolas B. Pierron
3969a194bd Bug 1178033 - XDRBuffer: Replace isUint32Overflow by a simple check of the capacity max. r=luke 2015-08-17 10:43:54 +02:00
Steve Fink
9adc1ff74c Bug 1164294 - Implement a linear-time ephemeron marking algorithm, r=terrence, r=jonco
--HG--
extra : rebase_source : 6478019f3ef8bb4379f41d4a6258930739e3fc87
extra : source : 28c31978b8d5b9ae08bf7d54fce16062efde9f4e
2015-08-12 16:55:40 -07:00
Heiher
46616156f9 Bug 1090957 - IonMonkey: MIPS32: Implement atomicExchange operations temporary. r=nbp 2015-08-12 22:57:00 -04:00
Nick Fitzgerald
0440fdbd98 Bug 1192401 - Do not capture SavedFrame stacks before Object.prototype has been initialized. r=shu
--HG--
extra : rebase_source : 74b0cd5e835402fe8223158b658d94c774b77192
2015-08-14 09:40:35 -04:00
Till Schneidereit
2a8a747c67 Bug 1193280 - Part 2: Self-host Array.prototype.filter. r=jandem
--HG--
extra : rebase_source : 886a90e36f57b0e282d47d21a1639e5056890af6
2015-08-14 13:13:36 +02:00
Till Schneidereit
62af7a6197 Bug 1193280 - Part 1: test stack trace handling of native frames with dedicated function. r=fitzgen
--HG--
extra : rebase_source : 9f824c0f6ba5625560017ad67b3ca91e53a3b2ec
2015-08-14 13:05:26 +02:00
Till Schneidereit
9ff2786eb7 Bug 890329 - Self-host Array.prototype.splice. r=jandem
--HG--
extra : rebase_source : 09cbf468408ccb2e94b423d8992473f57df35cec
2015-08-14 12:40:34 +02:00
Till Schneidereit
8be70989e2 Bug 1193212 - Ensure properties deleted by setting Array#length are suppressed in active for..in iteration. r=jandem
--HG--
extra : rebase_source : 85c0cca5610668984b02ae27b3a7e54d23cd4b8b
2015-08-11 11:27:03 +02:00
Hannes Verschore
78cb0fef2c Bug 1171945: IonMonkey: Use tryXXX structure for jsop_binary in IonBuilder, r=jandem 2015-08-14 12:45:47 +02:00
Hannes Verschore
e2245702f5 Bug 1193112: IonMonkey - Let the float32 optimization work with Float32, r=bbouvier 2015-08-14 11:46:28 +02:00
Jon Coppeard
9840d4ac3e Bug 1193039 - Fix assertion failure related to ObjectValueMap and OOM r=terrence 2015-08-14 09:19:36 +01:00
Jason Orendorff
48c7866437 Bug 1189744 - Fix crash after GetOwnPropertyDescriptor failed to populate all fields of desc. r=jandem, a=abillings.
--HG--
extra : commitid : 1XeSfw2xvbk
extra : rebase_source : a27640156fe82cde58fa08e6ba5f92c6e452e093
extra : amend_source : 34b7163a9c69488130cafe925e8efda0bb9e85a1
2015-08-04 18:16:08 -05:00
Till Schneidereit
fbbf268d1d Bug 1195030 - Backout of bug 890329 for breaking email reading in gmail. r=bustage
--HG--
extra : rebase_source : 7eddefe81f7e920713759c6302363c4caca1f366
2015-08-15 23:58:24 +02:00
Jan de Mooij
d05c21f140 Bug 1194627 - Change group when sweeping preliminary objects to avoid leaking their slots. r=bhackett 2015-08-15 19:27:16 +02:00
Phil Ringnalda
cbbd80b4ee Back out 6 changesets (bug 1186424) for ASan mochitest-1 leaks
Backed out changeset 4612c09141ae (bug 1186424)
Backed out changeset 94c7d36f29ba (bug 1186424)
Backed out changeset bdeb7135e541 (bug 1186424)
Backed out changeset e41895c02c0b (bug 1186424)
Backed out changeset 65b067184f10 (bug 1186424)
Backed out changeset ddc3a4689c88 (bug 1186424)
2015-08-15 09:21:19 -07:00
Benjamin Bouvier
cfc2c061bb Bug 1186424: Move compilation data into ModuleCompileResults and have MV finish module's compilation; r=luke
--HG--
extra : commitid : JH8Br5204Jo
extra : rebase_source : 64e5379eab4a8b6720aa0116a8db7d9a7b425ddc
extra : histedit_source : 4ae76a129b8dc1ae860821c60cd2f4be13682452%2C8514e76c661993a8ad17228f741e4774e06a52d0
2015-08-15 14:41:43 +02:00
Benjamin Bouvier
7716d9ce87 Bug 1186424: Embed AsmFunction into ModuleGlobals::Func; r=luke
--HG--
extra : commitid : 8pziKzT0fgR
extra : rebase_source : 55ccdd955d352364cfc37c69e5df74b1a881c3a5
extra : histedit_source : 6e893df69e7117bdbaa187dbadac37bc22d46535
2015-07-30 15:09:59 +02:00
Benjamin Bouvier
fda942b26f Bug 1186424: Take ModuleCompiler out of CheckFunction(); r=luke
--HG--
extra : commitid : LDDPjZHibd3
extra : rebase_source : e32f7a848dd3eefebbd2f72a18761768cf32f0a4
extra : histedit_source : 9aa5b1b0c0f9a3effda6cb1b38d9d07ff43665b8
2015-07-29 14:33:17 +02:00
Benjamin Bouvier
d6b41e5c48 Bug 1186424: Make ModuleCompiler standalone; r=luke
--HG--
extra : commitid : KQ8y3ZI6CZT
extra : rebase_source : 4202d823d7c139fa7ba4484823f2688958d2f635
extra : histedit_source : c3d7e2265500c72ddd3918a5c1281503d51a8a6f
2015-07-30 12:58:05 +02:00
Benjamin Bouvier
1a8fde5b33 Bug 1186424: Split ModuleCompiler into ModuleCompiler/ModuleValidator; r=luke
--HG--
extra : commitid : FkZUJqy5yHm
extra : rebase_source : edb2ac16d534e1ecadcfc983dee75b7767f687f5
extra : histedit_source : e678c6456ae3606f51016a7883b207bbaad1ccb8
2015-07-27 16:25:23 +02:00
Benjamin Bouvier
d5b73da3ad Bug 1186424: Encode all global value's information directly in the IR; r=luke
--HG--
extra : commitid : FVqLWySOCai
extra : rebase_source : 7a587a6a175157a3d4ec9b4489dd7a3b2f42fb9d
2015-07-27 14:04:47 +02:00
Nick Fitzgerald
34ac6552ef Bug 1187062 - Part 3: Add jsapi-tests for JS::ubi::StackFrame; r=sfink 2015-08-14 17:49:06 -07:00
Nick Fitzgerald
d93cd5e9a8 Bug 1187062 - Part 2: Implement a concrete JS::ubi::StackFrame class backed by js::SavedFrame; r=sfink 2015-08-14 17:49:06 -07:00
Nick Fitzgerald
9404d4d0bb Bug 1187062 - Part 1: Add the JS::ubi::StackFrame interface; r=sfink 2015-08-14 17:49:06 -07:00
Nick Fitzgerald
0d9aa228d0 Bug 1187062 - Part 0: Make js::Debugger::getObjectAllocationSite return a SavedFrame* rather than a JSObject*; r=sfink 2015-08-14 17:49:06 -07:00
Bill McCloskey
ac32aef2fb Bug 1189125 - Allow xpcshell to use GTK (r=karlt) 2015-08-14 15:51:19 -07:00
Jason Orendorff
85d1b318e6 Bug 1172503 - Delete unwarranted optimization to fix "Assertion failure: !!desc.object() == objHasOwn, at js/src/vm/NativeObject.cpp:1990". r=evilpie.
--HG--
extra : commitid : 611itJIS1j4
extra : rebase_source : 2938e8f4cf9be93700c953f719ec53483650385c
extra : amend_source : 052a59fe4da19e39eb4e49fbe841d7f1853204e6
2015-06-10 15:54:38 -05:00
Jason Orendorff
8016bfee38 Bug 1105045 - Outerize the receiver passed to proxy hooks. r=efaust.
--HG--
extra : commitid : G8ZDWGn76fj
extra : rebase_source : 36759c408e28660aa958a1683743d972f2b96986
2015-08-07 10:23:05 -05:00
Jason Orendorff
90259502e7 Bug 1192297 - Rephrase Proxy static methods to make it clearer that the handler->hasPrototype() case is the weird case. r=Waldo.
--HG--
extra : commitid : ESIC2Z4wS6J
extra : rebase_source : 9cde8160d79fe11317ed59b8df86454dcae605cc
2015-08-07 10:00:02 -05:00
Jeff Walden
c83b792e35 Bug 1183400 - Common up some is-effectless testing. r=efaust
--HG--
extra : rebase_source : 91939d0c2547e066b2b274def0b207e96339c544
2015-07-18 19:37:09 -07:00
Jeff Walden
3dc348ea95 Bug 1183400 - Remove SyntacticContext completely. r=efaust
--HG--
extra : rebase_source : 357b8385d30e9ad4152092d3946e833d8fb0e6eb
2015-07-13 13:09:55 -07:00
Jeff Walden
628870aaa3 Bug 1183400 - Remove SyntacticContext::Condition, now handled context-sensitively by callers specifically requesting condition-targeted folding. r=efaust
--HG--
extra : rebase_source : e9a0872dc3594660706e599b6f7a640d1aa786d7
2015-07-13 13:09:55 -07:00
Jeff Walden
97edd24dde Bug 1183400 - Remove special |void| handling by making Boolish recognize |void| expressions as falsy, when they're obviously so. r=efaust
--HG--
extra : rebase_source : f2733a60d59218229da9ff2a482d6c7d2d23aca8
2015-07-13 13:09:54 -07:00
Jeff Walden
782d7ad53d Bug 1183400 - Replace callee-based condition-constant folding with caller-specified condition-constant folding. r=efaust
--HG--
extra : rebase_source : fa56f8653a6d0573047ed8a9e8f36b09d5d8153b
2015-07-13 13:09:54 -07:00
Jeff Walden
60b4cb837c Bug 1183400 - Remove SyntacticContext::Delete, now addressed by modifying how delete nodes are folded. r=efaust
--HG--
extra : rebase_source : 65e34a4c142051c17d3e6cf1ae3111b0130a8f46
2015-07-13 13:09:54 -07:00
Jeff Walden
4cb40f5a4e Bug 1183400 - Remove dead fold-by-arity code. r=efaust
--HG--
extra : rebase_source : 0f487272383e92ba620f894f5dff35bc03400d3e
2015-07-13 13:09:54 -07:00
Eric Faust
ca651f500c Bug 1188586 - Disable test for temporarily disabled feature on a CLOSED TREE. (r=itwasonlya3liner) 2015-08-13 14:51:16 -07:00
Tom Schuster
aa0e6f2652 Bug 1175173 - Don't box primitive this values in {Object, Array}.prototype.toLocaleString. r=till 2015-08-13 23:19:50 +02:00
Eric Faust
3819096319 Bug 1188586 - Temporarily disable recovery of MPow to unblock fuzzers. (rs=jandem) 2015-08-13 14:15:25 -07:00
Tooru Fujisawa
578472e15f Bug 1194022 - Add another exception for a token after yield expression without operand and followed by EOL. r=Waldo 2015-08-13 09:40:05 +09:00
Jeff Walden
226310d894 Bug 1183400 - Fold the last few nodes (including PN_NAME nodes) by kind, not arity. r=efaust
--HG--
extra : rebase_source : b7ed2d0394be1c2e2b6dc6848daeadab7d9d98fb
2015-07-13 13:09:54 -07:00
Jeff Walden
20cb2ce6f6 Bug 1183400 - Fold for-in, for-of, and for(;;) loops by kind, and classify miscellaneous straightforward kinds for folding. r=efaust
--HG--
extra : rebase_source : 2ec79441485176649529606d59aba9401acdb2dc
2015-07-13 13:09:54 -07:00
Jeff Walden
8444e12e88 Bug 1183400 - Constant-fold switch/default by kind, not arity. r=efaust
--HG--
extra : rebase_source : 2edc2a6f480e1efcfe9203f5d8fd37f440d179f3
2015-07-09 20:53:23 -07:00
Jeff Walden
ad6c5e5029 Bug 1183400 - Fold while and do-while loops by kind, not arity. r=efaust
--HG--
extra : rebase_source : e4e8a02bab6c8807dd1a010beed0a32c4f063ca7
2015-07-09 20:49:36 -07:00
Jeff Walden
b1262dec84 Bug 1183400 - Fold various binary nodes with two non-null halves by kind. r=efaust
--HG--
extra : rebase_source : ea82501a0113347b63d588e20716a2c7803bad52
2015-07-09 20:49:34 -07:00
Jeff Walden
cd33171f3c Bug 1183400 - Fold function calls and tagged templates by kind, not arity. r=efaust
--HG--
extra : rebase_source : 7aae480f058266d99bb66896d6a0faf495fe61ed
2015-07-09 20:44:54 -07:00
Jeff Walden
0097c1f9e8 Bug 1183400 - Fold addition by kind. r=efaust
--HG--
extra : rebase_source : d65f7eba3c8ba37b1b50388ee22f7482b85c951d
2015-07-08 13:54:14 -07:00
Jeff Walden
ec428cedac Bug 1183400 - Fold element accesses by kind. r=efaust
--HG--
extra : rebase_source : e92867bb75e18162727240cbdcb06f846ddb012f
2015-07-08 13:54:14 -07:00
Jeff Walden
944034dacc Bug 1183400 - Inline FoldBinaryNumeric into its sole caller and simplify code accordingly. r=efaust
--HG--
extra : rebase_source : 320a2867a8bc07af2d27c09647bf9e0820c7edcf
2015-07-27 17:39:45 -07:00
Jan de Mooij
dd613a3546 No bug - Fix bug1106719.js jit-test to allow overrecursion on a CLOSED TREE. r=me 2015-08-13 20:14:05 +02:00
Benjamin Bouvier
70ca66b7b5 Bug 1191756: Improve tests to not always exit with status 3 (OOM); r=jonco
--HG--
extra : commitid : 6FsWK0I92Wi
extra : rebase_source : 1db336041d8a3942719f9acda76189b6b5c36361
2015-08-13 17:28:48 +02:00
Heiher
49f14db98f Bug 1194072 - IonMonkey: MIPS32: Add an option to mark JIT pages as non-writable. r=nbp CLOSED TREE
--HG--
extra : histedit_source : f4b8845bd4deea656f32d3d9c58809d8cacf00a4
2015-08-13 08:23:22 -07:00
Jan de Mooij
b4cc845156 Bug 1173100 - Cleanup OneUcs4ToUtf8Char a bit. r=Waldo 2015-08-13 15:44:49 +02:00
Jan de Mooij
5c50621141 Bug 1194148 - Self-host Array.prototype.toString. r=till 2015-08-13 15:44:47 +02:00
Hannes Verschore
76ece819d9 Bug 1173869: IonMonkey - Cleanup of some dead code in MBinaryArithInstruction::infer, r=jandem 2015-08-13 12:00:17 +02:00
Hannes Verschore
39e215aef1 Bug 1168756: Add shell flags to enable shared stubs, r=jandem 2015-08-13 12:00:16 +02:00
Brian Hackett
2a5db2f814 Bug 1179242 - Avoid unnecessary moves to dead stack slots, tweak regalloc heuristics for bundles required to be in a specific register, r=sunfish. 2015-08-12 18:20:41 -06:00
Shu-yu Guo
7f315a501d Bug 1193046 - Clear prevUpToDate on younger frames when toggling frame debuggeeness off->on. (r=jimb) 2015-08-12 16:37:07 -07:00
Shu-yu Guo
0e31403032 Bug 1161332 - Don't save the JSContext when saving FrameIter::Data. (r=jimb) 2015-08-12 16:37:07 -07:00
Shu-yu Guo
05a01ff244 Bug 1188334 - Fix this one weird case with creating debug block scopes of 0-variable block scopes that come from deprecated let exprs inside generators. (r=jimb) 2015-08-12 16:37:07 -07:00
Shu-yu Guo
22067a94a8 Bug 1188878 - Ensure RematerializedFrames are cleared from Debugger instances on Ion bailout failure. (r=jandem) 2015-08-12 16:37:07 -07:00
Shu-yu Guo
bbd18bfb28 Bug 1191499 - Trace the arguments object in RematerializedFrames. (r=jandem) 2015-08-12 16:37:07 -07:00
David Major
546a607a91 Bug 1193459 review follow-up: Copy the comment from TraceKind.h. DONTBUILD CLOSED TREE 2015-08-12 15:38:10 -04:00
David Major
048b96a697 Backed out changeset d0e096ad1856. DONTBUILD CLOSED TREE 2015-08-12 15:35:12 -04:00
David Major
faab46edc3 Bug 1193459 review follow-up: Copy the comment from TraceKind.h. DONTBUILD CLOSED TREE
--HG--
extra : amend_source : 8dfc5ad94bd1784c6be9ac8ae863eedfcbe04e83
2015-08-12 15:31:33 -04:00
David Major
64e642cb39 Bug 1193459: Fix JS_DEPENDENT_TEMPLATE_HINT for clang-cl. r=jimb
--HG--
extra : rebase_source : 47c8c4d88946dfcbd5484b5ea7ebcb66c2c27537
2015-08-12 13:25:40 -04:00
Jim Blandy
ec09437edc Bug 1189059: Replace setObjectMetadataCallback with enableObjectMetadataCallback, fix callers. r=fitzgen
--HG--
extra : rebase_source : e510e16c42641082d94024f679ff5fa06374b96f
2015-07-29 13:41:26 -07:00
Steve Singer
455c60a5ea Bug 1192689 - Add in classes to LIR-none. r=nbp 2015-08-11 20:15:00 -04:00
Tooru Fujisawa
439e92a042 Bug 1089045 - Part 3: Add parser test for ES6 class. r=Waldo 2015-08-07 04:20:49 +09:00
Tooru Fujisawa
209ff6adf2 Bug 1089045 - Part 2: Tests for modifiers. r=Waldo 2015-08-07 04:20:40 +09:00
Tooru Fujisawa
1a824ac6cd Bug 1089045 - Part 1: Supply consistent modifiers to TokenStream. r=Waldo 2015-08-07 04:11:59 +09:00
Tooru Fujisawa
e28279f545 Bug 1192572 - Add id to each opcode section in SpiderMonkey Bytecode documentation. r=Waldo 2015-08-09 09:17:15 +09:00
Benjamin Bouvier
3a39ae3f5f Bug 1191756: Prevent one OOM in jsop_if; r=jonco
Also fixes the test for bug 1193043.

--HG--
extra : commitid : 7zlrT0yPI2f
extra : rebase_source : 22363ccc2bfda5dd59470dcf6a30f126ae02dd57
2015-08-11 18:32:16 +02:00
Jon Coppeard
94ee08d336 Bug 1191758 - Rework JS::FormatStackDump() to fix OOM handling r=terrence 2015-08-12 10:36:40 +01:00
Heiher
078ef8db22 Bug 1182936 part 2 - IonMonkey: MIPS32: Move mips macros to mips32. r=nbp 2015-08-12 11:22:01 +02:00
Heiher
146726c9d6 Bug 1182936 part 1 - IonMonkey: MIPS32: Rename mips to mips32. r=nbp
rename: js/src/jit/mips/Architecture-mips.cpp -> js/src/jit/mips32/Architecture-mips32.cpp
rename: js/src/jit/mips/Architecture-mips.h -> js/src/jit/mips32/Architecture-mips32.h
rename: js/src/jit/mips/Assembler-mips.cpp -> js/src/jit/mips32/Assembler-mips32.cpp
rename: js/src/jit/mips/Assembler-mips.h -> js/src/jit/mips32/Assembler-mips32.h
rename: js/src/jit/mips/AtomicOperations-mips.h -> js/src/jit/mips32/AtomicOperations-mips32.h
rename: js/src/jit/mips/Bailouts-mips.cpp -> js/src/jit/mips32/Bailouts-mips32.cpp
rename: js/src/jit/mips/Bailouts-mips.h -> js/src/jit/mips32/Bailouts-mips32.h
rename: js/src/jit/mips/BaselineCompiler-mips.cpp -> js/src/jit/mips32/BaselineCompiler-mips32.cpp
rename: js/src/jit/mips/BaselineCompiler-mips.h -> js/src/jit/mips32/BaselineCompiler-mips32.h
rename: js/src/jit/mips/BaselineIC-mips.cpp -> js/src/jit/mips32/BaselineIC-mips32.cpp
rename: js/src/jit/mips/CodeGenerator-mips.cpp -> js/src/jit/mips32/CodeGenerator-mips32.cpp
rename: js/src/jit/mips/CodeGenerator-mips.h -> js/src/jit/mips32/CodeGenerator-mips32.h
rename: js/src/jit/mips/LIR-mips.h -> js/src/jit/mips32/LIR-mips32.h
rename: js/src/jit/mips/LOpcodes-mips.h -> js/src/jit/mips32/LOpcodes-mips32.h
rename: js/src/jit/mips/Lowering-mips.cpp -> js/src/jit/mips32/Lowering-mips32.cpp
rename: js/src/jit/mips/Lowering-mips.h -> js/src/jit/mips32/Lowering-mips32.h
rename: js/src/jit/mips/MacroAssembler-mips.cpp -> js/src/jit/mips32/MacroAssembler-mips32.cpp
rename: js/src/jit/mips/MacroAssembler-mips.h -> js/src/jit/mips32/MacroAssembler-mips32.h
rename: js/src/jit/mips/MoveEmitter-mips.cpp -> js/src/jit/mips32/MoveEmitter-mips32.cpp
rename: js/src/jit/mips/MoveEmitter-mips.h -> js/src/jit/mips32/MoveEmitter-mips32.h
rename: js/src/jit/mips/SharedICHelpers-mips.h -> js/src/jit/mips32/SharedICHelpers-mips32.h
rename: js/src/jit/mips/SharedICRegisters-mips.h -> js/src/jit/mips32/SharedICRegisters-mips32.h
rename: js/src/jit/mips/Simulator-mips.cpp -> js/src/jit/mips32/Simulator-mips32.cpp
rename: js/src/jit/mips/Simulator-mips.h -> js/src/jit/mips32/Simulator-mips32.h
rename: js/src/jit/mips/Trampoline-mips.cpp -> js/src/jit/mips32/Trampoline-mips32.cpp
rename: js/src/jsapi-tests/testJitMoveEmitterCycles-mips.cpp -> js/src/jsapi-tests/testJitMoveEmitterCycles-mips32.cpp

--HG--
rename : js/src/jit/mips/Architecture-mips.cpp => js/src/jit/mips32/Architecture-mips32.cpp
rename : js/src/jit/mips/Architecture-mips.h => js/src/jit/mips32/Architecture-mips32.h
rename : js/src/jit/mips/Assembler-mips.cpp => js/src/jit/mips32/Assembler-mips32.cpp
rename : js/src/jit/mips/Assembler-mips.h => js/src/jit/mips32/Assembler-mips32.h
rename : js/src/jit/mips/AtomicOperations-mips.h => js/src/jit/mips32/AtomicOperations-mips32.h
rename : js/src/jit/mips/Bailouts-mips.cpp => js/src/jit/mips32/Bailouts-mips32.cpp
rename : js/src/jit/mips/Bailouts-mips.h => js/src/jit/mips32/Bailouts-mips32.h
rename : js/src/jit/mips/BaselineCompiler-mips.cpp => js/src/jit/mips32/BaselineCompiler-mips32.cpp
rename : js/src/jit/mips/BaselineCompiler-mips.h => js/src/jit/mips32/BaselineCompiler-mips32.h
rename : js/src/jit/mips/BaselineIC-mips.cpp => js/src/jit/mips32/BaselineIC-mips32.cpp
rename : js/src/jit/mips/CodeGenerator-mips.cpp => js/src/jit/mips32/CodeGenerator-mips32.cpp
rename : js/src/jit/mips/CodeGenerator-mips.h => js/src/jit/mips32/CodeGenerator-mips32.h
rename : js/src/jit/mips/LIR-mips.h => js/src/jit/mips32/LIR-mips32.h
rename : js/src/jit/mips/LOpcodes-mips.h => js/src/jit/mips32/LOpcodes-mips32.h
rename : js/src/jit/mips/Lowering-mips.cpp => js/src/jit/mips32/Lowering-mips32.cpp
rename : js/src/jit/mips/Lowering-mips.h => js/src/jit/mips32/Lowering-mips32.h
rename : js/src/jit/mips/MacroAssembler-mips.cpp => js/src/jit/mips32/MacroAssembler-mips32.cpp
rename : js/src/jit/mips/MacroAssembler-mips.h => js/src/jit/mips32/MacroAssembler-mips32.h
rename : js/src/jit/mips/MoveEmitter-mips.cpp => js/src/jit/mips32/MoveEmitter-mips32.cpp
rename : js/src/jit/mips/MoveEmitter-mips.h => js/src/jit/mips32/MoveEmitter-mips32.h
rename : js/src/jit/mips/SharedICHelpers-mips.h => js/src/jit/mips32/SharedICHelpers-mips32.h
rename : js/src/jit/mips/SharedICRegisters-mips.h => js/src/jit/mips32/SharedICRegisters-mips32.h
rename : js/src/jit/mips/Simulator-mips.cpp => js/src/jit/mips32/Simulator-mips32.cpp
rename : js/src/jit/mips/Simulator-mips.h => js/src/jit/mips32/Simulator-mips32.h
rename : js/src/jit/mips/Trampoline-mips.cpp => js/src/jit/mips32/Trampoline-mips32.cpp
rename : js/src/jsapi-tests/testJitMoveEmitterCycles-mips.cpp => js/src/jsapi-tests/testJitMoveEmitterCycles-mips32.cpp
2015-08-12 11:22:00 +02:00
Benjamin Bouvier
eba462e7a3 Bug 1193043: Check for oom in ScalarReplacement.cpp; r=nbp
--HG--
extra : commitid : 1ky0iqaAd2w
extra : rebase_source : 42d49bb7f0c19b6f81f3510ef785f955264b9e72
2015-08-12 10:17:42 +02:00
Terrence Cole
8599c008e3 Bug 1191543 - Remove AutoNameVector and replace with Rooted; r=jonco
--HG--
extra : rebase_source : 930e012ad7a2930e6261559cd58e19a34e342323
2015-08-10 09:26:29 -07:00
Terrence Cole
de72ab688b Bug 1191529 - Remove JSIdArray and AutoIdArray and replace with Rooted<IdVector>; r=mccr8, r=jonco
* * *
imported patch 2_remove_AutoIdArray_gk

--HG--
extra : rebase_source : f4492f209248c7ae4b74d7d0345c51fa893167da
2015-08-05 11:02:00 -07:00
Muhsin Ali Steiman
83c418c740 Bug 1186723 - Make BytecodeEmitter::emitDupAt take a reasonable offset r=arai 2015-08-11 14:12:06 -07:00
Terrence Cole
275873aa38 Bug 1191117 - Remove RootedGeneric and replace with normal Rooted usage; r=jonco
--HG--
extra : rebase_source : 68b41d7a31da792aa688896828ddfe4c8c154d85
2015-08-04 14:32:27 -07:00
Terrence Cole
1b577f8a20 Bug 1191099 - Replace AutoFunctionVector usage with Rooted; r=jonco
--HG--
extra : rebase_source : e391f78394c02a50b8dd5c2163c0ab84e5f06733
2015-08-04 10:38:24 -07:00
Jan de Mooij
eed2b5bfff Bug 1185653 - Fix enumerate hook on unboxed objects to skip non-enumerable properties. r=jorendorff
--HG--
extra : rebase_source : 4f359cb0b34ee5a92afcb983ec765c92eaa1d162
2015-08-11 17:42:56 +02:00