Jan de Mooij
402d3abdca
Bug 1200809 part 2 - Convert Array natives to new InlinableNatives system. r=nbp
...
--HG--
extra : rebase_source : 84e36e329acf838eb5f3ca28842b8996c04f9c71
2015-09-04 15:53:45 +02:00
Jan de Mooij
b17e156ddc
Bug 1200809 part 1 - Add InlinableNatives JitInfo infrastructure, use it for Math natives. r=bz,nbp
...
--HG--
extra : rebase_source : a5d9538d66977ed2e202fb6a00924409abbf278b
2015-09-04 15:52:10 +02:00
Jon Coppeard
9887f9ea18
Bug 930414 - Make module imports into defintions r=shu
2015-09-04 14:14:43 +01:00
Jon Coppeard
25bfba74ee
Bug 930414 - Implement default module exports r=shu
2015-09-04 14:14:43 +01:00
Jon Coppeard
725f28c7b5
Bug 930414 - Check for duplicate module exports r=shu
2015-09-04 14:14:43 +01:00
Jon Coppeard
071566ef1a
Bug 930414 - Add option for Reflect.parse to parse as a module, and allow modules to be parsed without a script r=shu
2015-09-04 14:14:43 +01:00
Nicolas B. Pierron
62bcb5abb0
Bug 1201793 - ScratchRegisterScope: ma_alu expect to have scratch register owned by the caller. r=sstangl
2015-09-04 14:31:13 +02:00
Heiher
ebafe2fbba
Bug 1199565 - IonMonkey: MIPS32: Clampped float32-to-int32 conversions should bailout on MIPS. r=nbp
2015-08-27 23:31:00 +02:00
Heiher
9bf32f2bda
Bug 1199080
- IonMonkey: MIPS32: Fix treating saved frame bit as part of the frame type. r=nbp
2015-08-26 21:36:00 +02:00
Heiher
e2e560d22e
Bug 1199057 - IonMonkey: MIPS32: Plumb new.target on the stack and make it accessible to JSNatives. r=nbp
2015-08-26 18:41:00 +02:00
Heiher
f3ecfbf1f3
Bug 1198606 - IonMonkey: MIPS32: Fix build failure caused by Bug 1192786. r=nbp
2015-08-26 00:02:00 +02:00
Ted Clancy
52fd2b978f
Bug 1198216 - Check for presence of ICU::Timezone::recreateDefault() before using. r=jwalden
2015-08-27 07:57:19 -07:00
Benjamin Bouvier
bdfc7a430f
Bug 1186424: Rename FunctionBuilder into FunctionValidator; r=luke
...
--HG--
extra : commitid : KKgQW1TW6Ls
extra : rebase_source : 7f1c5f589503e8930e23e800ba2a72bf9f76c0ad
extra : histedit_source : 0d9401e83788566756e3c6ad0406571fcfe38047
2015-09-03 16:43:58 +02:00
Benjamin Bouvier
9d044144d4
Bug 1186424: Remove usage of ExclusiveContext from the ModuleCompiler; r=luke
...
--HG--
extra : commitid : LoRS2mm0cUz
extra : rebase_source : 82c8b5b6bf6b57f32349e328f9a537493267de44
extra : histedit_source : 5a9600ec998844c3667dac624ff89cd22bbbbef7%2Cf6efb9af1061fa88be1b48997b73e9cf1929a60e
2015-09-03 15:56:16 +02:00
Benjamin Bouvier
66205f4cc1
Bug 1186424: Remove perf blocks annotations in OdinMonkey; r=luke
...
--HG--
extra : commitid : aN2JSsRD7l
extra : rebase_source : fb76ce713d66f1978dea0a8ea186cbbc63291d3f
2015-09-01 18:53:39 +02:00
Benjamin Bouvier
db8173c13e
Bug 1186424: Get rid of the tokenStream in the ModuleCompiler; r=luke
...
By putting line/column information in Odin's bytecode, we can remove the need
for the tokenStream in the ModuleCompiler. Following patch removes the
commented usage in noteBasicBlockPosition.
--HG--
extra : commitid : 6zyu5axMQ35
extra : rebase_source : c56f470954c238ecb5bf00083c43da30be2bc365
2015-09-02 11:24:54 +02:00
Shu-yu Guo
b89fe1f0d7
Bug 1201575 - Give copied FrameIter::Data the cx of the current frame. (r=jimb)
2015-09-03 16:55:05 -07:00
Shu-yu Guo
1a904e7bd1
Revert "Bug 1161332 - Don't save the JSContext when saving FrameIter::Data. (r=jimb)"
...
This reverts commit 0e31403032
.
2015-09-03 16:55:05 -07:00
J. Ryan Stinnett
87a2341396
Bug 1186993 - Add MOZ_CHAOSMODE to XPCShell. r=roc
2015-09-03 18:31:30 -05:00
Eric Faust
1c24fe00cb
Bug 1168992 - Part 4: Convert PNK_SUPERELEM to PNK_ELEM and fix reflection of super[elem]. (r=Waldo)
2015-09-02 15:09:06 -07:00
Eric Faust
d9a08f1971
Bug 1168992 - Part 3: Change PNK_SUPERPROP to PNK_DOT and fix reflection of super.prop. (r=Waldo)
2015-09-02 15:09:04 -07:00
Eric Faust
4b083793c5
Bug 1168992 - Part 2: Fix reflection of new.target. (r=Waldo)
2015-09-02 15:09:03 -07:00
Eric Faust
d88d5b0dbc
Bug 1168992 - Part 1: Fix up reflection of classes. (r=Waldo)
2015-09-02 15:09:02 -07:00
Andrew McCreight
b1af6d534d
Bug 1196391, part 3 - Make argument count assertions fatal in js::ExpandErrorArgumentsVA(). r=Waldo
2015-09-03 15:39:09 -07:00
Andrew McCreight
6016fb539e
Bug 1196391, part 2 - Add JSAPI constant for the max number of error arguments. r=Waldo
...
This will allow users of the API to do checking of values they pass in.
2015-09-03 15:39:08 -07:00
Andrew McCreight
7f296622e0
Bug 1196391, part 1 - Make the type of locals in js::ExpandErrorArgumentsVA() match the type of JSErrorFormatString::argCount. r=Waldo
2015-09-03 15:39:08 -07:00
Terrence Cole
4955cf8ac2
Bug 1196925 - Remove the non-existing relocatable store buffer counts from about:memory; r=njn
2015-08-26 14:51:43 -07:00
Terrence Cole
e391ea26d3
Backout c9e469c6b915 (Bug 1196847) for regressing octane.
...
--HG--
extra : rebase_source : 5798a27913a55f86d4f1ca7068e1c9255514e9d0
2015-09-03 09:38:04 -07:00
Terrence Cole
d0d0a951de
Backout 7f6585a46cd0 (Bug 1196847) for being on top of a regression.
...
--HG--
extra : rebase_source : 9c9b94cf6e514c603fa8e7964da1d51004326399
2015-09-03 09:37:19 -07:00
Terrence Cole
ca1d87a88a
Backout 15fa4c3a45ec (Bug 1196848) for being on top of a regression.
...
--HG--
extra : rebase_source : 7783be3966c4f963ad9aadfa9dc145b1b832c143
2015-09-03 09:35:43 -07:00
Terrence Cole
46a19ca98d
Backout ff66ba4688c0 (Bug 1196925) for being on top of a regression.
...
--HG--
extra : rebase_source : 2a97f610801a7157f513ed3a3b52533d724f1c81
2015-09-03 09:35:02 -07:00
Jon Coppeard
01cf13549a
Bug 1201051 - Make helper thread initialization report errors rather than crashing r=terrence
2015-09-03 12:08:08 +01:00
Jon Coppeard
dda501c04a
Bug 1201051 - Add ObjectWeakMap::init() rather than crashing in constructor on OOM r=terrence
2015-09-03 12:08:08 +01:00
Nick Fitzgerald
d16c26a653
Bug 1200444 - Make JS::dbg::{IsDebugger,GetDebuggeeGlobals} handle CCWs; r=sfink
...
Most devtools code that uses a Debugger actually ends up doing it through
modules with a different global from the one the Debugger was instantiated in,
and so it gets a CCW. When we pass one of these CCWs to
ThreadSafeChromeUtils.saveHeapSnapshot, it would throw NS_ERROR_INVALID_ARG. The
most straightforward fix is to have the JS APIs that
ThreadSafeChromeUtils.saveHeapSnapshot calls peek through CCWs.
2015-09-02 21:04:56 -07:00
Nigel Babu
b99cf478d4
Backed out changeset a05bfd76c34c (bug 1168992) for Spidermonkey bustage on CLOSED TREE
2015-09-03 08:57:02 +05:30
Nigel Babu
3eea8adde6
Backed out changeset a14eb650f5be (bug 1168992) for Spidermonkey bustage on CLOSED TREE
2015-09-03 08:56:58 +05:30
Nigel Babu
d1e802e8cd
Backed out changeset 4f7c8a567707 (bug 1168992) for Spidermonkey bustage on CLOSED TREE
2015-09-03 08:56:51 +05:30
Nigel Babu
e0232ea9c7
Backed out changeset 8534fa84c490 (bug 1168992) for Spidermonkey bustage on CLOSED TREE
2015-09-03 08:56:47 +05:30
Eric Faust
4a9887c685
Bug 1168992 - Part 4: Convert PNK_SUPERELEM to PNK_ELEM and fix reflection of super[elem]. (r=Waldo)
2015-09-02 15:09:06 -07:00
Eric Faust
177ac7002d
Bug 1168992 - Part 3: Change PNK_SUPERPROP to PNK_DOT and fix reflection of super.prop. (r=Waldo)
2015-09-02 15:09:04 -07:00
Eric Faust
f2c68805f1
Bug 1168992 - Part 2: Fix reflection of new.target. (r=Waldo)
2015-09-02 15:09:03 -07:00
Eric Faust
7d050277ac
Bug 1168992 - Part 1: Fix up reflection of classes. (r=Waldo)
2015-09-02 15:09:02 -07:00
Aidin Gharibnavaz
33eff85862
Bug 1114782 - Using compiler's builtin overflow-checked functions in SafeAdd and friends. r=sunfish
2015-09-02 16:32:31 -07:00
Wes Kocher
b31b176413
Backed out 4 changesets (bug 1168992) for apparently breaking reftests CLOSED TREE
...
Backed out changeset cb3a01796c02 (bug 1168992)
Backed out changeset 45e16ff50caa (bug 1168992)
Backed out changeset 6155cc98258d (bug 1168992)
Backed out changeset 0ff820964ea0 (bug 1168992)
2015-09-02 15:51:40 -07:00
Eric Faust
702d06bb02
Bug 1168992 - Part 4: Convert PNK_SUPERELEM to PNK_ELEM and fix reflection of super[elem]. (r=Waldo)
2015-09-02 15:09:06 -07:00
Eric Faust
b7afc64403
Bug 1168992 - Part 3: Change PNK_SUPERPROP to PNK_DOT and fix reflection of super.prop. (r=Waldo)
2015-09-02 15:09:04 -07:00
Eric Faust
371c557f97
Bug 1168992 - Part 2: Fix reflection of new.target. (r=Waldo)
2015-09-02 15:09:03 -07:00
Eric Faust
919c23ca38
Bug 1168992 - Part 1: Fix up reflection of classes. (r=Waldo)
2015-09-02 15:09:02 -07:00
Terrence Cole
d15cc51b3c
Backout d92d88957742 (Bug 1200732) for bustage on a CLOSED TREE.
2015-09-02 11:07:27 -07:00
Terrence Cole
8befdad1af
Bug 1200732 - Use stable hashing for AutoCycleDetectorSet; r=jonco
...
--HG--
extra : rebase_source : ea47c864a961a49a1bcc6ee20dbd89d169cbe50e
2015-08-26 14:51:43 -07:00
Terrence Cole
23db9f8879
Bug 1196925 - Remove the non-existing relocatable store buffer counts from about:memory; r=njn
...
--HG--
extra : rebase_source : 7b704f68283b7921225e43ec607315f283556817
2015-08-26 14:51:43 -07:00
Terrence Cole
899ec10be3
Bug 1196848 - Add Zone::uniqueIds to about:memory reports; r=njn
...
--HG--
extra : rebase_source : 0b7173fc4d344f55b5b8c41e010ea65c7048091e
2015-08-26 14:51:43 -07:00
Terrence Cole
5e9eddeee5
Bug 1196847 - Part 2: Implement a cell hasher that uses unique id based hashes; r=jonco
...
--HG--
extra : rebase_source : aec278105f1cb4303eff593edef244f10ebd2a0e
2015-08-26 14:51:35 -07:00
Terrence Cole
954ca0c585
Bug 1196847 - Part 1: Allow storage of a unique id for a cell independent of address; r=jonco
...
--HG--
extra : rebase_source : 870e541aaff1ff4e203dc1b90a7ff5283e10f2fe
2015-08-20 10:35:22 -07:00
Jan de Mooij
7c28c879fe
Bug 1175394
part 2 - Rename normal/strict arguments to mapped/unmapped arguments. r=jorendorff
2015-09-02 13:05:30 +02:00
Jan de Mooij
8be1e90dc5
Bug 1175394
part 1 - Create an unmapped (strict) arguments object for functions with rest/destructuring/default arguments. r=jorendorff
2015-09-02 12:57:10 +02:00
Jan de Mooij
8d85f303ca
Bug 1200782 - Inline Array.isArray when we know the result statically. r=bhackett
2015-09-02 12:34:11 +02:00
Jan de Mooij
7a34829178
Bug 1199165 - Rename isHeavyweight to needsCallObject. r=shu
2015-09-02 12:34:07 +02:00
Jon Coppeard
8acc0315a3
Bug 1088214 - Remove JSCLASS_IMPLEMENTS_BARRIERS now this is implemented everywhere r=terrence
2015-09-02 10:40:10 +01:00
Benjamin Bouvier
cc36ba2056
Bug 1186424: Refactor AsmJSValidate.cpp in preparation for parallelization; r=luke
...
--HG--
extra : commitid : 9Jq2VOrLdXr
extra : rebase_source : ca3c05c71cf2262fc1db62ccc95c55d0b07def37
2015-09-01 17:56:46 +02:00
Benjamin Bouvier
8d1f8f824a
Bug 1186424: Remove AsmJS min heap length optimization; r=luke
...
--HG--
extra : commitid : GKnlXxtiLBM
extra : rebase_source : bb5b286b57d5374b3c155e1a82e8b34914c112d5
2015-08-28 16:53:02 +02:00
Jan de Mooij
3ef7347013
Bug 1199143 - Inline heavyweight functions. r=shu
2015-09-02 09:44:17 +02:00
Lars T Hansen
3324bb898f
Bug 1199578 - include SharedTypedArray in a type test. r=waldo
2015-09-02 09:33:39 +02:00
Lars T Hansen
804122e0ad
Bug 1178793 - Make asm.js atomic primitives return Int, not Intish. r=luke
2015-09-02 09:26:13 +02:00
Lars T Hansen
c91af0598d
Bug 1178793 - Throw on atomic OOB access, asm.js parts. r=luke, r=sstangl
2015-09-02 09:26:09 +02:00
Lars T Hansen
2d6aa26e26
Bug 1178793 - Throw on OOB atomics access, interpreter+Ion. r=luke
2015-09-02 09:25:12 +02:00
Nicholas Nethercote
92315e0173
Bug 1200484 (part 5) - Use JS column numbers in XPCNativeInterface::NewInstance(). r=mrbkap.
...
--HG--
extra : rebase_source : 0dcb6934b44062887d911fd0e9eeaff817d65454
2015-09-01 17:56:03 -07:00
Nicholas Nethercote
f1569466ff
Bug 1200484 (part 2) - Use JS column numbers in ReportWrapperDenial(). r=mrbkap.
...
--HG--
extra : rebase_source : 5bb85db84152d38cdf4d6206e0b4d2d5ee95b91b
2015-08-31 21:28:50 -07:00
Nicholas Nethercote
8d68efb483
Bug 1200484 (part 1) - Expose the column number in JS::DescribeScriptedCaller(). r=luke.
...
--HG--
extra : rebase_source : b5d5d48025016b3370c6bac34132d0cd7a4dffab
2015-08-31 21:23:40 -07:00
Tooru Fujisawa
df599b65c0
Bug 1192412 - Part 1: Set class constructor name to class name. r=efaust
...
--HG--
extra : rebase_source : 652f849bf960c5038a088e54a2fa72613783ef6a
extra : amend_source : 23aa57602920dc9c44492ce6cbc6d53e0f586c32
2015-08-11 08:39:01 +09:00
Tooru Fujisawa
2816d774f0
Bug 1192412 - Part 0: Refactor property list parsing. r=efaust
...
--HG--
extra : source : 6483795d4c85d050f9cb0329a3cac6b85d374490
extra : amend_source : 79f11d02dcd5318af67ab67b7abcefc728cd3437
2015-08-25 05:42:50 +09:00
Steve Fink
87aa5dec6e
Bug 1011786 - Diagnostic patch to detect cyclic ropes, r=terrence
...
--HG--
extra : rebase_source : 5a30d120367d2ba71e1800c5a5b34496481b6efb
2015-08-28 16:39:20 -07:00
Brian Hackett
2059e999ad
Bug 1198861 - Improve aliasing information and type barrier handling for unboxed arrays, r=jandem.
2015-09-01 13:04:26 -06:00
Morgan Phillips
6940ef010b
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 : 6aa03d31c71c0bf8634daf6aa0c349eba0058086
2015-09-01 09:20:11 -07:00
Jeff Walden
44c85d6ed1
Bug 1186962. r=jorendorff
2015-08-12 12:03:28 -05:00
Luke Wagner
28142a9f01
Bug 1198224 - OdinMonkey: hash the signatures, not their addresses (r=bbouvier)
...
--HG--
extra : rebase_source : 24a034a1e5fb45eeeb2c7c463e0e4d08bf9ff23e
2015-08-31 09:06:58 -05:00
Nicolas B. Pierron
1435ffdee2
Bug 1184965 part 8 - Remove MacroAssemblerSpecific::ma_callJitHalfPush. r=bbouvier
2015-09-01 11:58:47 +02:00
Nicolas B. Pierron
c9a420da88
Bug 1184965 part 7 - Factor MacroAssembler::callAndPushreturnAddress on architecture where this is efficient. r=sstangl
2015-09-01 11:58:47 +02:00
Nicolas B. Pierron
b9f1462a7e
Bug 1184965 part 6 - Move MacroAssembler ExitFrameFooter function in the check_macroassembler_style section. r=jandem
2015-09-01 11:58:46 +02:00
Nicolas B. Pierron
919bcb91e7
Bug 1184965 part 5 - Factor MacroAssembler::buildFakeExitFrame. r=h4writer
2015-09-01 11:58:46 +02:00
Nicolas B. Pierron
15b3d63278
Bug 1184965 part 4 - Factor MacroAssembler::callWithExitFrame. r=jandem
2015-09-01 11:58:45 +02:00
Nicolas B. Pierron
113d3120db
Bug 1184965 part 3 - Use RAII for redundant profilerPreCall and profilerPostReturn calls. r=djvj
2015-09-01 11:58:45 +02:00
Nicolas B. Pierron
5a7963d2c5
Bug 1184965 part 2 - Factor MacroAssembler::makeFrameDescriptor. r=sstangl
2015-09-01 11:58:45 +02:00
Nicolas B. Pierron
4f33bf0843
Bug 1184965 part 1 - Factor MacroAssembler::callJit. r=bbouvier
2015-09-01 11:58:44 +02:00
Jim Blandy
3220028411
Bug 1200345: Add comment to js/public/UbiNode.h warning about operating on graphs constructed by hostile code. DONTBUILD r=fitzgen
...
--HG--
extra : amend_source : 1b311d37f460547b8746e32305ac26994357c7ed
extra : histedit_source : defb2915ef54db03ed5481f0afea3eaa0bbf361c
2015-08-31 11:34:57 -07:00
Jim Blandy
b734c1b1fb
Backed out changeset 297155cba060 for landing with the wrong bug number.
...
--HG--
extra : histedit_source : f09370f5222ab9fc04b476e25a0a3b079b8257bf
2015-08-31 20:17:59 -07:00
Jim Blandy
613198b0b0
Bug 1200482: Add comment to js/public/UbiNode.h warning about operating on graphs constructed by hostile code. DONTBUILD r=fitzgen
...
--HG--
extra : rebase_source : 31678939953dca924a407b81f5f9bcc9757d4969
extra : amend_source : 7df635066094051304ae71c1ed36e829d2e35ceb
2015-08-31 11:34:57 -07:00
Ben Kelly
e4c6f8d174
Bug 1184607 P7.6 Expose CacheStorage .caches property on xpcshell global. r=smaug
...
* * *
7.6 interdiff
2015-08-31 14:26:30 -07:00
Heiher
c5a44218b0
Bug 1198732 - IonMonkey: MIPS32: Fix calculate frame size in generateEnterJIT. r=nbp
...
--HG--
extra : rebase_source : bc54c398db5dfa9c832b8765d8ecb56b58a5c696
extra : source : cd3f5acca408174047635d0942bb6c7c1196852c
2015-08-26 07:05:00 -04:00
Jan de Mooij
d3f5baeb34
Bug 1200108 - Remove NewDenseArray intrinsic, use std_Array instead. r=till
2015-08-31 19:35:05 +02:00
Morgan Phillips
d5cdc73864
Bug 1191486 - Generators should not implement [[Construct]] but should have a prototype; r=jorendorff
...
--HG--
extra : rebase_source : bf4163f7c8a52a4befa8c21294473ab8b300a1e3
2015-08-27 16:35:44 -07:00
Carsten "Tomcat" Book
c3bf799b74
Backed out changeset 3af664723761 (bug 1198628)
2015-08-31 16:18:43 +02:00
Carsten "Tomcat" Book
39bdbf254a
Backed out changeset cd3f5acca408 (bug 1198732)
2015-08-31 16:18:37 +02:00
Carsten "Tomcat" Book
42e9d67975
Backed out changeset 0ecba91f42b5 (bug 1194139)
2015-08-31 16:17:41 +02:00
Heiher
22b26e199f
Bug 1194139 - IonMonkey: MIPS: Redefine FloatRegisters::Code and use it in the right way. r=nbp
2015-08-24 09:26:00 -04:00
Heiher
0848ea4df4
Bug 1198732 - IonMonkey: MIPS32: Fix calculate frame size in generateEnterJIT. r=nbp
2015-08-26 07:05:00 -04:00
Heiher
634e432196
Bug 1198628 - IonMonkey: ARM: Redefine FloatRegisters::Code and use it in the right way. r=nbp
2015-08-26 01:42:00 -04:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Shu-yu Guo
74dcccdc3f
Bug 1193583 - Fix misc XPConnect and devtools tests. (r=jorendorff)
2015-08-30 15:08:19 -07:00
Shu-yu Guo
d228db207e
Bug 1193583 - Fix out-of-date reftests. (r=jorendorff)
2015-08-30 15:08:19 -07:00
Shu-yu Guo
b17f71092a
Bug 1193583 - Rename Debugger.evalInGlobal to executeInGlobal. (r=jorendorff)
...
--HG--
rename : js/src/jit-test/tests/debug/Object-evalInGlobal-01.js => js/src/jit-test/tests/debug/Object-executeInGlobal-01.js
rename : js/src/jit-test/tests/debug/Object-evalInGlobal-07.js => js/src/jit-test/tests/debug/Object-executeInGlobal-07.js
rename : js/src/jit-test/tests/debug/Object-evalInGlobal-08.js => js/src/jit-test/tests/debug/Object-executeInGlobal-08.js
rename : js/src/jit-test/tests/debug/Object-evalInGlobal-10.js => js/src/jit-test/tests/debug/Object-executeInGlobal-10.js
rename : toolkit/devtools/server/tests/mochitest/test_evalInGlobal-outerized_this.html => toolkit/devtools/server/tests/mochitest/test_executeInGlobal-outerized_this.html
2015-08-30 15:08:19 -07:00
Shu-yu Guo
1194a532eb
Bug 1193583 - Change the semantics of Debugger.evalInGlobal to be like executing a series of statements at the global level instead of like an indirect eval. (r=jimb)
...
This is to allow the web console to introduce and persist lexical
bindings on the global level. If evalInGlobal were like an indirect
eval, then no lexical bindings can escape the lexical environment of the
eval.
2015-08-30 15:08:19 -07:00
Shu-yu Guo
256fcebeb7
Bug 1193583 - Test. (r=jorendorff)
2015-08-30 15:08:19 -07:00
Shu-yu Guo
b4e25ed468
Bug 1193583 - Teach Debugger tests that eval frames now always have a lexical environment. (r=jorendorff)
2015-08-30 15:08:19 -07:00
Shu-yu Guo
9228fad4d3
Bug 1193583 - Fix eval to always execute under a non-extensible lexical scope. (r=jorendorff)
2015-08-30 15:08:19 -07:00
Shu-yu Guo
f48bd0b3d2
Bug 1193583 - Support emitting block scopes in the prologue. (r=jorendorff)
2015-08-30 15:08:19 -07:00
Terrence Cole
6d4d6d6a09
Bug 1199822 - Turn self-hosting's cycle-check into an assertion; r=till
...
--HG--
extra : rebase_source : 106f1068f0a93efa8608ef02dcf738a5a92e87bc
2015-08-29 09:58:16 -07:00
Brian Hackett
2cbb187059
Bug 1184388 - Fix transposed arguments to GiveObjectGroup, r=jandem.
2015-08-30 07:55:38 -06:00
Nicolas B. Pierron
63d0310e96
Bug 1191289 part 2 - JS Lcov output: Handle throw statements. r=bhackett
2015-08-29 01:32:37 +02:00
Nicolas B. Pierron
e01023f215
Bug 1191289 part 1 - Add a JSFriendApi function to produce LCOV information about the current compartment. r=bhackett
2015-08-29 01:32:37 +02:00
Nicolas B. Pierron
9002c3c5c9
Bug 1190454 part 5 - Update GetPCCountJSON to consider jumpTargets and Throws. r=bhackett
2015-08-29 01:32:37 +02:00
Nicolas B. Pierron
e037ff48d6
Bug 1190454 part 4 - Use mozilla::Vector in js::ScriptCounts. r=bhackett
2015-08-29 01:32:36 +02:00
Nicolas B. Pierron
f37f92b962
Bug 1190454 part 3 - PCCounts: Collect throw/catch hit counts. r=bhackett
2015-08-29 01:32:36 +02:00
Nicolas B. Pierron
c4218bbf0b
Bug 1190454 part 2 - Only compute code coverage of jump targets. r=bhackett
2015-08-29 01:32:36 +02:00
Nicolas B. Pierron
d84b8525a0
Bug 1190454 part 1 - PCCounts use uint64_t instead of a double to count the number of hits. r=evilpie
2015-08-29 01:32:35 +02:00
Nicolas B. Pierron
843adc9871
Bug 1190454 part 0 - Remove unnecessary use of AppendArrayJSONMProperties. r=bhackett
2015-08-29 01:32:35 +02:00
Sean Stangl
aa8399d165
Bug 986680 - Follow-up: Make constructors explicit. r=me
2015-08-28 15:00:27 -07:00
Eric Faust
fedb989d71
No Bug - Reenable erroneously disabled exponentiation operator in nightly builds. (r=me)
2015-08-28 14:55:20 -07:00
Boris Zbarsky
05d0806c8d
Bug 1181908 part 2. The CompileOptions constructor should properly copy the introducerFilename and isRunOnce state. r=luke
2015-08-03 11:51:57 -04:00
Brian Hackett
f05512ddc8
Bug 1181908 part 1. Fix support for JSOP_OBJECT in scripts parsed on background threads by clearing the unboxedLayouts list on the background thread parsing compartment when merging the parse result to the target compartment. r=jandem
2015-08-28 17:03:48 -04:00
Sean Stangl
dd37bb4eca
Bug 986680 - Part 4/4 - Convert ARM to ScratchRegisterScope. r=nbp
2015-08-13 15:26:19 -07:00
Sean Stangl
2b477760ff
Bug 986680 - Part 3/4 - Convert x64 to ScratchRegisterScope. r=nbp
2015-08-13 13:55:58 -07:00
Sean Stangl
556f86176c
Bug 986680 - Part 2/4 - Define per-platform ScratchRegisterScope. r=nbp
2015-08-13 13:42:16 -07:00
Sean Stangl
c61bc89252
Bug 986680 - Part 1/4 - Define AutoGenericRegisterScope. r=nbp
2015-08-13 12:14:27 -07:00
David Rajchenbach-Teller
ac0d28842d
Bug 1199643 - Fix unsafe use of PerformanceGroup. r=jandem
...
--HG--
extra : transplant_source : %C6%29Z%EE%CE%01%9B%D6%E6%07%20%ADl1%A8%D8%C6%9E%05%06
2015-08-28 15:31:20 +02:00
Ryan VanderMeulen
2f2b6923e2
Merge m-c to inbound. a=merge
...
CLOSED TREE
2015-08-28 12:12:44 -04:00
Ryan VanderMeulen
19eddf8198
Bug 1194139 - Fix includes order to make the SM style checker happy.
...
CLOSED TREE
2015-08-28 09:23:36 -04:00
Heiher
bb8434ae70
Bug 1194139 - IonMonkey: MIPS: Rename Architecture-mips to Architecture-mips-shared. r=nbp
2015-08-24 08:42:00 -04:00
Ben Tian
f9389ddddf
Bug 1193379 - Create dom/bluetooth/common/webapi folder. r=joliu
...
--HG--
rename : dom/bluetooth/common/BluetoothAdapter.cpp => dom/bluetooth/common/webapi/BluetoothAdapter.cpp
rename : dom/bluetooth/common/BluetoothAdapter.h => dom/bluetooth/common/webapi/BluetoothAdapter.h
rename : dom/bluetooth/common/BluetoothClassOfDevice.cpp => dom/bluetooth/common/webapi/BluetoothClassOfDevice.cpp
rename : dom/bluetooth/common/BluetoothClassOfDevice.h => dom/bluetooth/common/webapi/BluetoothClassOfDevice.h
rename : dom/bluetooth/common/BluetoothDevice.cpp => dom/bluetooth/common/webapi/BluetoothDevice.cpp
rename : dom/bluetooth/common/BluetoothDevice.h => dom/bluetooth/common/webapi/BluetoothDevice.h
rename : dom/bluetooth/common/BluetoothDiscoveryHandle.cpp => dom/bluetooth/common/webapi/BluetoothDiscoveryHandle.cpp
rename : dom/bluetooth/common/BluetoothDiscoveryHandle.h => dom/bluetooth/common/webapi/BluetoothDiscoveryHandle.h
rename : dom/bluetooth/common/BluetoothGatt.cpp => dom/bluetooth/common/webapi/BluetoothGatt.cpp
rename : dom/bluetooth/common/BluetoothGatt.h => dom/bluetooth/common/webapi/BluetoothGatt.h
rename : dom/bluetooth/common/BluetoothGattCharacteristic.cpp => dom/bluetooth/common/webapi/BluetoothGattCharacteristic.cpp
rename : dom/bluetooth/common/BluetoothGattCharacteristic.h => dom/bluetooth/common/webapi/BluetoothGattCharacteristic.h
rename : dom/bluetooth/common/BluetoothGattDescriptor.cpp => dom/bluetooth/common/webapi/BluetoothGattDescriptor.cpp
rename : dom/bluetooth/common/BluetoothGattDescriptor.h => dom/bluetooth/common/webapi/BluetoothGattDescriptor.h
rename : dom/bluetooth/common/BluetoothGattServer.cpp => dom/bluetooth/common/webapi/BluetoothGattServer.cpp
rename : dom/bluetooth/common/BluetoothGattServer.h => dom/bluetooth/common/webapi/BluetoothGattServer.h
rename : dom/bluetooth/common/BluetoothGattService.cpp => dom/bluetooth/common/webapi/BluetoothGattService.cpp
rename : dom/bluetooth/common/BluetoothGattService.h => dom/bluetooth/common/webapi/BluetoothGattService.h
rename : dom/bluetooth/common/BluetoothLeDeviceEvent.cpp => dom/bluetooth/common/webapi/BluetoothLeDeviceEvent.cpp
rename : dom/bluetooth/common/BluetoothLeDeviceEvent.h => dom/bluetooth/common/webapi/BluetoothLeDeviceEvent.h
rename : dom/bluetooth/common/BluetoothManager.cpp => dom/bluetooth/common/webapi/BluetoothManager.cpp
rename : dom/bluetooth/common/BluetoothManager.h => dom/bluetooth/common/webapi/BluetoothManager.h
rename : dom/bluetooth/common/BluetoothPairingHandle.cpp => dom/bluetooth/common/webapi/BluetoothPairingHandle.cpp
rename : dom/bluetooth/common/BluetoothPairingHandle.h => dom/bluetooth/common/webapi/BluetoothPairingHandle.h
rename : dom/bluetooth/common/BluetoothPairingListener.cpp => dom/bluetooth/common/webapi/BluetoothPairingListener.cpp
rename : dom/bluetooth/common/BluetoothPairingListener.h => dom/bluetooth/common/webapi/BluetoothPairingListener.h
rename : dom/bluetooth/common/BluetoothPbapRequestHandle.cpp => dom/bluetooth/common/webapi/BluetoothPbapRequestHandle.cpp
rename : dom/bluetooth/common/BluetoothPbapRequestHandle.h => dom/bluetooth/common/webapi/BluetoothPbapRequestHandle.h
2015-08-21 15:15:41 +08:00
Ben Tian
44c939383c
Bug 1193379 - Rename bluetooth2 folder to common. r=joliu
...
--HG--
rename : dom/bluetooth/bluetooth2/BluetoothAdapter.cpp => dom/bluetooth/common/BluetoothAdapter.cpp
rename : dom/bluetooth/bluetooth2/BluetoothAdapter.h => dom/bluetooth/common/BluetoothAdapter.h
rename : dom/bluetooth/bluetooth2/BluetoothClassOfDevice.cpp => dom/bluetooth/common/BluetoothClassOfDevice.cpp
rename : dom/bluetooth/bluetooth2/BluetoothClassOfDevice.h => dom/bluetooth/common/BluetoothClassOfDevice.h
rename : dom/bluetooth/bluetooth2/BluetoothDevice.cpp => dom/bluetooth/common/BluetoothDevice.cpp
rename : dom/bluetooth/bluetooth2/BluetoothDevice.h => dom/bluetooth/common/BluetoothDevice.h
rename : dom/bluetooth/bluetooth2/BluetoothDiscoveryHandle.cpp => dom/bluetooth/common/BluetoothDiscoveryHandle.cpp
rename : dom/bluetooth/bluetooth2/BluetoothDiscoveryHandle.h => dom/bluetooth/common/BluetoothDiscoveryHandle.h
rename : dom/bluetooth/bluetooth2/BluetoothGatt.cpp => dom/bluetooth/common/BluetoothGatt.cpp
rename : dom/bluetooth/bluetooth2/BluetoothGatt.h => dom/bluetooth/common/BluetoothGatt.h
rename : dom/bluetooth/bluetooth2/BluetoothGattCharacteristic.cpp => dom/bluetooth/common/BluetoothGattCharacteristic.cpp
rename : dom/bluetooth/bluetooth2/BluetoothGattCharacteristic.h => dom/bluetooth/common/BluetoothGattCharacteristic.h
rename : dom/bluetooth/bluetooth2/BluetoothGattDescriptor.cpp => dom/bluetooth/common/BluetoothGattDescriptor.cpp
rename : dom/bluetooth/bluetooth2/BluetoothGattDescriptor.h => dom/bluetooth/common/BluetoothGattDescriptor.h
rename : dom/bluetooth/bluetooth2/BluetoothGattServer.cpp => dom/bluetooth/common/BluetoothGattServer.cpp
rename : dom/bluetooth/bluetooth2/BluetoothGattServer.h => dom/bluetooth/common/BluetoothGattServer.h
rename : dom/bluetooth/bluetooth2/BluetoothGattService.cpp => dom/bluetooth/common/BluetoothGattService.cpp
rename : dom/bluetooth/bluetooth2/BluetoothGattService.h => dom/bluetooth/common/BluetoothGattService.h
rename : dom/bluetooth/bluetooth2/BluetoothLeDeviceEvent.cpp => dom/bluetooth/common/BluetoothLeDeviceEvent.cpp
rename : dom/bluetooth/bluetooth2/BluetoothLeDeviceEvent.h => dom/bluetooth/common/BluetoothLeDeviceEvent.h
rename : dom/bluetooth/bluetooth2/BluetoothManager.cpp => dom/bluetooth/common/BluetoothManager.cpp
rename : dom/bluetooth/bluetooth2/BluetoothManager.h => dom/bluetooth/common/BluetoothManager.h
rename : dom/bluetooth/bluetooth2/BluetoothPairingHandle.cpp => dom/bluetooth/common/BluetoothPairingHandle.cpp
rename : dom/bluetooth/bluetooth2/BluetoothPairingHandle.h => dom/bluetooth/common/BluetoothPairingHandle.h
rename : dom/bluetooth/bluetooth2/BluetoothPairingListener.cpp => dom/bluetooth/common/BluetoothPairingListener.cpp
rename : dom/bluetooth/bluetooth2/BluetoothPairingListener.h => dom/bluetooth/common/BluetoothPairingListener.h
rename : dom/bluetooth/bluetooth2/BluetoothProfileController.cpp => dom/bluetooth/common/BluetoothProfileController.cpp
rename : dom/bluetooth/bluetooth2/BluetoothProfileController.h => dom/bluetooth/common/BluetoothProfileController.h
rename : dom/bluetooth/bluetooth2/BluetoothReplyRunnable.cpp => dom/bluetooth/common/BluetoothReplyRunnable.cpp
rename : dom/bluetooth/bluetooth2/BluetoothReplyRunnable.h => dom/bluetooth/common/BluetoothReplyRunnable.h
rename : dom/bluetooth/bluetooth2/BluetoothService.cpp => dom/bluetooth/common/BluetoothService.cpp
rename : dom/bluetooth/bluetooth2/BluetoothService.h => dom/bluetooth/common/BluetoothService.h
2015-08-21 15:19:12 +08:00
Heiher
fc5e07a094
Bug 1194139 - IonMonkey: MIPS: Split shareable code to mips-shared in Architecture-mips32. r=nbp
2015-08-20 00:02:00 -04:00
Till Schneidereit
36af475fe5
Bug 1198193 - Change all functions taking CallArgs to take const CallArgs& instead. r=Waldo
...
--HG--
extra : rebase_source : b7cd505c80b34d33d98e336490b117792030d9d5
2015-08-27 21:18:37 +02:00
Steve Fink
675ab5a390
Bug 1198826 - Increment (plain) gcNumber on all GCs, r=terrence
...
--HG--
extra : rebase_source : 9e34a1f5483b60f86daf3d558e4266ac9423052f
extra : source : 36e15aafbec5ecb2fdc3c3e4f62e4840cd77b022
2015-08-26 09:44:24 -07:00
Steve Fink
3bb6400000
Bug 1198826 - Rename obj parameter to buffer to improve readability, r=terrence
...
--HG--
extra : rebase_source : e9f023d7aee403d326a5c816cb363e038b006a65
2015-08-26 09:42:38 -07:00
Nick Fitzgerald
6c1a43618e
Bug 1196634 - Part 4: Remove JS::ubi::Node::getCanonicalTypeName; r=sfink
2015-08-27 16:16:58 -07:00
Nick Fitzgerald
a621358f90
Bug 1196634 - Part 3: Use coarseType() instead of is<T> in census; r=sfink
2015-08-27 16:16:58 -07:00
Nick Fitzgerald
af148bc6a7
Bug 1196634 - Part 2: Serialize and deserialize coarseType; r=sfink
2015-08-27 16:16:58 -07:00
Nick Fitzgerald
ae6af42629
Bug 1196634 - Part 0: Define a JS::ubi::CoarseType enum; r=sfink
...
This commit defines the JS::ubi::CoarseType enum and a corresponding method
coarseType() on JS::ubi::Node base and concrete classes. It implements the
overrides for all concrete specializations whose referent does not belong to the
default Other type.
2015-08-27 16:16:57 -07:00
Eric Faust
6cf9ba3a66
Bug 1199172 - Only treat non-static constructor methods as the actual class constructor. (r=shu)
2015-08-27 15:27:07 -07:00
Nick Fitzgerald
791bfd6d0c
Bug 1198980 - Make JS::ubi::*::identifier be uint64_t instead of uintptr_t. r=sfink
2015-08-27 09:17:00 -04:00
Nick Fitzgerald
2f4cac96c2
Bug 1196631 - Make JS::ubi::Node::size return 1 by default. r=sfink
...
The old default was zero, but one is a better default in a couple ways: (1)
there are no zero-sized things in C++ so one is closer to the truth, and (2) it
gives us an idea of what magnitude of space is consumed by node specializations
which don't have a JS::ubi::Node::size override yet.
2015-08-27 06:03:00 -04:00
Brian Hackett
4222112c0a
Bug 1195545 - Add instruction reordering pass to IonMonkey, r=sunfish.
2015-08-27 10:33:34 -06:00
Brian Hackett
ddca0027ac
Bug 1196579, bug 1196587, bug 1196589 - Fix some unboxed array bugs, r=jandem.
2015-08-27 10:28:28 -06:00
Ryan VanderMeulen
4ff4f84ce2
Merge inbound to m-c. a=merge
2015-08-27 11:43:16 -04:00
Nick Fitzgerald
2b64f31c2d
Bug 1195866 - Make allocations log report whether an allocation was in the nursery; r=terrence
2015-08-27 04:35:23 -07:00
Hannes Verschore
41d87962b4
Bug 1198245 - IonMonkey: Lock helperthread before finishing ionbuilder, r=jandem
2015-08-26 10:57:35 +02:00
Yoshi Huang
e6070e9062
Bug 1165272 - Part 2: replace getNoAppCodebasePrincipal. r=bholley
2015-08-18 15:01:42 +08:00
Nick Fitzgerald
f64a2b8739
Bug 1197970 - Expose the GC cycle's number through Debugger.Memory's onGarbageCollection hook. r=sfink
2015-08-26 10:13:00 -04:00
Sean Stangl
f637436bfb
Bug 1195590 - Fix treating saved frame bit as part of the frame type. r=djvj
2015-08-24 11:50:04 -07:00
Nicolas B. Pierron
ae83cdb0e3
Bug 1190446 - Update Coverage information in Baseline. r=jandem
2015-08-26 20:48:05 +02:00
Nick Fitzgerald
a2b0c4594a
Bug 1139476 - Part 0: Add a takeCensus method to HeapSnapshot instances; r=sfink,bholley
2015-08-26 11:38:05 -07:00
Jan de Mooij
55cc983598
Bug 1183153 - Give generator function groups the correct builtin prototype. r=Waldo
2015-08-26 11:02:15 -04:00
Jon Coppeard
ed1d1f93d7
Bug 1198673 - Fix bug in parseModule() error handling r=jandem
2015-08-26 13:07:53 +01:00
Steve Fink
806aad159d
Bug 1198549 - Switch from | to $ as the preferred separator token (due to operator|), r=me
...
--HG--
extra : rebase_source : 1d79d52cca072e8c2011e8a956ca86676e04b7db
2015-08-25 13:48:20 -07:00
Eric Faust
4228187034
Bug 1198453 - Make ES7 Exponentiation operator nightly only. (r=jorendorff)
2015-08-25 16:51:12 -07:00
Eric Faust
84431602a4
Bug 1185961 - Properly install home object on methods in classes in lazy scripts. (r=shu)
2015-08-19 11:19:46 -07:00
Kannan Vijayan
49759dae26
Bug 1167409 - 4/4 - Inititalize ScriptSourceObject even when off-main-thread compilation fails. r=smaug
2015-08-25 17:52:27 -04:00
Hannes Verschore
e85595fc30
Backed out changeset 3a5257ac933d (bug 1198245) for SM failures.
2015-08-25 23:26:55 +02:00
Hannes Verschore
87d0cd5e89
Bug 1198245 - IonMonkey: Lock helperthread before finishing ionbuilder, r=jandem
2015-08-25 22:49:07 +02:00
Bobby Holley
edfe287f26
Backed out 3 changesets (bug 1165272) for b2g sanity blocker.
2015-08-25 11:16:21 -07:00
Jan de Mooij
b38b9f338b
Bug 889158 - Fix arrow function lexical arguments binding, allow rest + arguments. r=jorendorff
...
--HG--
rename : js/src/jit-test/tests/arguments/rest-disallow-arguments.js => js/src/jit-test/tests/arguments/rest-with-arguments.js
2015-08-25 19:37:09 +02:00
Terrence Cole
c44d4ebdcc
Bug 1196210 - Fix an incomplete assertion in the nursery; r=jonco
...
--HG--
extra : rebase_source : f76bdbf091ae70f2da9874fc16deeca1eb800bcf
2015-08-24 11:00:29 -07:00
Jon Coppeard
d55fa6061d
Bug 1198090 - Use AutoInitGCManagedObject when creating UnboxedLayout in TryConvertToUnboxedLayout() r=terrence
2015-08-25 17:01:43 +01:00
Nicolas B. Pierron
5c82cef2f8
Bug 1195263 - ARM: Instruction::extractCond asserts that the instruction has a condition flag. r=h4writer
2015-08-25 17:50:55 +02:00
Nicolas B. Pierron
05372316d7
Bug 1103108 part 4 - MIPS32: Remove unused ma_callJitNoPush. r=rankov
2015-08-25 17:50:55 +02:00
Nicolas B. Pierron
5c6fb611bc
Bug 1103108 part 3 - ARM: Replace single use ma_callJitNoPush by its implementation. r=h4writer
2015-08-25 17:50:54 +02:00
Nicolas B. Pierron
a9f05902cd
Bug 1103108 part 2 - MIPS32: Remove unused ma_callJit. r=rankov
2015-08-25 17:50:53 +02:00
Nicolas B. Pierron
bb647a226c
Bug 1103108 part 1 - ARM: Remove unused ma_callJit. r=h4writer
2015-08-25 17:50:52 +02:00
Brian Hackett
995d029037
Bug 1198252 - Watch for objects with mismatched shapes when combining the groups of their properties, r=jandem.
2015-08-25 09:08:41 -06:00
Brian Hackett
fdf2fa7cc0
Bug 1193213 - Remove unnecessary NativeObject casts, r=jorendorff.
2015-08-25 09:02:49 -06:00
Brian Hackett
9c51bf3b2f
Bug 1184388 - Don't try to reallocate inline elements buffer of unboxed arrays, r=jandem.
2015-08-25 08:41:50 -06:00
Jan de Mooij
a29424aea3
Bug 1195298 - Fix NewDenseArray intrinsic to work when the first argument is a double. r=till
2015-08-25 13:13:02 +02:00
Till Schneidereit
8614310b85
Bug 1070767 - Enable {Array, %TypedArray%}.prototype.includes in all builds. r=lth
2015-08-25 12:57:21 +02:00
Lars T Hansen
74bddf386f
Bug 1198145 - guard calls to getInst(). r=me
2015-08-25 10:43:35 +02:00
Hannes Verschore
c536b7f1e8
Bug 1196648: IonMonkey - Don't run the lazy link stub for asmjs to jit fastpath, r=nbp
2015-08-25 10:38:01 +02:00
Makoto Kato
f3ebef7d41
Bug 1197681 - Remove MOZ_NTDDI_WIN7 from configure.in. r=mshal
2015-08-25 16:52:08 +09:00
Lars T Hansen
4c70040653
Bug 1192786 - add forgotten ifdeffery on CLOSED TREE. r=me
2015-08-25 08:39:10 +02:00
Lars T Hansen
057fb5a15a
Bug 1192786 - support an installed printer, for profiling. r=nbp
2015-08-25 08:09:12 +02:00
Lars T Hansen
ed00523f8a
Bug 1192786 - Hook ARM disassembler into IONFLAGS=codegen machinery. r=nbp
2015-08-25 08:09:09 +02:00
Kan-Ru Chen
4a1f512a13
Backed out 8 changesets (bug 1123237) CLOSED TREE
...
Backed out changeset 64692c772052 (bug 1123237)
Backed out changeset ed0f3a0186ad (bug 1123237)
Backed out changeset 2ad3b7f12a66 (bug 1123237)
Backed out changeset d069c69c234b (bug 1123237)
Backed out changeset d2c543173155 (bug 1123237)
Backed out changeset 3b8fb02e68ff (bug 1123237)
Backed out changeset 1c97e19f2f5d (bug 1123237)
Backed out changeset a80502c372f1 (bug 1123237)
--HG--
extra : commitid : L05R6SBqcU9
2015-08-25 12:42:01 +08:00
Kan-Ru Chen
53e50383fe
Bug 1123237 - Part 5. Don't emit inline allocation when memory profiler enabled. r=terrence
...
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-08-25 12:06:41 +08:00
Kan-Ru Chen
95d1a2b19e
Bug 1123237 - Part 4. Monitoring allocations and frees for ArrayBuffer. r=terrence,sfink
...
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-08-25 12:05:53 +08:00
Kan-Ru Chen
3b6ee3a50b
Bug 1123237 - Part 3. Monitoring allocation and gc events in nursery and tenured heaps. r=terrence
...
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-08-25 12:05:52 +08:00
Kan-Ru Chen
f62780fc85
Bug 1123237 - Part 2. MemoryProfiler hooks in js engine. r=terrence
...
Based on patch from Ting-Yuan Huang <laszio.bugzilla@gmail.com>
2015-08-25 12:05:51 +08:00
Jeff Walden
9bb2991147
Bug 1196497 - Don't assert that the replacer continues to pass IsArray during JSON.stringify. (If the replacer was a revocable proxy to an array, revoking the proxy would make the replacer no longer IsArray.) r=evilpie
2015-08-21 21:09:07 -07:00
Jeff Walden
6796be71b7
Bug 1197097 - Don't use a context-wide cycle-detection mechanism for detecting cycles during JSON.stringify. This prevents nested (yet separate) JSON.stringify, and it causes that algorithm to be affected by specification-unrelated operations like toSource. r=jonco
...
--HG--
extra : rebase_source : 6a2f7174e79e4a52f77084e2a8d8172484422998
2015-08-21 03:59:28 -07:00
Brian Hackett
f1fc12d77b
Bug 1196590 - Don't assume that objects without shapes are unboxed plain objects, r=jandem.
2015-08-24 10:30:51 -06:00
Nick Fitzgerald
de13686cc6
Bug 1194424 - Part 3: Implement a concrete JS::ubi::StackFrame specialization backed by a frame deserialized from a core dump; r=sfink
2015-08-24 09:29:44 -07:00
Jon Coppeard
2da8d82c86
Bug 930414 - Fix base class initialization in ModuleBox constructor r=me on a CLOSED TREE
2015-08-24 17:14:50 +01:00
Jon Coppeard
f6a493a1b1
Bug 930414 - Hook up module environements, alising everything at top level for now r=shu
2015-08-24 15:58:36 +01:00
Jon Coppeard
381c692f63
Bug 930414 - Add module scopes, using ModuleObject as the static scope and ModuleEnvironementObject as the dynamic scope r=shu
2015-08-24 15:58:36 +01:00
Jon Coppeard
a920d4b2e6
Bug 930414 - Add module fields relating to exports r=shu
2015-08-24 15:58:36 +01:00
Jon Coppeard
a62f1f731f
Bug 930414 - Add module importEntries field r=shu
2015-08-24 15:58:35 +01:00
Jon Coppeard
5592c607f8
Bug 930414 - Add module requestedModules field r=shu
2015-08-24 15:58:35 +01:00
Jon Coppeard
f6b70ed745
Bug 930414 - Add initial bytecode emitter support for modules r=shu
2015-08-24 15:58:35 +01:00
Jon Coppeard
adf4b1ae87
Bug 930414 - Add ModuleObject and CompileModule() function r=shu
2015-08-24 15:58:35 +01:00
Hannes Verschore
c337c5963d
Bug 1195588: IonMonkey - Actually convert number to double during recovering ToDouble, r=nbp
...
@@ -1093,20 +1097,28 @@ MToDouble::writeRecoverData(CompactBuffe
}
RToDouble::RToDouble(CompactBufferReader& reader)
{ }
bool
RToDouble::recover(JSContext* cx, SnapshotIterator& iter) const
{
- Value v = iter.read();
+ RootedValue v(cx, iter.read());
+ RootedValue result(cx);
MOZ_ASSERT(!v.isObject());
- iter.storeInstructionResult(v);
+ MOZ_ASSERT(!v.isSymbol());
+
+ double dbl;
+ if (!ToNumber(cx, v, &dbl))
+ return false;
+
+ result.setDouble(dbl);
+ iter.storeInstructionResult(result);
return true;
}
bool
MToFloat32::writeRecoverData(CompactBufferWriter& writer) const
{
MOZ_ASSERT(canRecoverOnBailout());
writer.writeUnsigned(uint32_t(RInstruction::Recover_ToFloat32));
2015-08-21 17:40:04 +02:00
Yoshi Huang
de47f4b89f
Bug 1165272 - Part 2: Replace getNoAppCodebasePrincipal. r=bholley
2015-08-24 01:18:00 -04:00
Heiher
4f76199fb4
Bug 1197665- IonMonkey: MIPS32: Fix build failure caused by Bug 1169214. r=h4writer
2015-08-23 20:15:00 -04:00
Heiher
60d6f34e82
Bug 1197665 - IonMonkey: MIPS32: Fix build failure caused by Bug 1171945. r=h4writer
2015-08-24 00:58:00 -04:00
Ted Clancy
4ea6153280
Bug 1172609 - Part 5: Add js::ResetTimeZone() function. r=waldo, r=ted
2015-06-15 00:33:02 -07:00
Jon Coppeard
94185c580b
Bug 1195452 - Make UnboxedLayout::makeNativeGroup() handle OOM when propagating property types r=bhackett
2015-08-24 13:21:13 +01:00
Steve Fink
f94484fc9a
Bug 1196027 - check the actual current marking mode instead of the permanent intention, r=terrence
...
--HG--
extra : rebase_source : 1a2da1602094596a9b3f6f16c3eb6f511cff29b7
extra : amend_source : c130055fc3110874fef7661019d751a1448cbde3
extra : source : 9ca39133a30af07bb6b27d5742b2c5865caa3b31
2015-08-20 10:10:42 -07:00
Steve Fink
11107cfc02
Bug 1197377 - Read callgraph.txt line by line to avoid string size limits, r=terrence
...
--HG--
extra : rebase_source : b4871bc26ae32c6f93c0321910b19ff7658408d2
extra : amend_source : a9f287c617a613b53ff551263870b6ed5a003e84
extra : source : 452eaaf88ba8383dbe70b7f48e80ffcf5ebd4c6e
2015-08-21 14:19:04 -07:00
Brian Hackett
4cf7515fca
Bug 1184388 - Try to use uniform groups for multidimensional constant arrays and structures, r=jandem.
2015-08-21 16:19:27 -06:00
Steve Fink
e13bcc74b8
Bug 789594 - Implement DataView cloning, r=Waldo
...
--HG--
extra : commitid : 93XtQtgD0EJ
extra : rebase_source : 0ba61abb5262c30bb9506c392ac530ca79b942bf
2015-07-28 18:14:36 -07:00
Steve Fink
5d9fc0e800
Bug 789589 - Fix the ABO class hierarchy comment to be accurate, r=Waldo
...
--HG--
extra : commitid : Fcu1U4ww7I5
extra : rebase_source : 99f28cb8527888e47d4cdd37fc04c9aeff92348f
2015-07-28 18:13:16 -07:00
Steve Fink
713936e41b
Bug 789589 - Implement JS_NewDataView, r=Waldo
...
--HG--
extra : commitid : b5iH1lEe6N
extra : rebase_source : 81579a6e32a33acb08850dd7b8d6d3b900e02b3b
2015-07-24 13:05:01 -07:00
Jon Coppeard
8586708ac6
Bug 1191236 - Remove extract() methods used by operation forwarding on rooting types, r=terrence
...
--HG--
extra : rebase_source : 932019cdc060285425e70e7df7c278d0bbdfba5b
2015-08-05 02:38:00 -07:00
Steve Fink
baac342cae
Bug 1191236 - Fix UCS canonicalization, r=jonco
...
--HG--
extra : rebase_source : 5585e26c0de7c769f9e6a0565ae7e8575960f6d9
2015-08-17 17:05:45 -07:00
Steve Fink
aebf1a29a8
Bug 1196378 - Fix mismatched js_new/js_free in ShellPrincipals, r=fitzgen
...
--HG--
extra : rebase_source : 25da2c1181e1867ba94da07ac81e5a65a27cd978
2015-08-19 11:29:32 -07:00
Steve Fink
917fa3154c
Bug 1196378 - js_delete should accept a const pointer like builtin delete, r=fitzgen
...
--HG--
extra : rebase_source : 8fc0aa9b48d3fd8a0921fc9a9b920e6fd473226f
2015-08-19 10:59:50 -07:00
Brian Hackett
314bac7460
Bug 1176451 - Optimize Array.concat when used on different types of boxed vs. unboxed arrays, r=jandem.
2015-08-21 11:49:50 -06:00
Brian Hackett
035dacc9eb
Bug 1190733 - Test initializedLength() instead of length() during the fast path for reversing unboxed arrays, r=jandem.
2015-08-21 11:40:15 -06:00
Wes Kocher
32312efd4f
Backed out changeset 1bf4bafdb70e (bug 1195588) for breaking hazard builds CLOSED TREE
2015-08-21 08:59:36 -07:00
Hannes Verschore
99a4941325
Bug 1195588: IonMonkey - Actually convert number to double during recovering ToDouble, r=nbp
2015-08-21 17:40:04 +02:00
Heiher
9b82aabef6
Bug 1195163 - IonMonkey: MIPS32: Fix boolValueToDouble and boolValueToFloat32. r=rankov
...
--HG--
extra : rebase_source : 239a9bcf573f231cc0df80302e87f4a302f152e2
2015-08-16 20:13:00 -04:00
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