From 4cb799515279255eb378c4a32a019fc8e538eb64 Mon Sep 17 00:00:00 2001 From: "lrn@chromium.org" Date: Mon, 3 Oct 2011 10:40:39 +0000 Subject: [PATCH] Fix build error. Review URL: http://codereview.chromium.org/8117002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9505 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/regexp-macro-assembler-tracer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regexp-macro-assembler-tracer.cc b/src/regexp-macro-assembler-tracer.cc index 0a638e7320..f8432784f2 100644 --- a/src/regexp-macro-assembler-tracer.cc +++ b/src/regexp-macro-assembler-tracer.cc @@ -38,7 +38,7 @@ RegExpMacroAssemblerTracer::RegExpMacroAssemblerTracer( assembler_(assembler) { unsigned int type = assembler->Implementation(); ASSERT(type < 5); - const char* impl_names[4] = {"IA32", "ARM", "MIPS", "X64", "Bytecode"}; + const char* impl_names[] = {"IA32", "ARM", "MIPS", "X64", "Bytecode"}; PrintF("RegExpMacroAssembler%s();\n", impl_names[type]); }