diff options
author | 2012-12-14 13:35:28 -0800 | |
---|---|---|
committer | 2013-02-06 12:16:33 -0800 | |
commit | 4ef3e45d7c6ec3c482a1a48f4df470811aa3cf0a (patch) | |
tree | 5d91ff23708048a2b453a5917dab82be1b545f91 /src/compiler/compiler_enums.h | |
parent | f84f99fe3a944310fdfb6f17836079ac5c48c799 (diff) |
Compiler constant handling rework
In preparation for de-optimization, reworked the constant
handling mechanism. Also took advantage of knowledge of
constant operands (particularly for long operations).
Significant performance improvements for Mandelbrot
(~60 seconds to ~34 seconds). Minor improvements in other
benchmarks.
The new constant handling breaks two of the existing
optimization passes: "Skip Large Method" and "Load/Store
Elimization."
I don't intend to update the large method optimization
because it will be superceeded by the upcoming interpreter/
fingerprinting mechanism. Leaving the code in place for
now in order to compare compile-time improvements with
fingerprinting/interpret. All related code will be deleted
when that is complete.
The load/store elimination pass needs some rework to handle
uses of multiple-register loads and stores. It will be
updated & restored in a future CL.
Change-Id: Ia979abaf51b8ae81bbb0428031cbcea854625fac
Diffstat (limited to 'src/compiler/compiler_enums.h')
-rw-r--r-- | src/compiler/compiler_enums.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/compiler_enums.h b/src/compiler/compiler_enums.h index bdf7a8bd5c..ae305c0ad5 100644 --- a/src/compiler/compiler_enums.h +++ b/src/compiler/compiler_enums.h @@ -291,6 +291,7 @@ enum ThrowKind { kThrowNullPointer, kThrowDivZero, kThrowArrayBounds, + kThrowConstantArrayBounds, kThrowNoSuchMethod, kThrowStackOverflow, }; |