gecko-dev/js
Nicholas Nethercote a062b9be51 Bug 1366650 (part 2) - In GeckoProfiler, do all pseudo-stack accesses via the PseudoStack class, instead of via raw array manipulation. r=mstange,shu.
- The profiler gives the JS engine a reference to the pseudo-stack via
  SetContextProfiilngStack(). That function now takes a |PseudoStack*| instead
  of a |ProfileEntry*| and pointer to the stack pointer.

- PseudoStack now has a |kMaxEntries| field, which is easier to work with than
  |mozilla::ArrayLength(entries)|.

- AddressOfStackPointer() is no longer needed.

- The patch also neatens up the push operations significantly. PseudoStack now
  has pushCppFrame() and pushJsFrame(), which nicely encapsulate the two main
  cases. These delegate to the updated initCppFrame() and initJsFrame()
  functions in ProfileEntry.

- Renames max_stck in testProfileStrings.cpp as peakStackPointer, which is a
  clearer name.

- Removes a couple of checks from testProfileStrings.cpp. These checks made
  sense when the pseudo-stack was accessed via raw manipulation, but are not
  applicable now because we can't artificially limit the maximum stack size so
  easily.
2017-05-26 09:51:31 +10:00
..
ductwork/debugger Bug 1333493 - add BUG_COMPONENT to js/* files. r=bbouvier 2017-03-24 09:50:49 -04:00
examples No bug. Update to new way of detecting emacs 2017-03-26 15:43:23 -07:00
ipc Bug 1359245 - Eliminate nsXPConnect::GetContextInstance() (r=mccr8) 2017-04-27 15:34:46 -07:00
public Bug 1366650 (part 2) - In GeckoProfiler, do all pseudo-stack accesses via the PseudoStack class, instead of via raw array manipulation. r=mstange,shu. 2017-05-26 09:51:31 +10:00
src Bug 1366650 (part 2) - In GeckoProfiler, do all pseudo-stack accesses via the PseudoStack class, instead of via raw array manipulation. r=mstange,shu. 2017-05-26 09:51:31 +10:00
xpconnect Merge m-c to autoland. a=merge 2017-05-25 16:44:01 -04:00
ffi.configure Bug 1363811 - Replace all uses of delayed_getattr(a, 'b') with a.b. r=cmanchester+432261 2017-05-19 07:03:40 +09:00
moz.build Bug 1333493 - add BUG_COMPONENT to js/* files. r=bbouvier 2017-03-24 09:50:49 -04:00
moz.configure Backed out changeset 54d759872a2c (bug 1332466) for build failures a=backout 2017-02-02 16:05:55 -08:00