Changeset 158141 in webkit for trunk/Source/JavaScriptCore/bytecode/ExitKind.h
- Timestamp:
- Oct 28, 2013, 3:32:37 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/ExitKind.h
r156047 r158141 36 36 BadCache, // We exited because an inline cache was wrong. 37 37 BadWeakConstantCache, // We exited because a cache on a weak constant (usually a prototype) was wrong. 38 BadCacheWatchpoint, // Same as BadCache but from a watchpoint. 39 BadWeakConstantCacheWatchpoint, // Same as BadWeakConstantCache but from a watchpoint. 38 40 BadIndexingType, // We exited because an indexing type was wrong. 39 41 Overflow, // We exited because of overflow. … … 55 57 bool exitKindIsCountable(ExitKind); 56 58 59 inline bool isWatchpoint(ExitKind kind) 60 { 61 switch (kind) { 62 case BadCacheWatchpoint: 63 case BadWeakConstantCacheWatchpoint: 64 case UncountableWatchpoint: 65 return true; 66 default: 67 return false; 68 } 69 } 70 57 71 } // namespace JSC 58 72
Note:
See TracChangeset
for help on using the changeset viewer.