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:
@@ -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