First phase of restructuring to support THUMB2 & ARM traces
Store some useful info about traces in JitTable entry; some general cleanup
diff --git a/vm/compiler/codegen/armv5te/Codegen.c b/vm/compiler/codegen/armv5te/Codegen.c
index 6d19472..b8f4da4 100644
--- a/vm/compiler/codegen/armv5te/Codegen.c
+++ b/vm/compiler/codegen/armv5te/Codegen.c
@@ -3544,24 +3544,24 @@
 }
 
 /* Accept the work and start compiling */
-void *dvmCompilerDoWork(CompilerWorkOrder *work)
+bool dvmCompilerDoWork(CompilerWorkOrder *work)
 {
-   void *res;
+   bool res;
 
    if (gDvmJit.codeCacheFull) {
-       return NULL;
+       return false;
    }
 
    switch (work->kind) {
        case kWorkOrderMethod:
-           res = dvmCompileMethod(work->info);
+           res = dvmCompileMethod(work->info, &work->result);
            break;
        case kWorkOrderTrace:
            /* Start compilation with maximally allowed trace length */
-           res = dvmCompileTrace(work->info, JIT_MAX_TRACE_LEN);
+           res = dvmCompileTrace(work->info, JIT_MAX_TRACE_LEN, &work->result);
            break;
        default:
-           res = NULL;
+           res = false;
            dvmAbort();
    }
    return res;