gecko-dev/js
Matthew Gaudet de66ce97bf Bug 1499544 - [Part 1] Foundational implementation of BytecodeIterator r=djvj
This is an initial skeleton of an inteface for bytecode. There are 6
major portions included in this patch.

- RawBytecode: A typedef to expose jsbytecode* in a controlled manner, to allow
  easy future audits.

- BytecodeLocation: This is an immutable view of a single program operation (a
  bytecode). There is is some basic functionality in here included for
  experimentation sake.

- BytecodeLocationOffset: An immutable view of a source location offset, (and
  RawBytecodeLocationOffset, another typedef to ease future auditing)

- BytecodeIterator: A forward iterator over BytecodeLocations, using program
  text order.

- AllBytecodeIterable: A wrapper class that allows the use of a range-based
  for-loop over BytecodeLocations in a Script.

- Modifications to JSScript to expose BytecodeLocations and answer some queries
  about containment.

The interface is experimentally tested using JSScript::initScriptCounts as a
simple playground for demonstrating the use of the interface.

Differential Revision: https://phabricator.services.mozilla.com/D8918

--HG--
extra : rebase_source : 3d103ab8bc8cdcd48bc32779e38fbde35422e8f0
2018-10-16 15:43:37 -04:00
..
ductwork/debugger Bug 1489147 - Remove the XPCOM component registration for nsXPConnect; r=mccr8 2018-09-06 16:39:35 -04:00
examples
ipc Bug 1490632 - Always use braces for if/for/while statements in js/ipc. r=evilpie 2018-09-12 20:04:14 +00:00
public Backed out changeset bee1c344cb47 (bug 1491909) for failures in browser/components/extensions/test/xpcshell/test_ext_geckoProfiler_control.js 2018-10-24 04:23:13 +03:00
rust Bug 1500849 - Update bindgen. r=heycam,bbouvier 2018-10-22 13:20:01 +02:00
src Bug 1499544 - [Part 1] Foundational implementation of BytecodeIterator r=djvj 2018-10-16 15:43:37 -04:00
xpconnect Bug 1499865 - Make loadedModules and loadedComponents into array attributes. r=kmag 2018-10-23 23:28:44 +00:00
app.mozbuild
ffi.configure
moz.build
moz.configure Bug 1497336: Remove Cranelift Win32 static analysis workaround; r=froydnj 2018-10-11 14:52:39 +00:00