Index: runtime/vm/code_generator_ia32.h |
=================================================================== |
--- runtime/vm/code_generator_ia32.h (revision 7417) |
+++ runtime/vm/code_generator_ia32.h (working copy) |
@@ -77,6 +77,9 @@ |
void GenerateCode(); |
virtual void GenerateDeferredCode(); |
+ // Constructor is lighweight, major initialization work should occur here. |
+ // This makes it easier to measure time spent in the code generator. |
+ virtual void InitGenerator(); |
#define DEFINE_VISITOR_FUNCTION(type, name) \ |
virtual void Visit##type(type* node); |