247f05e863
The tracking of provided types at call sites now take both the type of named arguments from selectors and the type of the defualt values for optional paramters into account. To know the type of the default values for optional parameters the constant expressions for the default values are always compiled before the function. In order to check whether a new selector invalidates the current provided types for a function the default values for the optional parameters needs to be stored with all registered optimized functions. R=kasperl@google.com BUG= Review URL: https://chromiumcodereview.appspot.com//10908068 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11917 260f80e4-7a28-3924-810f-c04153c831b5