ARM64: fix operator precedence issue.
As a result the constant pool marker was always 0. BUG= R=ulan@chromium.org Review URL: https://codereview.chromium.org/350923003 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21987 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
65e585fa38
commit
83ee347736
@ -455,7 +455,7 @@ void ConstPool::EmitMarker() {
|
||||
// + 1 is for the crash guard.
|
||||
// + 0/1 for alignment.
|
||||
int word_count = EntryCount() * 2 + 1 +
|
||||
(IsAligned(assm_->pc_offset(), 8)) ? 0 : 1;
|
||||
(IsAligned(assm_->pc_offset(), 8) ? 0 : 1);
|
||||
assm_->Emit(LDR_x_lit |
|
||||
Assembler::ImmLLiteral(word_count) |
|
||||
Assembler::Rt(xzr));
|
||||
|
Loading…
Reference in New Issue
Block a user