Changeset 159936 in webkit


Ignore:
Timestamp:
Dec 2, 2013 8:51:07 AM (10 years ago)
Author:
commit-queue@webkit.org
Message:

Unused include files when building without JIT.
https://bugs.webkit.org/show_bug.cgi?id=125062

Patch by László Langó <lango@inf.u-szeged.hu> on 2013-12-02
Reviewed by Michael Saboff.

We should organize the includes, and guard JIT methods
in ValueRecovery.

  • bytecode/ValueRecovery.cpp: Guard include files.
  • bytecode/ValueRecovery.h: Guard JIT methods.
Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r159935 r159936  
     12013-12-02  László Langó  <lango@inf.u-szeged.hu>
     2
     3        Unused include files when building without JIT.
     4        https://bugs.webkit.org/show_bug.cgi?id=125062
     5
     6        Reviewed by Michael Saboff.
     7
     8        We should organize the includes, and guard JIT methods
     9        in ValueRecovery.
     10
     11        * bytecode/ValueRecovery.cpp: Guard include files.
     12        * bytecode/ValueRecovery.h: Guard JIT methods.
     13
    1142013-12-02  Balazs Kilvady  <kilvadyb@homejinni.com>
    215
  • trunk/Source/JavaScriptCore/bytecode/ValueRecovery.cpp

    r156677 r159936  
    6060    }
    6161}
     62
     63#if ENABLE(JIT)
    6264
    6365void ValueRecovery::dumpInContext(PrintStream& out, DumpContext* context) const
     
    131133    dumpInContext(out, 0);
    132134}
     135#endif // ENABLE(JIT)
    133136
    134137} // namespace JSC
  • trunk/Source/JavaScriptCore/bytecode/ValueRecovery.h

    r156677 r159936  
    2828
    2929#include "DataFormat.h"
     30#if ENABLE(JIT)
    3031#include "GPRInfo.h"
    3132#include "FPRInfo.h"
     33#endif
    3234#include "JSCJSValue.h"
    3335#include "MacroAssembler.h"
    3436#include "VirtualRegister.h"
    35 #include <stdio.h>
    3637#include <wtf/Platform.h>
    3738
     
    247248    JSValue recover(ExecState*) const;
    248249   
     250#if ENABLE(JIT)
    249251    void dumpInContext(PrintStream& out, DumpContext* context) const;
    250252    void dump(PrintStream& out) const;
     253#endif
    251254
    252255private:
Note: See TracChangeset for help on using the changeset viewer.