From e5b787e84d264caa5b8e183b09725c5ee4fe334a Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 18 Apr 2012 10:32:02 -0700 Subject: [PATCH] deps: fix v8 build error Pull in build error fix from http://code.google.com/p/v8/source/detail?r=9505 Missed in 5d69bbfbd. --- deps/v8/src/regexp-macro-assembler-tracer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/v8/src/regexp-macro-assembler-tracer.cc b/deps/v8/src/regexp-macro-assembler-tracer.cc index 0a638e73204..f8432784f2c 100644 --- a/deps/v8/src/regexp-macro-assembler-tracer.cc +++ b/deps/v8/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]); }