DescriptionSimplify TONATIVE_*_EXCEPTIONSTATE* macros
By assuming that the |value| expression throws exceptions via the
ExceptionState object, and only via it, we can skip the v8::TryCatch
declaration and check. This is good since it is less code, and since
v8::TryCatch objects cost a bit of CPU time to initialize.
The correctness of this patch depends on
https://codereview.chromium.org/559553003/
and
https://codereview.chromium.org/556273003/
that make sure all type conversion helpers with an ExceptionState&
argument actually throw all exceptions via it.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181796
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : rebased #
Messages
Total messages: 9 (2 generated)
|