Changeset 92892 in webkit for trunk/Source/JavaScriptCore/dfg/DFGGenerationInfo.h
- Timestamp:
- Aug 11, 2011, 5:11:08 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGGenerationInfo.h
r91804 r92892 49 49 DataFormatJSCell = DataFormatJS | DataFormatCell, 50 50 }; 51 52 #ifndef NDEBUG 53 inline const char* dataFormatToString(DataFormat dataFormat) 54 { 55 switch (dataFormat) { 56 case DataFormatNone: 57 return "None"; 58 case DataFormatInteger: 59 return "Integer"; 60 case DataFormatDouble: 61 return "Double"; 62 case DataFormatCell: 63 return "Cell"; 64 case DataFormatJS: 65 return "JS"; 66 case DataFormatJSInteger: 67 return "JSInteger"; 68 case DataFormatJSDouble: 69 return "JSDouble"; 70 case DataFormatJSCell: 71 return "JSCell"; 72 default: 73 return "Unknown"; 74 } 75 } 76 #endif 51 77 52 78 inline bool needDataFormatConversion(DataFormat from, DataFormat to)
Note:
See TracChangeset
for help on using the changeset viewer.