Changeset 137010 in webkit


Ignore:
Timestamp:
Dec 7, 2012 7:54:54 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Add missing const qualifier to JSC::CodeBlock::getJITType()
https://bugs.webkit.org/show_bug.cgi?id=104424

Patch by Jonathan Liu <net147@gmail.com> on 2012-12-07
Reviewed by Laszlo Gombos.

JSC::CodeBlock::getJITType() has the const qualifier when JIT is
enabled but is missing the const qualifier when JIT is disabled.

  • bytecode/CodeBlock.h:

(JSC::CodeBlock::getJITType):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r137001 r137010  
     12012-12-07  Jonathan Liu  <net147@gmail.com>
     2
     3        Add missing const qualifier to JSC::CodeBlock::getJITType()
     4        https://bugs.webkit.org/show_bug.cgi?id=104424
     5
     6        Reviewed by Laszlo Gombos.
     7
     8        JSC::CodeBlock::getJITType() has the const qualifier when JIT is
     9        enabled but is missing the const qualifier when JIT is disabled.
     10
     11        * bytecode/CodeBlock.h:
     12        (JSC::CodeBlock::getJITType):
     13
    1142012-12-07  Oliver Hunt  <oliver@apple.com>
    215
  • trunk/Source/JavaScriptCore/bytecode/CodeBlock.h

    r136606 r137010  
    529529        }
    530530#else
    531         JITCode::JITType getJITType() { return JITCode::BaselineJIT; }
     531        JITCode::JITType getJITType() const { return JITCode::BaselineJIT; }
    532532#endif
    533533
Note: See TracChangeset for help on using the changeset viewer.