Fix a build---increase array's size.

TBR=lrn@chromium.org

Review URL: http://codereview.chromium.org/1719016

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4505 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
antonm@chromium.org 2010-04-26 15:34:25 +00:00
parent 1a0bb51069
commit e35fbc93c2

View File

@ -38,7 +38,7 @@ RegExpMacroAssemblerTracer::RegExpMacroAssemblerTracer(
assembler_(assembler) {
unsigned int type = assembler->Implementation();
ASSERT(type < 4);
const char* impl_names[3] = {"IA32", "ARM", "X64", "Bytecode"};
const char* impl_names[4] = {"IA32", "ARM", "X64", "Bytecode"};
PrintF("RegExpMacroAssembler%s();\n", impl_names[type]);
}