253c3f8499
This CL contains: A new CheckClassComp instruction. Currently it is used only for instance loads: (LoadInstanceFieldComp) A pass LocalCSE that performs block-local common subexpression elimination. To identify redundant expressions I use a hash map per basic block. Computations that do not have side effects can participate in CSE. For now, I only enabled it for CheckClass. Any computation that participates in CSE must implement the AttributesEqual function. Other smaller fixes: Places where we can pass the correct initial size for GrowableArrays that have a known size. We should consider having a FixedLengthArray for this purpose. Made the accessors ic_data() and set_ic_data() use a const ICData*. Review URL: https://chromiumcodereview.appspot.com//10824349 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10948 260f80e4-7a28-3924-810f-c04153c831b5