diff options
author | Ben Cheng <bccheng@google.com> | 2009-10-29 14:39:18 -0700 |
---|---|---|
committer | Ben Cheng <bccheng@google.com> | 2009-11-03 10:43:42 -0800 |
commit | 6c10a977ec892c26c8e306356491833bbb073d40 (patch) | |
tree | 30ed190d3a44b477bfbfee0e12d70d8232bd21a3 /vm/compiler/codegen/CompilerCodegen.h | |
parent | 6546de12147083b1fe8c82b7da471e8422ab00d1 (diff) | |
download | android_dalvik-6c10a977ec892c26c8e306356491833bbb073d40.tar.gz android_dalvik-6c10a977ec892c26c8e306356491833bbb073d40.tar.bz2 android_dalvik-6c10a977ec892c26c8e306356491833bbb073d40.zip |
Implement chaining up to the first 64 cases in a switch statement.
Diffstat (limited to 'vm/compiler/codegen/CompilerCodegen.h')
-rw-r--r-- | vm/compiler/codegen/CompilerCodegen.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vm/compiler/codegen/CompilerCodegen.h b/vm/compiler/codegen/CompilerCodegen.h index 8f138a699..75307a766 100644 --- a/vm/compiler/codegen/CompilerCodegen.h +++ b/vm/compiler/codegen/CompilerCodegen.h @@ -19,6 +19,9 @@ #include "compiler/CompilerIR.h" +/* Maximal number of switch cases to have inline chains */ +#define MAX_CHAINED_SWITCH_CASES 64 + /* Work unit is architecture dependent */ bool dvmCompilerDoWork(CompilerWorkOrder *work); |