Changeset 39351 in webkit for trunk/JavaScriptCore/ChangeLog


Ignore:
Timestamp:
Dec 16, 2008, 6:34:59 PM (17 years ago)
Author:
[email protected]
Message:

2008-12-16 Sam Weinig <[email protected]>

Reviewed by Gavin Barraclough.

Fix for https://bugs.webkit.org/show_bug.cgi?id=22837
Remove dependency on the bytecode Instruction buffer in Interpreter::cti_op_call_NotJSFunction
Part of <rdar://problem/6428342>

  • interpreter/CallFrame.h: Added comment regarding returnPC storing a void*.
  • interpreter/Interpreter.cpp: (JSC::bytecodeOffsetForPC): We no longer have any cases of the PC being in the instruction stream for JIT, so we can remove the check. (JSC::Interpreter::cti_op_call_NotJSFunction): Use the CTI_RETURN_ADDRESS as the call frame returnPC as it is only necessary for looking up when throwing an exception.
  • interpreter/RegisterFile.h: (JSC::RegisterFile::): Added comment regarding returnPC storing a void*.
  • jit/JIT.h: Remove ARG_instr4.
  • jit/JITCall.cpp: (JSC::JIT::compileOpCallSetupArgs): Don't pass the instruction pointer.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r39350 r39351  
     12008-12-16  Sam Weinig  <[email protected]>
     2
     3        Reviewed by Gavin Barraclough.
     4
     5        Fix for https://bugs.webkit.org/show_bug.cgi?id=22837
     6        Remove dependency on the bytecode Instruction buffer in Interpreter::cti_op_call_NotJSFunction
     7        Part of <rdar://problem/6428342>
     8
     9        * interpreter/CallFrame.h: Added comment regarding returnPC storing a void*.
     10        * interpreter/Interpreter.cpp:
     11        (JSC::bytecodeOffsetForPC): We no longer have any cases of the PC
     12        being in the instruction stream for JIT, so we can remove the check.
     13        (JSC::Interpreter::cti_op_call_NotJSFunction): Use the CTI_RETURN_ADDRESS
     14        as the call frame returnPC as it is only necessary for looking up when
     15        throwing an exception.
     16        * interpreter/RegisterFile.h:
     17        (JSC::RegisterFile::): Added comment regarding returnPC storing a void*.
     18        * jit/JIT.h: Remove ARG_instr4.
     19        * jit/JITCall.cpp:
     20        (JSC::JIT::compileOpCallSetupArgs): Don't pass the instruction pointer.
     21
    1222008-12-16  Darin Adler  <[email protected]>
    223
Note: See TracChangeset for help on using the changeset viewer.