Chromium Code Reviews| Index: src/full-codegen.cc |
| diff --git a/src/full-codegen.cc b/src/full-codegen.cc |
| index d963979ad867f0a8bc2d6c649af00383bed442da..531eed249182a79cf4896cb6162144a05ebb2dc6 100644 |
| --- a/src/full-codegen.cc |
| +++ b/src/full-codegen.cc |
| @@ -327,6 +327,7 @@ bool FullCodeGenerator::MakeCode(CompilationInfo* info) { |
| code->set_compiled_optimizable(info->IsOptimizable()); |
| #endif // ENABLE_DEBUGGER_SUPPORT |
| code->set_allow_osr_at_loop_nesting_level(0); |
| + code->set_profiler_ticks(0); |
|
ulan
2012/03/27 11:40:58
Shouldn't it be set in Heap::CreateCode ?
Jakob Kummerow
2012/03/27 12:19:10
No, because the field only exists for Code objects
|
| code->set_stack_check_table_offset(table_offset); |
| CodeGenerator::PrintCode(code, info); |
| info->SetCode(code); // May be an empty handle. |