Chromium Code Reviews| Index: src/compiler.cc |
| diff --git a/src/compiler.cc b/src/compiler.cc |
| index ecac5cba69065c1226df0d281d14fd66db6cb5af..c6c62561e185a044f6c976803b82ff8d14a118e4 100644 |
| --- a/src/compiler.cc |
| +++ b/src/compiler.cc |
| @@ -304,7 +304,7 @@ static bool MakeCrankshaftCode(CompilationInfo* info) { |
| } |
| if (graph != NULL) { |
| - Handle<Code> optimized_code = graph->Compile(info); |
| + Handle<Code> optimized_code = graph->Compile(info, info->isolate()->zone()); |
|
danno
2012/06/04 10:46:46
either graph->zone() or put the zone into Compilat
sanjoy
2012/06/04 11:05:42
Changed to graph->zone()
|
| if (!optimized_code.is_null()) { |
| info->SetCode(optimized_code); |
| FinishOptimization(info->closure(), start); |