bug 996715: Remove the code that bails when determining if the second instruction in a chunk is a branch. (r=dougc)

This commit is contained in:
Marty Rosenberg 2014-05-27 09:40:35 -04:00
parent de64a276de
commit 5441acb4eb

View File

@ -221,7 +221,7 @@ struct BufferSliceTail : public BufferSlice<SliceSize> {
} }
bool isNextBranch() { bool isNextBranch() {
unsigned int size = this->nodeSize; unsigned int size = this->nodeSize;
if (size == InstBaseSize || size >= SliceSize) if (size >= SliceSize)
return false; return false;
int idx = size / InstBaseSize; int idx = size / InstBaseSize;
return (isBranch[idx >> 3] >> (idx & 0x7)) & 1; return (isBranch[idx >> 3] >> (idx & 0x7)) & 1;