Chromium Code Reviews| Index: runtime/vm/code_generator.cc |
| diff --git a/runtime/vm/code_generator.cc b/runtime/vm/code_generator.cc |
| index 5de912a0928919942675ffef1c679bf933f8d9bb..07a2bab51fc21b8c6163109ae6d6aa0a995d53f0 100644 |
| --- a/runtime/vm/code_generator.cc |
| +++ b/runtime/vm/code_generator.cc |
| @@ -109,6 +109,7 @@ DEFINE_RUNTIME_ENTRY(AllocateArray, 2) { |
| // Return value: newly allocated object. |
| DEFINE_RUNTIME_ENTRY(AllocateObject, 3) { |
| const Class& cls = Class::CheckedHandle(arguments.ArgAt(0)); |
| + // Report allocate to heap class stats. |
|
Ivan Posva
2013/12/12 13:53:24
?
Cutch
2013/12/13 01:31:09
Dead code with a zombie comment.
|
| const Instance& instance = Instance::Handle(Instance::New(cls)); |
| arguments.SetReturn(instance); |
| if (cls.NumTypeArguments() == 0) { |