Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index e341accd9071bcaa1c21692d9739203ab261cb52..22118ee4d05edae1b104769dbc6f7adf9a9ece31 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -312,7 +312,7 @@ static bool MakeCrankshaftCode(CompilationInfo* info) { |
if (!graph->Optimize(&bailout_reason)) { |
if (!bailout_reason.is_empty()) builder.Bailout(*bailout_reason); |
} else { |
- LChunkBase* chunk = LChunkBase::NewChunk(graph); |
+ LChunk* chunk = LChunk::NewChunk(graph); |
if (chunk != NULL) { |
Handle<Code> optimized_code = chunk->Codegen(); |
if (!optimized_code.is_null()) { |