Changeset 153121 in webkit for trunk/Source/JavaScriptCore/ftl/FTLExitValue.cpp
- Timestamp:
- Jul 24, 2013, 8:58:38 PM (12 years ago)
- Location:
- trunk/Source/JavaScriptCore/ftl
- Files:
-
- 1 added
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/ftl/FTLExitValue.cpp
r153120 r153121 24 24 */ 25 25 26 #i fndef DFGOSRExitCompilerCommon_h27 # define DFGOSRExitCompilerCommon_h26 #include "config.h" 27 #include "FTLExitValue.h" 28 28 29 #i nclude <wtf/Platform.h>29 #if ENABLE(FTL_JIT) 30 30 31 #i f ENABLE(DFG_JIT)31 #include "Operations.h" 32 32 33 #include "DFGCCallHelpers.h" 34 #include "DFGOSRExit.h" 33 namespace JSC { namespace FTL { 35 34 36 namespace JSC { namespace DFG { 35 void 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 } 37 63 38 void handleExitCounts(CCallHelpers&, const OSRExit&); 39 void reifyInlinedCallFrames(CCallHelpers&, const OSRExit&); 40 void adjustAndJumpToTarget(CCallHelpers&, const OSRExit&); 64 } } // namespace JSC::FTL 41 65 42 } } // namespace JSC::DFG 66 #endif // ENABLE(FTL_JIT) 43 67 44 #endif // ENABLE(DFG_JIT)45 46 #endif // DFGOSRExitCompilerCommon_h47
Note:
See TracChangeset
for help on using the changeset viewer.