Chromium Code Reviews
DescriptionTrack fields which are known to be always set to integer constants
For each field which is accessed directly in the generated JavaScript
code track whether all the setters are setting the field to an integer
constant. If that is the case the codegen will always generate ===
comparison when comparing to an integer constant.
To know for sure that only integer constants are assigned the
functions having the getters need to be recompiled.
This gives ~10% on Delta Blue.
R=ngeoffray@google.com, floitsch@google.com
BUG=
TEST=
Committed: https://code.google.com/p/dart/source/detail?r=8796
Patch Set 1 #
Total comments: 12
Patch Set 2 : Addressed review comment and addressed initializers #
Total comments: 6
Patch Set 3 : Addresed review comments from floitsch@ #Patch Set 4 : Rebased to r8779 #Patch Set 5 : Minor fix #
Total comments: 6
Patch Set 6 : Addressed second round of comments #
Messages
Total messages: 7 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||