Chromium Code Reviews
DescriptionAdd some checking macros:
CHECK_ISOLATE -- make sure that there is a current isolate.
CHECK_NO_ISOLATE -- the opposite.
CHECK_ISOLATE_SCOPE -- make sure that there is a current isolate and it has an API scope.
DARTSCOPE changes to call CHECK_ISOLATE_SCOPE. If you don't want
that, use DARTSCOPE_NOCHECKS.
Went through all of the DART_EXPORT function and made sure they all
had the appropriate checking.
Rewrite DARTSCOPE a bit to avoid evaluating the macro param multiple
times.
Committed: https://code.google.com/p/dart/source/detail?r=1990
Patch Set 1 #Patch Set 2 : '' #Patch Set 3 : '' #Patch Set 4 : '' #Patch Set 5 : '' #Patch Set 6 : '' #
Messages
Total messages: 6 (0 generated)
|
|||||||||||||||||||||||||||||||||||||