Ignore:
Timestamp:
Jul 24, 2013, 8:58:38 PM (12 years ago)
Author:
[email protected]
Message:

fourthTier: Landing the initial FTL logic in a single commit to avoid spurious
broken builds.

Location:
trunk/Source/JavaScriptCore/ftl
Files:
1 added
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ftl/FTLExitValue.cpp

    r153120 r153121  
    2424 */
    2525
    26 #ifndef DFGOSRExitCompilerCommon_h
    27 #define DFGOSRExitCompilerCommon_h
     26#include "config.h"
     27#include "FTLExitValue.h"
    2828
    29 #include <wtf/Platform.h>
     29#if ENABLE(FTL_JIT)
    3030
    31 #if ENABLE(DFG_JIT)
     31#include "Operations.h"
    3232
    33 #include "DFGCCallHelpers.h"
    34 #include "DFGOSRExit.h"
     33namespace JSC { namespace FTL {
    3534
    36 namespace JSC { namespace DFG {
     35void ExitValue::dump(PrintStream& out) const
     36{
     37    switch (kind()) {
     38    case InvalidExitValue:
     39        out.print("Invalid");
     40        return;
     41    case ExitValueDead:
     42        out.print("Dead");
     43        return;
     44    case ExitValueArgument:
     45        out.print("Argument(", exitArgument(), ")");
     46        return;
     47    case ExitValueConstant:
     48        out.print("Constant(", constant(), ")");
     49        return;
     50    case ExitValueInJSStack:
     51        out.print("InJSStack");
     52        return;
     53    case ExitValueInJSStackAsInt32:
     54        out.print("InJSStackAsInt32");
     55        return;
     56    case ExitValueInJSStackAsDouble:
     57        out.print("InJSStackAsDouble");
     58        return;
     59    }
     60   
     61    RELEASE_ASSERT_NOT_REACHED();
     62}
    3763
    38 void handleExitCounts(CCallHelpers&, const OSRExit&);
    39 void reifyInlinedCallFrames(CCallHelpers&, const OSRExit&);
    40 void adjustAndJumpToTarget(CCallHelpers&, const OSRExit&);
     64} } // namespace JSC::FTL
    4165
    42 } } // namespace JSC::DFG
     66#endif // ENABLE(FTL_JIT)
    4367
    44 #endif // ENABLE(DFG_JIT)
    45 
    46 #endif // DFGOSRExitCompilerCommon_h
    47 
Note: See TracChangeset for help on using the changeset viewer.