mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 09:52:50 -10:00
Bug 1366650 (part 1) - Move PseudoStack into SpiderMonkey. r=mstange,shu.
This includes renaming its fields to match SpiderMonkey naming conventions instead of Gecko naming conventions. This patch is just about moving the code. The next patch will change SpiderMonkey to actually use PseudoStack directly.
This commit is contained in:
1 parent
d3a239d70f
commit
df71128496
7 files changed
+82
-109
No files matched your search
@@ -13,7 +13,7 @@
|
||||
#include "shared-libraries.h"
|
||||
#endif
|
||||
#ifdef MOZ_THREADSTACKHELPER_PSEUDO
|
||||
#include "PseudoStack.h"
|
||||
#include "js/ProfilingStack.h"
|
||||
#endif
|
||||
|
||||
#include "mozilla/Assertions.h"
|
||||
@@ -492,7 +492,7 @@ ThreadStackHelper::FillStackBuffer()
|
||||
intptr_t availableBufferSize = intptr_t(reservedBufferSize);
|
||||
|
||||
// Go from front to back
|
||||
const volatile js::ProfileEntry* entry = mPseudoStack->mStack;
|
||||
const volatile js::ProfileEntry* entry = mPseudoStack->entries;
|
||||
const volatile js::ProfileEntry* end = entry + mPseudoStack->stackSize();
|
||||
// Deduplicate identical, consecutive frames
|
||||
const char* prevLabel = nullptr;
|
||||
|
||||
Reference in new issue
Block a user