Chromium Code Reviews
DescriptionDon’t cache constants in initializer expressions
Initializer expressions are evaluated only once. Therefore, do not store
constant expressions in the constant cache, since they will never be
used again.
Except: when generating a stack trace and accessing the local variables
in a the stack frame of an initializer expression (static final getter function),
the constant will have to be recomputed instead of retrieved from the cache.
This CL also disables the stacktrace_every stress flag while a stack trace
is being collected, to avoid recursive requests for stack traces.
BUG=
R=rmacnak@google.com
Committed: https://github.com/dart-lang/sdk/commit/6cb7d87e56baa33e97492f1b076dd96466fbfdbb
Patch Set 1 #
Total comments: 2
Patch Set 2 : Review comments #
Messages
Total messages: 7 (3 generated)
|
||||||||||||||||||||||||||||