Index: src/ia32/disasm-ia32.cc |
diff --git a/src/ia32/disasm-ia32.cc b/src/ia32/disasm-ia32.cc |
index 04279d08bfb751afffe8d5025b9d1300ae392ce1..252376162f65c27389af66e57b1dc7d573b5a113 100644 |
--- a/src/ia32/disasm-ia32.cc |
+++ b/src/ia32/disasm-ia32.cc |
@@ -1690,17 +1690,17 @@ int DisassemblerIA32::InstructionDecode(v8::internal::Vector<char> out_buffer, |
//------------------------------------------------------------------------------ |
-static const char* cpu_regs[8] = { |
+static const char* const cpu_regs[8] = { |
"eax", "ecx", "edx", "ebx", "esp", "ebp", "esi", "edi" |
}; |
-static const char* byte_cpu_regs[8] = { |
+static const char* const byte_cpu_regs[8] = { |
"al", "cl", "dl", "bl", "ah", "ch", "dh", "bh" |
}; |
-static const char* xmm_regs[8] = { |
+static const char* const xmm_regs[8] = { |
"xmm0", "xmm1", "xmm2", "xmm3", "xmm4", "xmm5", "xmm6", "xmm7" |
}; |