Ignore:
Timestamp:
Oct 13, 2015, 5:12:18 PM (10 years ago)
Author:
[email protected]
Message:

We were creating a GCAwareJITStubRoutineWithExceptionHandler when we didn't actually have an exception handler in the CodeBlock's exception handler table
https://bugs.webkit.org/show_bug.cgi?id=150016

Reviewed by Geoffrey Garen.

There was a bug where we created a GCAwareJITStubRoutineWithExceptionHandler
for inline caches that were custom setters/getters (but not JS getters/setters).
This is wrong; we only create GCAwareJITStubRoutineWithExceptionHandler when we have
an inline cache with a JS getter/setter call which causes the inline cache to add itself
to the CodeBlock's exception handling table. The problem was that we created
a GCAwareJITStubRoutineWithExceptionHandler that tried to remove itself from
the exception handler table only to find out that it didn't have an entry in the table.

  • bytecode/PolymorphicAccess.cpp:

(JSC::PolymorphicAccess::regenerate):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r191015 r191016  
     12015-10-13  Saam barati  <[email protected]>
     2
     3        We were creating a GCAwareJITStubRoutineWithExceptionHandler when we didn't actually have an exception handler in the CodeBlock's exception handler table
     4        https://bugs.webkit.org/show_bug.cgi?id=150016
     5
     6        Reviewed by Geoffrey Garen.
     7
     8        There was a bug where we created a GCAwareJITStubRoutineWithExceptionHandler
     9        for inline caches that were custom setters/getters (but not JS getters/setters).
     10        This is wrong; we only create GCAwareJITStubRoutineWithExceptionHandler when we have
     11        an inline cache with a JS getter/setter call which causes the inline cache to add itself
     12        to the CodeBlock's exception handling table. The problem was that we created
     13        a GCAwareJITStubRoutineWithExceptionHandler that tried to remove itself from
     14        the exception handler table only to find out that it didn't have an entry in the table.
     15
     16        * bytecode/PolymorphicAccess.cpp:
     17        (JSC::PolymorphicAccess::regenerate):
     18
    1192015-10-13  Joseph Pecoraro  <[email protected]>
    220
Note: See TracChangeset for help on using the changeset viewer.