зеркало из https://github.com/mozilla/gecko-dev.git
a062b9be51
- 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. |
||
---|---|---|
.. | ||
ductwork/debugger | ||
examples | ||
ipc | ||
public | ||
src | ||
xpconnect | ||
ffi.configure | ||
moz.build | ||
moz.configure |