| Index: runtime/vm/intermediate_language_x64.cc
|
| ===================================================================
|
| --- runtime/vm/intermediate_language_x64.cc (revision 9119)
|
| +++ runtime/vm/intermediate_language_x64.cc (working copy)
|
| @@ -64,7 +64,7 @@
|
| Function::ZoneHandle(compiler->parsed_function().function().raw());
|
| __ LoadObject(temp, function);
|
| __ incq(FieldAddress(temp, Function::usage_counter_offset()));
|
| - if (CodeGenerator::CanOptimize()) {
|
| + if (FlowGraphCompiler::CanOptimize()) {
|
| // Do not optimize if usage count must be reported.
|
| __ cmpl(FieldAddress(temp, Function::usage_counter_offset()),
|
| Immediate(FLAG_optimization_counter_threshold));
|
|
|