Commit Graph

313 Commits

Author SHA1 Message Date
Nicolas B. Pierron
ae3d9f1bc5 Bug 1147403 part 1 - Move Sprinter into its own header and add a FILE & LifoAlloc variants. r=h4writer 2015-05-28 19:26:54 +02:00
Ryan VanderMeulen
c201c0ee8d Backed out 8 changesets (bug 1147403) for debug asserts on a CLOSED TREE.
Backed out changeset a1018d31e591 (bug 1147403)
Backed out changeset fdb1dcf35e04 (bug 1147403)
Backed out changeset 66ab1f789052 (bug 1147403)
Backed out changeset 8ee01e148887 (bug 1147403)
Backed out changeset 615c601284e3 (bug 1147403)
Backed out changeset d7a4b4c31c94 (bug 1147403)
Backed out changeset b1abceaf0f6e (bug 1147403)
Backed out changeset 443b1a2a084f (bug 1147403)
2015-05-15 15:28:48 -04:00
Nicolas B. Pierron
92577bcfef Bug 1147403 part 1 - Move Sprinter into its own header and add a FILE & LifoAlloc variants. r=h4writer 2015-05-15 20:19:01 +02:00
Jan de Mooij
c6ef7ba840 Bug 1147216 part 1 - Give JSOP_LINENO a 4-byte instead of 2-byte operand. r=luke 2015-04-10 11:38:50 +02:00
Eric Faust
5b56b09744 Bug 1147581 - Remove the now defunct TMPSLOT mechanism. (r=jorendorff) 2015-03-30 15:29:16 -07:00
Jan de Mooij
c6596c5fa8 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 23:22:11 +01:00
Phil Ringnalda
1a1c158706 Backed out changeset 0c030f97a04f (bug 1144366) for being on top of patches being backed out
CLOSED TREE
2015-03-28 10:39:56 -07:00
Jan de Mooij
369ef1b850 Bug 1144366 - Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff 2015-03-28 12:08:37 +01:00
Benjamin Bouvier
ffa763022c Bug 1140317: Make sure chars created by DecompileValueGenerator won't ever leak; r=Waldo 2015-03-10 19:34:00 +01:00
Jan de Mooij
a3c48deed7 Bug 1137523 part 2 - Unprefix a few js_* functions I forgot in part 1. r=bhackett 2015-03-03 09:33:22 +01:00
Jan de Mooij
b3f1ff13a2 Bug 1137523 - Unprefix most js_* functions. r=bhackett CLOSED TREE 2015-02-27 16:08:15 +01:00
Rahul
6b3e028375 Bug 1093668 - Cleanup jsopcode.h. r=jandem 2015-01-14 10:05:46 +01:00
Eric Faust
46612529af Bug 1101905 - Part 9: Use opcode strictness in ErrorReporter instead of the script. (r=Waldo) 2014-11-26 14:42:53 -08:00
Eric Faust
b42bd43ab9 Bug 1101905 - Part 8: Add strict variants of JSOP_EVAL and JSOP_SPREADEVAL. (r=Waldo) 2014-11-26 14:42:53 -08:00
Eric Faust
2821892b3a Bug 1101905 - Part 5: Add strict variant of JSOP_SETELEM. (r=Waldo) 2014-11-26 14:42:52 -08:00
Eric Faust
c5ae857064 Bug 1101905 - Part 4: Add strict variant of JSOP_SETGNAME. (r=Waldo) 2014-11-26 14:42:52 -08:00
Eric Faust
e873594fc4 Bug 1101905 - Part 3: Add strict variant of JSOP_SETNAME. (r=Waldo) 2014-11-26 14:42:52 -08:00
Eric Faust
c1bccb9264 Bug 1101905 - Part 2: Add strict variant of JSOP_SETPROP. (r=Waldo) 2014-11-26 14:42:52 -08:00
Eric Faust
16d8e71832 Bug 1101905 - Part 0: Add general machinery for testing strict opcodes. (r=Waldo) 2014-11-26 14:42:51 -08:00
Jan de Mooij
3e10bb7340 Bug 1093573 part 1 - Some generator bytecode changes. r=wingo 2014-11-06 10:12:56 +01:00
Nicholas Nethercote
44c1f066f5 Bug 588522 - Remove JSOP_ENDINIT. r=jorendorff. 2014-10-27 15:37:48 -07:00
Jan de Mooij
2ff41ee575 Bug 987560 - Greatly refactor generator implementation. Patch mostly written by Andy Wingo. r=wingo 2014-10-17 10:19:40 +02:00
Nicolas B. Pierron
9d5a7dcd11 Bug 1074911 - Replace JS_ASSERT_IF by MOZ_ASSERT_IF. r=jorendorff
Apply the following script

sed -i '
   /JS_ASSERT_IF(/ {
     s/JS_ASSERT_IF(/MOZ_ASSERT_IF(/;
     :b;
     s/ \\$/\\/;
     /;/ { p; d; };
     n;
     s/^/ /;
     b b;
  };
  s/JS_ASSERT_IF (/MOZ_ASSERT_IF(/;
'
2014-10-01 19:17:53 +02:00
Nicolas B. Pierron
cb753ff627 Bug 1074911 - Replace JS_ASSERT by MOZ_ASSERT. r=jorendorff
Apply the following script

sed -i '
   /JS_ASSERT(/ {
     s/JS_ASSERT(/MOZ_ASSERT(/;
     :b;
     s/ \\$/\\/;
     /;/ { p; d; };
     n;
     s/^/ /;
     b b;
  };
  s/JS_ASSERT (/MOZ_ASSERT(/;
'

Except where the JS_ASSERT macro does not end with a semi-colon, where empty
lines are in the middle of the macro, and where the backslahes are always the
same-length after the expression.
2014-10-01 19:17:51 +02:00
Tom Schuster
27edac60d0 Bug 1069694 - Remove or move around functions in OldDebugAPI. r=shu 2014-09-23 15:25:31 +02:00
Chris Peterson
def5e6780e Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Brian Hackett
f280459107 Bug 1042833 - Remove JS_ION #ifdef, r=jandem. 2014-07-29 12:51:40 -08:00
Chris Peterson
2ff2fed875 Bug 1036782 - Replace MOZ_ASSUME_UNREACHABLE with MOZ_CRASH in js/src. r=jorendorff 2014-07-14 19:14:54 -07:00
Andy Wingo
b26fe0875f Bug 980263 - Part 1: Disable Ion OSR for loops nested in expressions r=jandem 2014-03-07 08:44:38 +01:00
Chris Peterson
8fd820ee68 Bug 964016 - Part 4: Replace JS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE. r=luke 2014-01-24 20:14:56 -08:00
Jeff Walden
370c6c77e2 Bug 963434 - Remove jsopcode.tbl and jsoplengen.cpp in favor of a higher-order macro, and make JSOP_*_LENGTH into C++ constant variables. This will make the build process simpler, and it likely eliminates a needs-CLOBBER situation encountered while landing bug 948583. Particular thanks to r=jorendorff for the fast review here (given any change at all to jsopcode.tbl would bitrot this), DONTBUILD because already landed with wrong bug number 2014-01-24 13:21:09 -08:00
Jeff Walden
ba61aab50b Backed out changeset fe06fb5e10a7, wrong bug number. 2014-01-24 15:00:52 -08:00
Jeff Walden
0ee9daa725 Bug 963634 - Remove jsopcode.tbl and jsoplengen.cpp in favor of a higher-order macro, and make JSOP_*_LENGTH into C++ constant variables. This will make the build process simpler, and it likely eliminates a needs-CLOBBER situation encountered while landing bug 948583. Particular thanks to r=jorendorff for the fast review here (given any change at all to jsopcode.tbl would bitrot this) 2014-01-24 13:21:09 -08:00
Luke Wagner
65573795fa Bug 916564 - Expand source notes to hold 31-bit offsets (r=jorendorff) 2014-01-17 17:40:41 -06:00
Luke Wagner
add62f81b0 Bug 916612 - Increase maximum number of local variables to 2^28 (r=wingo) 2014-01-16 12:41:46 -06:00
Luke Wagner
5386014d25 Bug 916612 - Move the too-many args+vars checks (r=wingo) 2014-01-16 11:02:01 -06:00
Luke Wagner
e9a7ff2265 Bug 916612 - Inflate the slot width and decrease the hop width in UpvarCookie/ScopeCoordinate (r=wingo) 2014-01-16 10:56:53 -06:00
Luke Wagner
ca731e8c00 Bug 916612 - rm some unused JOF_* bits (r=wingo) 2014-01-16 10:23:19 -06:00
Andy Wingo
95ff61a107 Bug 927782 - Part 1: Expose JSScript::getBlockScope(jsbytecode *). r=luke 2013-12-06 17:56:20 +01:00
Christian Holler
d76f69fcf3 Bug 948023 - Refactor ReconstructStackDepth to handle OOMs. r=jandem 2013-12-10 12:27:21 +01:00
Brian Hackett
7eb925bda7 Bug 944930 - Remove block index from aliasedvar ops, use a binary search to find the block chain for a given pc, r=luke. 2013-12-07 11:03:07 -08:00
Brian Hackett
55d9a681a3 Bug 944946 - Use accessor methods for script->code and script->length, r=jandem. 2013-12-03 08:17:50 -08:00
Andy Wingo
143aca9fd2 Bug 937058 - Paper over debug-mode checks of stack depth for unreachable bytecode. r=jandem 2013-11-11 16:21:20 +01:00
Hannes Verschore
912b638487 Bug 932757 - Remove JSOP_POPV and JSOP_STOP, r=jorendorff 2013-11-04 15:33:15 +01:00
Nathan Froyd
a78625bd98 Bug 925807 - define JS_BITS_PER_WORD in terms of JS_64BIT; r=njn 2013-10-11 15:11:48 -04:00
Birunthan Mohanathas
bf37ff36cc Bug 784739 - Switch from NULL to nullptr in js/src/ (6/9); r=ehsan 2013-10-07 12:44:00 -04:00
Dan Gohman
5454b65dd5 Bug 916681 - SpiderMonkey: Remove obsolete mjit counters. r=luke 2013-09-17 15:44:43 -07:00
Brian Hackett
4609048935 Bug 906371 - Use off thread JS parsing when loading async scripts, r=bz,billm. 2013-09-11 17:42:09 -06:00
Kannan Vijayan
532af6a9f4 Bug 913978 - Fix over-tight assertions after enabling Baseline getter/setter calls for GETELEM/SETELEM ops. r=efaust 2013-09-10 12:26:47 -04:00
Nicholas Nethercote
95dfa9b36e Bug 912411 (part 3) - Remove lots of jsapi.h includes in SpiderMonkey. r=luke. 2013-09-05 16:08:57 -07:00