Commit Graph

39709 Commits

Author SHA1 Message Date
Benjamin Bouvier
8d1c0b939a Bug 1142668: Fix int32x4 to float32x4 conversion in asm.js; r=luke 2015-04-07 19:41:30 +02:00
Benjamin Bouvier
fa58e7e31e Bug 1142668: Fix int32x4 to float32x4 conversions in the JIT; r=sunfish 2015-04-23 12:12:41 +02:00
Benjamin Bouvier
6549fd4959 Bug 1135040: Optimize SIMD shifts in Ion; r=nbp 2015-04-07 20:01:24 +02:00
Benjamin Bouvier
2a8eb03e46 Bug 1112627: Remove redundant inline specifier in SIMD operators impl; r=Waldo 2015-02-17 12:01:30 +01:00
Benjamin Bouvier
69005c786d Bug 1112627: Throw on lossy SIMD conversions; r=Waldo 2015-04-21 15:27:27 +02:00
Benjamin Bouvier
21ecfad138 Bug 1112627: Implement shift count saturation; r=Waldo 2015-04-07 19:47:40 +02:00
Tooru Fujisawa
87be1f31f6 Bug 1153656 - Test class only if available in semicolon-less-return.js. r=efaust 2015-04-23 23:14:03 +09:00
Jan de Mooij
bfb27c97d1 Bug 1155946 part 1 - Add a mayResolve class hook to optimize objects with resolve hooks better. r=bhackett 2015-04-23 15:51:28 +02:00
Brian Hackett
7daeae824c Bug 1149498 - Watch for preliminary object groups in more places, r=jandem. 2015-04-23 07:42:55 -06:00
Benjamin Bouvier
0ec7c30736 Bug 1157628: Reformat spidermonkey source directory, again; r=jandem 2015-04-23 12:22:36 +02:00
Jon Coppeard
14afe613f8 Bug 1156295 - Refactor GC rooting in StructType::DefineInternal() r=terrence 2015-04-23 11:17:15 +01:00
Carsten "Tomcat" Book
c0eb5c1c2b Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2015-04-23 08:41:04 +02:00
Carsten "Tomcat" Book
150d4d1475 Backed out 19 changesets (bug 1149397, bug 1065657, bug 1024774) for fixing Linux PGO xpcshell bustage on a CLOSED TREE
Backed out changeset 53058615e7a3 (bug 1024774)
Backed out changeset 68fe0894bb09 (bug 1065657)
Backed out changeset 1b9620d674df (bug 1024774)
Backed out changeset a31c514b59da (bug 1024774)
Backed out changeset 0fcf8757f6c2 (bug 1024774)
Backed out changeset 9a3c71b925d4 (bug 1024774)
Backed out changeset 783acc92af04 (bug 1024774)
Backed out changeset ad71c9a3446b (bug 1024774)
Backed out changeset 4f37e72e70f6 (bug 1024774)
Backed out changeset ec869578cc0a (bug 1024774)
Backed out changeset 3c1d306c8a3d (bug 1024774)
Backed out changeset b3a90f30892d (bug 1024774)
Backed out changeset cf7bbb3774c0 (bug 1024774)
Backed out changeset 2522eb4d3cf2 (bug 1024774)
Backed out changeset 89a502d88f9c (bug 1024774)
Backed out changeset 61046ad3161f (bug 1024774)
Backed out changeset 36706aaa2f06 (bug 1024774)
Backed out changeset ba8e68e05149 (bug 1149397)
Backed out changeset 532169437c2f (bug 1065657)
2015-04-23 08:37:24 +02:00
Tooru Fujisawa
7ff8eb6ebe Bug 891107 - Part 3: Report argument type error as TypeError in js-ctypes. r=jorendorff 2015-04-23 13:41:31 +09:00
Tooru Fujisawa
e41543271c Bug 891107 - Part 2: Report argument length error as TypeError in js-ctypes. r=jorendorff 2015-04-23 13:41:27 +09:00
Tooru Fujisawa
655e4be011 Bug 891107 - Part 1: Show information about value, type, function, and argument number in type conversion error messages in js-ctypes. r=jorendorff 2015-04-23 13:41:10 +09:00
Dan Gohman
87d5a3b2fd Bug 1150337 - OdinMonkey: Optimize the full range of immediate offsets on x64. r=luke 2015-04-22 21:08:15 -07:00
L. David Baron
9c2c51b7f1 Back out changeset 1ae18f4c151f (bug 944164) for not compiling on Windows XP, on a CLOSED TREE. 2015-04-22 21:04:38 -07:00
Nick Fitzgerald
0ab398e1f3 Bug 1065657 - Follow up: remove bad friend declaration that leads to GCC warnings and burnt trees on a CLOSED TREE; r=tromey 2015-04-22 11:38:09 -07:00
Nick Fitzgerald
266df19429 Bug 1024774 - Part 14: Ignore protobuf indirect calls in the GC hazard analysis;
r=sfink
2015-04-22 11:09:55 -07:00
Nick Fitzgerald
d6fab00041 Bug 1024774 - Part 13: Change to new SpiderMonkey style from bug 1144366; r=me 2015-04-22 11:09:55 -07:00
Nick Fitzgerald
fecaadc68d Bug 1024774 - Part 11: Implement a JS::ubi::Node specialization for DeserializedNode; r=jimb 2015-04-22 11:09:54 -07:00
Nick Fitzgerald
3d752dd19f Bug 1024774 - Part 8: Add JS::ubi::Node::isLive; r=jimb 2015-04-22 11:09:54 -07:00
Nick Fitzgerald
e797802e4e Bug 1024774 - Part 3: Serialize heap snapshots. r=jimb 2015-04-22 11:09:54 -07:00
Nick Fitzgerald
1139958cb1 Bug 1149397 - JS::ubi::Node::edges should return a mozilla::UniquePtr; r=jimb 2015-04-22 11:09:53 -07:00
Nick Fitzgerald
d063665a29 Bug 1065657 - Allow multiple Debuggers to track allocations at the same time; r=shu 2015-04-22 09:49:07 -07:00
Nick Fitzgerald
6cc189d07d Bug 1150253 - Part 3: Migrate onGarbageCollection tests; r=sfink 2015-04-22 09:43:02 -07:00
Nick Fitzgerald
5f39b84c47 Bug 1150253 - Part 1: SpiderMonkey should call an embedder-provided callback
instead of running the onGarbageCollection hook immediately; r=sfink
2015-04-22 09:43:02 -07:00
Nick Fitzgerald
49a806f3bb Bug 1153922 - Add a SandboxOptions option for creating the sandbox in a fresh JS::Zone. r=mrbkap 2015-04-13 14:25:00 -04:00
Aleksandar Zlicic
2768d83bf3 Bug 1156365 - IonMonkey MIPS: Fix build failure on MIPS; rename Registers::code() to Registers::Encoding(). r=rankov 2015-04-20 18:58:34 +02:00
Jason Orendorff
f75948f6ee Bug 1143921 - Fix crash in Debugger.defineProperty when the descriptor contains {get: undefined}. r=efaust. 2015-04-13 13:48:04 -05:00
Jason Orendorff
f0432ce981 Bug 1151957 - Rewrite GDB extension for ignoring asm.js segmentation faults in Python, fixing some bugs and bringing it under test. r=jimb.
The GDB code being rewritten here did not work for users who build with -ggdb3
on Linux, because sa_handler is a macro; see bug 1151957 comment 1. Also, it
caused GDB to perform an invalid free in the JS shell debuggee process, on
startup, if the previous run received SIGSEGV.
2015-04-13 12:46:22 -05:00
Jason Orendorff
735d6acedb Bug 1153970 - Change js/src/gdb/run-tests.py to take an OBJDIR argument instead of a LIBDIR argument, since jorendorff can never guess which directory to pass for LIBDIR in fewer than six tries. r=jimb. 2015-04-13 11:36:36 -05:00
Tooru Fujisawa
14d36392a4 Bug 1155985 - Set FieldInto::mType just before storing to reserved slot. r=jonco, a=abillings 2015-04-22 23:59:01 +09:00
Tooru Fujisawa
19bb1f6a78 Backed out changeset 7eee0cdd0feb (bug 1155985) for xpcshell-test failure 2015-04-22 20:08:25 +09:00
Tooru Fujisawa
d958c4556d Backed out changeset b2b956ba0acd (bug 891107) for xpcshell-test failure 2015-04-22 20:08:23 +09:00
Tooru Fujisawa
4290d2b814 Backed out changeset 951ec7d134c2 (bug 891107) for xpcshell-test failure 2015-04-22 20:08:21 +09:00
Tooru Fujisawa
325d353b6e Backed out changeset 467559ddc08f (bug 891107) for xpcshell-test failure 2015-04-22 20:08:19 +09:00
Jan de Mooij
0f0dffb24e Bug 1156886 - Optimize toLowerCase and toUpperCase on ASCII characters. r=luke 2015-04-22 11:30:47 +02:00
Tooru Fujisawa
d50a6635d4 Bug 891107 - Part 3: Report argument type error as TypeError in js-ctypes. r=jorendorff 2015-04-22 18:26:14 +09:00
Tooru Fujisawa
bb9df65329 Bug 891107 - Part 2: Report argument length error as TypeError in js-ctypes. r=jorendorff 2015-04-22 18:26:14 +09:00
Tooru Fujisawa
e4a6c8aa21 Bug 891107 - Part 1: Show information about value, type, function, and argument number in type conversion error messages in js-ctypes. r=jorendorff 2015-04-22 18:26:13 +09:00
Tooru Fujisawa
288adf212a Bug 1155985 - Set FieldInto::mType just before storing to reserved slot. r=jonco, a=abillings 2015-04-22 18:26:13 +09:00
Andrea Marchesini
a4a3ae486f Bug 1156632 - Remove unused forward class declarations - patch 7 - JS, r=sfink 2015-04-22 08:29:26 +02:00
Jason Orendorff
3669ae6d31 Bug 1153475 - Always ignore desc.object() in DefineProperty functions that take a PropertyDescriptor argument. r=efaust. 2015-03-23 14:32:33 -05:00
Jason Orendorff
3d5bd7887c Bug 1148750, part 17 - Remove ApplyOrDefaultAttributes. r=efaust.
At this point, each path through the code completely fills in desc, so the final call to ApplyOrDefaultAttributes is redundant. Note that AddOrChangeProperty begins with `desc.assertComplete()`, so we'll find out soon enough if this is not the case.
2015-04-03 09:00:21 -05:00
Jason Orendorff
ced0ca97ed Bug 1148750, part 16 - Implement ValidateAndApplyPropertyDescriptor step 9 (redefining an existing accessor property). Remove CheckAccessorRedefinition. r=efaust. 2015-04-09 15:27:09 -05:00
Jason Orendorff
9b268c792c Bug 1148750, part 15 - Stop retaining getter and setter ops when redefining a data property. r=efaust.
StandardDefineProperty already does this. In short, redefining a magical data property like array.length or an arguments element should make it nonmagical.

In fact, it is an engine invariant that Shapes have either both JSPROP_GETTER and JSPROP_SETTER or neither: they never have e.g. a setter object and a getter op. As of recently the GC depends on this. So this change is necessary for memory safety.
2015-04-03 12:58:50 -05:00
Jason Orendorff
4bfe6cdf2b Bug 1148750, part 14 - Reject redefining a non-writable non-configurable data property to have a different value. r=efaust. 2015-04-03 16:25:12 -05:00
Jason Orendorff
2f9a24b3c7 Bug 1148750, part 13 - Simplify code to fill in desc.writable, if not present, from the existing shape. r=efaust. 2015-04-09 16:30:13 -05:00