Changeset 53391 in webkit for trunk/JavaScriptCore/jit/JIT.cpp


Ignore:
Timestamp:
Jan 17, 2010, 11:28:53 PM (15 years ago)
Author:
[email protected]
Message:

https://bugs.webkit.org/show_bug.cgi?id=33731
Remove uses of PtrAndFlags from JIT data stuctures.

Reviewed by Oliver Hunt.

These break the OS X Leaks tool. Free up a bit in CallLinkInfo, and invalid
permutation of pointer states in MethodCallLinkInfo to represent the removed bits.

  • bytecode/CodeBlock.h:

(JSC::CallLinkInfo::seenOnce):
(JSC::CallLinkInfo::setSeen):
(JSC::MethodCallLinkInfo::MethodCallLinkInfo):
(JSC::MethodCallLinkInfo::seenOnce):
(JSC::MethodCallLinkInfo::setSeen):

  • jit/JIT.cpp:

(JSC::JIT::unlinkCall):

  • jit/JITPropertyAccess.cpp:

(JSC::JIT::patchMethodCallProto):

  • runtime/UString.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/jit/JIT.cpp

    r52920 r53391  
    583583    // (and, if a new JSFunction happened to be constructed at the same location, we could get a false positive
    584584    // match).  Reset the check so it no longer matches.
    585     RepatchBuffer repatchBuffer(callLinkInfo->ownerCodeBlock.get());
     585    RepatchBuffer repatchBuffer(callLinkInfo->ownerCodeBlock);
    586586#if USE(JSVALUE32_64)
    587587    repatchBuffer.repatch(callLinkInfo->hotPathBegin, 0);
Note: See TracChangeset for help on using the changeset viewer.