Index: src/code-stubs-hydrogen.cc |
diff --git a/src/code-stubs-hydrogen.cc b/src/code-stubs-hydrogen.cc |
index 1d451cc9a5eb82f210ff56abd5bdb33155de9b44..860586a88c41a7df68789e2f2ddc1857fb66f450 100644 |
--- a/src/code-stubs-hydrogen.cc |
+++ b/src/code-stubs-hydrogen.cc |
@@ -278,8 +278,8 @@ static Handle<Code> DoGenerateCode(Stub* stub) { |
timer.Start(); |
} |
Zone zone(isolate->allocator()); |
- CompilationInfo info(CodeStub::MajorName(stub->MajorKey()), isolate, &zone, |
- stub->GetCodeFlags()); |
+ CompilationInfo info(CStrVector(CodeStub::MajorName(stub->MajorKey())), |
+ isolate, &zone, stub->GetCodeFlags()); |
// Parameter count is number of stack parameters. |
int parameter_count = descriptor.GetStackParameterCount(); |
if (descriptor.function_mode() == NOT_JS_FUNCTION_STUB_MODE) { |