Index: src/ia32/register-allocator-ia32-inl.h |
=================================================================== |
--- src/ia32/register-allocator-ia32-inl.h (revision 2476) |
+++ src/ia32/register-allocator-ia32-inl.h (working copy) |
@@ -65,7 +65,7 @@ |
Register RegisterAllocator::ToRegister(int num) { |
ASSERT(num >= 0 && num < kNumRegisters); |
- static Register registers[] = { eax, ebx, ecx, edx, edi }; |
+ const Register registers[] = { eax, ebx, ecx, edx, edi }; |
return registers[num]; |
} |