| commit | 6e963e1cfbaeac377fed3ba8d5715c1dccfc1a57 | [log] [tgz] |
|---|---|---|
| author | Bill Buzbee <buzbee@google.com> | Wed Jun 17 16:56:19 2009 -0700 |
| committer | Bill Buzbee <buzbee@google.com> | Thu Jun 18 13:57:15 2009 -0700 |
| tree | 1832b579b9c8e4165feb457cd9190c73653b97be | |
| parent | f5098f40cdbf360f9fb7e6c1e3ffdad231c03058 [diff] [blame] |
Trace profiling support for the jit
diff --git a/vm/compiler/Frontend.c b/vm/compiler/Frontend.c index 5e75d15..c8f3abc 100644 --- a/vm/compiler/Frontend.c +++ b/vm/compiler/Frontend.c
@@ -206,6 +206,9 @@ /* Initialize the printMe flag */ cUnit.printMe = gDvmJit.printMe; + /* Initialize the profile flag */ + cUnit.executionCount = gDvmJit.profile; + /* Identify traces that we don't want to compile */ if (gDvmJit.methodTable) { int len = strlen(desc->method->clazz->descriptor) +