Revision: 20386
Author: [email protected]
Date: Tue Apr 1 10:39:09 2014 UTC
Log: Fixed assertions on ARM64.
[email protected]
Review URL: https://codereview.chromium.org/220763003
http://code.google.com/p/v8/source/detail?r=20386
Modified:
/branches/bleeding_edge/src/arm64/macro-assembler-arm64-inl.h
=======================================
--- /branches/bleeding_edge/src/arm64/macro-assembler-arm64-inl.h Tue Apr
1 09:20:28 2014 UTC
+++ /branches/bleeding_edge/src/arm64/macro-assembler-arm64-inl.h Tue Apr
1 10:39:09 2014 UTC
@@ -1532,7 +1532,7 @@
void MacroAssembler::ClaimBySMI(const Register& count_smi, uint64_t
unit_size) {
- ASSERT(IsPowerOf2(unit_size));
+ ASSERT(unit_size == 0 || IsPowerOf2(unit_size));
const int shift = CountTrailingZeros(unit_size, kXRegSizeInBits) -
kSmiShift;
const Operand size(count_smi,
(shift >= 0) ? (LSL) : (LSR),
@@ -1593,7 +1593,7 @@
void MacroAssembler::DropBySMI(const Register& count_smi, uint64_t
unit_size) {
- ASSERT(IsPowerOf2(unit_size));
+ ASSERT(unit_size == 0 || IsPowerOf2(unit_size));
const int shift = CountTrailingZeros(unit_size, kXRegSizeInBits) -
kSmiShift;
const Operand size(count_smi,
(shift >= 0) ? (LSL) : (LSR),
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.