Index: src/lithium.h |
diff --git a/src/lithium.h b/src/lithium.h |
index 222e89353e1faf7d6c8e6bf54a2405f2ed79e4d5..cc2cde015a4539dbf2b2aa77440ccba8a78e88e1 100644 |
--- a/src/lithium.h |
+++ b/src/lithium.h |
@@ -156,8 +156,8 @@ class LUnallocated: public LOperand { |
}; |
static const int kMaxVirtualRegisters = 1 << kVirtualRegisterWidth; |
- static const int kMaxFixedIndex = (1 << kFixedIndexWidth) - 1; |
- static const int kMinFixedIndex = -(1 << kFixedIndexWidth); |
+ static const int kMaxFixedIndex = (1 << (kFixedIndexWidth - 1)) - 1; |
+ static const int kMinFixedIndex = -(1 << (kFixedIndexWidth - 1)); |
bool HasAnyPolicy() const { |
return policy() == ANY; |