Commit Graph
1012 Commits
Author SHA1 Message Date
Tom Tromey 6a09f7d550 Bug 1360152 - null-check correct value in ToDisassemblySource; r=froydnj
MozReview-Commit-ID: 3HR4ZofDlyW
2017-04-27 07:29:09 -06:00
Tom Tromey 134358e46e Bug 1334278 - change JS_smprintf to return UniqueChars; r=froydnj
This changes JS_smprintf to return UniqueChars, rather than relying on
manual memory management.

MozReview-Commit-ID: ENjQJODYdD1
2017-03-03 15:10:11 -07:00
Tooru Fujisawa c9c458b8a6 Bug 1331092 - Part 10: Support JSOP_TOASYNCGEN, JSOP_TOASYNCITER, and JSOP_AWAIT in decompiler. r=shu 2017-03-27 23:20:20 +09:00
Tooru Fujisawa b072f306bc Bug 1344477 - Part 1: Add JSOP_CALL_IGNORES_RV for function call that ignores return value. r=jandem 2017-03-05 03:17:22 +09:00
Tooru Fujisawa 3f28ff1d1c Bug 1343245 - Handle the case that trying to decompile a value pushed by current bytecode. r=jandem 2017-03-04 17:54:56 +09:00
Tom Tromey 8a2f16c8db Bug 1343292 - change return types in GenericPrinter; r=nbp
MozReview-Commit-ID: 1GJYujhrWj7
2017-02-28 14:18:40 -07:00
Tom Tromey 46e1f2ceaa Bug 1343265 - fix typo in DumpJumpOrigins; r=nbp
MozReview-Commit-ID: 6NDW9kUVZGV
2017-02-28 10:07:44 -07:00
Tooru Fujisawa a30c2690b6 Bug 1322019 - Part 6: Decompole NEWARRAY+INITELEM_ARRAY/INITELEM_INC to [...]. r=nbp 2017-02-27 20:02:56 +09:00
Tooru Fujisawa a71958534f Bug 1322019 - Part 5: Print stack transition in dis() function output. r=nbp 2017-02-27 20:02:56 +09:00
Tooru Fujisawa 24c07ea70d Bug 1322019 - Part 4: Remove unnecessary if in BytecodeParser::simulateOp. r=nbp 2017-02-27 20:02:55 +09:00
Tooru Fujisawa ea50e8a2d9 Bug 1322019 - Part 3: Reflect the case that stack values are kept instead of newly pushed in BytecodeParser::simulateOp. r=nbp 2017-02-27 20:02:55 +09:00
Tooru Fujisawa e4bc95c4d2 Bug 1322019 - Part 2: Decompile more opcodes. r=nbp 2017-02-27 20:02:55 +09:00
Tooru Fujisawa 2459ec70a3 Bug 1322019 - Part 1: Put unary operator inside parens in expression decompilation. r=nbp 2017-02-27 20:02:55 +09:00
Tooru Fujisawa de88f2058a Bug 1340589 - Use JSScript::mainOffset() while checking JSTRY_CATCH in dis() output. r=luke 2017-02-18 07:59:58 +09:00
Brian Hackett 540d01ab7d Bug 1336603 - Move PCCounts state from ZoneGroup back to the runtime, r=jandem. 2017-02-03 15:13:29 -07:00
Brian Hackett bb30557e05 Bug 1325050 - Structure reorganization for multithreaded runtimes, r=jandem,jonco,h4writer,luke,lhansen,nbp. 2017-02-02 12:12:43 -07:00
Shu-yu Guo d0c067c4a6 Bug 1147371 - Always decompile argument names in self-hosted code in the caller frame. (r=arai) 2017-01-14 14:51:39 -08:00
Shu-yu Guo 1639e4b2cc Bug 1147371 - Implement JSOP_PICK and JSOP_UNPICK in the expression decompiler. (r=arai) 2017-01-14 14:51:39 -08:00
Tooru Fujisawa 359bc07065 Bug 1320408 - Part 2: Change JSFunction::getOrCreateScript to static method. r=jandem 2016-11-28 12:29:17 +09:00
Jan de Mooij 1bb9cbddc1 Bug 1099054 - Fix bogus error messages caused by the decompiler falling back to the current pc. r=nbp 2016-11-11 12:52:33 +01:00
Benjamin Bouvier 2b66f9d462 Bug 1304672: Renamings outside asmjs/ and jit/; r=luke
MozReview-Commit-ID: 1LGFJMlHaz2
2016-11-02 18:22:37 +01:00
Emilio Cobos Álvarez 6257a64e47 Bug 1304638 - Remove redundant call to offsetForStackOperand. r=nbp
No state changes between the first and second call.

MozReview-Commit-ID: 38FooLQnn9b
Signed-off-by: Emilio Cobos Álvarez <[email protected]>
2016-10-27 17:40:12 +02:00
Emilio Cobos Álvarez 8cf3a97c01 Bug 1304638 - Don't return "(intermediate value)" while decompiling SETELEM/STRICTSETELEM. r=nbp
This caused us to go to the fallback, and call `ValueToSource` to set the
message exception[1].

[1]: http://searchfox.org/mozilla-central/rev/c635b8c61d648bb8a0317c19f8905b3be8132a8a/js/src/jsopcode.cpp#1536

MozReview-Commit-ID: J7tfxoDnUUr
Signed-off-by: Emilio Cobos Álvarez <[email protected]>
2016-10-27 17:40:09 +02:00
Tom Tromey fad2c810d6 Bug 553032 - use MOZ_FORMAT_PRINTF in js; r=evilpie
MozReview-Commit-ID: DD3DJRkOxmC
2016-10-11 12:44:40 -06:00
Sebastian Hengst ac4e31ada2 Backed out changeset 2bfd163f23f9 (bug 553032) 2016-10-19 18:29:36 +02:00
Tom Tromey 371584f1db Bug 553032 - use MOZ_FORMAT_PRINTF in js; r=evilpie
MozReview-Commit-ID: DD3DJRkOxmC
2016-10-11 12:44:40 -06:00
André Bargull e75d0a6172 Bug 1198377 - Move Map/Set constructor initialization to self-hosted code. r=till 2016-10-12 12:41:58 -07:00
Tooru Fujisawa bfb2734f9d Bug 1290337 - Part 3: Replace Value parameter to const Value& in simple case. r=shu 2016-09-11 18:15:22 +09:00
Tooru Fujisawa a0fab7f564 Bug 1289050 - Part 8: Use ASCII or UTF8 variant of JS_ReportErrorNumber in non-simple cases. r=jwalden 2016-08-15 23:05:04 +09:00
Tooru Fujisawa 62bfd3045f Bug 1289050 - Part 6: Use ASCII variant of JS_ReportErrorNumber in simple case. r=jwalden 2016-08-14 20:39:29 +09:00
Jeff Walden 6e387608fa Bug 1269722 - Remove the standalone Sprint function that almost no one error-checks in favor of a member function, and error-check every use of it. r=jandem 2016-09-23 19:20:31 -07:00
Shu-yu Guo 88b1be5dd7 Bug 1298570 - Check result of getArg when decompiling. (r=efaust) 2016-09-02 15:30:48 -07:00
Shu-yu Guo 45f2e559d8 Bug 1263355 - Rewrite the frontend: bindings. (r=jorendorff,Waldo) 2016-08-25 01:28:47 -07:00
Igor 9c81c3c1ee Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj 2016-08-14 23:43:21 -07:00
Igor 972b8460e2 Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
Tooru Fujisawa 80181933d3 Bug 1016936 - Part 1: Throw if the value returned by iterator.next() is not an object. r=jorendorff 2016-08-10 22:26:07 +09:00
Tom Schuster a671ff049e Bug 1251364 - Use more snprintf_literal in the JS engine. r=terrence 2016-08-03 14:37:31 +02:00
Tom Schuster 06d7ecd3ec Bug 1251364 - Remove our custom printf implementation (jsprf.cpp). r=tromey 2016-08-02 22:16:15 +02:00
Jinank Jain 6a4ef2e0cd Bug 1284441 - Remove unnecessary cast from ExpressionDecompiler::decompilePC. r=arai 2016-07-21 18:12:49 -04:00
Jan de Mooij 7c3e2f8f9a Bug 1283855 part 28 - Make more GC APIs take JSContext instead of JSRuntime. r=terrence 2016-07-07 09:56:09 +02:00
Jan de Mooij cab9119076 Bug 1281529 part 9 - Move JSRuntime caches into a new ContextCaches class. r=jorendorff 2016-07-02 13:45:10 +02:00
Steve Fink 60620f5637 Bug 1277690 - Implement Cell::dump, and make (mostly) all dumpers accept a FILE*, r=jonco
MozReview-Commit-ID: 2tVz1Upt9lB
2016-06-02 14:41:58 -07:00
Steve Fink 2c57c597b3 Bug 1259850 - Make ZoneCellIter variants to communicate nogc to the hazard analysis, r=jonco
Also create accessors on gc::Zone for a nicer API to ZoneCellIters.

MozReview-Commit-ID: AxRTTUfWrND
2016-05-27 22:00:10 -07:00
Wes Kocher c88dabf186 Backed out 22 changesets (bug 1259850) for GC crashes in various tests CLOSED TREE
Backed out changeset ef5cdcca45d9 (bug 1259850)
Backed out changeset c95bdd426ced (bug 1259850)
Backed out changeset a73f74f718e7 (bug 1259850)
Backed out changeset 95107c3ad9cf (bug 1259850)
Backed out changeset 788ac18818c9 (bug 1259850)
Backed out changeset 19c13aa9b5ad (bug 1259850)
Backed out changeset 0b9dedcf7163 (bug 1259850)
Backed out changeset b641d01138ab (bug 1259850)
Backed out changeset aa434447a11b (bug 1259850)
Backed out changeset 4c7373c6c29e (bug 1259850)
Backed out changeset 457cb29cad55 (bug 1259850)
Backed out changeset 5762a8fba027 (bug 1259850)
Backed out changeset 129559d4ac62 (bug 1259850)
Backed out changeset d00b9c8a7984 (bug 1259850)
Backed out changeset 266befcb8acd (bug 1259850)
Backed out changeset c6615c7b0083 (bug 1259850)
Backed out changeset 196ac1f813f9 (bug 1259850)
Backed out changeset b6108a65dc38 (bug 1259850)
Backed out changeset 0d58f8529b86 (bug 1259850)
Backed out changeset a8d2730ada95 (bug 1259850)
Backed out changeset e8544b072ee6 (bug 1259850)
Backed out changeset 15de0d1d0b05 (bug 1259850)
2016-05-31 11:15:41 -07:00
Steve Fink 3a9d869d85 Bug 1259850 - Make ZoneCellIter variants to communicate nogc to the hazard analysis, r=jonco
Also create accessors on gc::Zone for a nicer API to ZoneCellIters.

MozReview-Commit-ID: AxRTTUfWrND
2016-05-27 22:00:10 -07:00
Jan de Mooij 3394c9604e Bug 979730 part 1 - Remove frame iterator SavedOption. r=luke 2016-05-27 17:57:14 +02:00
Jan de Mooij f9d6e9de50 Bug 1274193 part 6 - Use GO_THROUGH_SAVED for the expression decompiler. r=jorendorff 2016-05-24 14:31:45 +02:00
Jan de Mooij 8f620dcf1a Bug 1274193 part 3 - Use GO_THROUGH_SAVED when we know there's no saved frame boundary. r=luke 2016-05-24 07:51:28 +02:00
Jan de Mooij 95f3bddee0 Bug 1274193 part 1 - Pass SavedOption explicitly to frame iterators. r=luke 2016-05-24 07:50:13 +02:00
Nicolas B. Pierron cf90516469 Bug 1261826 part 8 - Add JSOP_JUMPTARGET opcode. r=jandem,jorendorff,shu 2016-05-17 17:15:52 +00:00