Speed up ARM64 debug assembler more
R=ulan@chromium.org BUG= Review URL: https://codereview.chromium.org/810473004 Cr-Commit-Position: refs/heads/master@{#25852}
This commit is contained in:
parent
a235b1076a
commit
7de5933759
@ -603,7 +603,7 @@ void Assembler::Align(int m) {
|
||||
void Assembler::CheckLabelLinkChain(Label const * label) {
|
||||
#ifdef DEBUG
|
||||
if (label->is_linked()) {
|
||||
static const int kMaxLinksToCheck = 256; // Avoid O(n2) behaviour.
|
||||
static const int kMaxLinksToCheck = 64; // Avoid O(n2) behaviour.
|
||||
int links_checked = 0;
|
||||
int linkoffset = label->pos();
|
||||
bool end_of_chain = false;
|
||||
|
Loading…
Reference in New Issue
Block a user