Files
sdk/tests/isolate
Alexander Markov bda3c9c2b2 Simplify and fix implicit closure check, speed up Closure_equals, v2
This is the re-application of 44e8da3ecd
with fixes:
* Dartanalyzer error is fixed in the new test isolate/message4_test
* The new test is skipped in the status file in dart2j/non-d8 modes,
  issue #30247 is created.
* Minor tweak of Closure_equals: other.IsClosure() is tested earlier.

Original CL review:

https://codereview.chromium.org/2989493002/

Original CL description:

This CL introduces a new Function kind, kImplicitClosureFunction, in
order to simplify check for implicit closures and make it more
efficient.

This CL also fixes Function::IsImplicitStaticClosureFunction(RawFunction*)
to correctly handle implicit closures created from static native
functions.

Closes #30203.

As the result of a faster check for implicit closures and slight
refactoring of Closure_equals, micro-benchmark exercising Closure_equals
speeds up from 9618ms to 6700ms for implicit closures case and
insignificantly for other cases.

R=zra@google.com

Review-Url: https://codereview.chromium.org/2987703002 .
2017-07-24 09:43:52 -07:00
..
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00
2017-04-17 14:53:02 -07:00