| Index: vm/code_generator.cc
|
| ===================================================================
|
| --- vm/code_generator.cc (revision 4911)
|
| +++ vm/code_generator.cc (working copy)
|
| @@ -1136,6 +1136,11 @@
|
| void FunctionsCache::AddCompiledFunction(const Function& function,
|
| int num_arguments,
|
| int num_named_arguments) {
|
| +// TODO(srdjan): Evaluate if populating the function cache is needed.
|
| +// It is turned off currently because we do not populate code objects
|
| +// in snapshot and hence end up in an inconsistent state as function
|
| +// cache is populated but there are no code objects.
|
| +#if 0
|
| ASSERT(function.HasCode());
|
| Array& cache = Array::Handle(class_.functions_cache());
|
| // Search for first free slot. Last entry is always NULL object.
|
| @@ -1158,6 +1163,7 @@
|
| function,
|
| num_arguments,
|
| num_named_arguments);
|
| +#endif
|
| }
|
|
|
|
|
|
|