Changeset 140504 in webkit for trunk/Source/JavaScriptCore/dfg/DFGNodeFlags.h
- Timestamp:
- Jan 22, 2013, 9:35:23 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGNodeFlags.h
r137963 r140504 37 37 // Entries in the NodeType enum (below) are composed of an id, a result type (possibly none) 38 38 // and some additional informative flags (must generate, is constant, etc). 39 #define NodeResultMask 0x F39 #define NodeResultMask 0x7 40 40 #define NodeResultJS 0x1 41 41 #define NodeResultNumber 0x2 … … 44 44 #define NodeResultStorage 0x5 45 45 46 #define NodeMustGenerate 0x 10// set on nodes that have side effects, and may not trivially be removed by DCE.47 #define NodeHasVarArgs 0x 2048 #define NodeClobbersWorld 0x 4049 #define NodeMightClobber 0x 8046 #define NodeMustGenerate 0x08 // set on nodes that have side effects, and may not trivially be removed by DCE. 47 #define NodeHasVarArgs 0x10 48 #define NodeClobbersWorld 0x20 49 #define NodeMightClobber 0x40 50 50 51 #define NodeBehaviorMask 0x 30052 #define NodeMayOverflow 0x 10053 #define NodeMayNegZero 0x 20051 #define NodeBehaviorMask 0x180 52 #define NodeMayOverflow 0x080 53 #define NodeMayNegZero 0x100 54 54 55 #define NodeBackPropMask 0x 7C0055 #define NodeBackPropMask 0x3E00 56 56 #define NodeUseBottom 0x0000 57 #define NodeUsedAsNumber 0x400 // The result of this computation may be used in a context that observes fractional, or bigger-than-int32, results.58 #define NodeNeedsNegZero 0x800 // The result of this computation may be used in a context that observes -0.59 #define NodeUsedAsOther 0x 1000 // The result of this computation may be used in a context that distinguishes between NaN and other things (like undefined).57 #define NodeUsedAsNumber 0x0200 // The result of this computation may be used in a context that observes fractional, or bigger-than-int32, results. 58 #define NodeNeedsNegZero 0x0400 // The result of this computation may be used in a context that observes -0. 59 #define NodeUsedAsOther 0x0800 // The result of this computation may be used in a context that distinguishes between NaN and other things (like undefined). 60 60 #define NodeUsedAsValue (NodeUsedAsNumber | NodeNeedsNegZero | NodeUsedAsOther) 61 #define NodeUsedAsInt 0x 2000 // The result of this computation is known to be used in a context that prefers, but does not require, integer values.62 #define NodeUsedAsIntLocally 0x 4000 // Same as NodeUsedAsInt, but within the same basic block.61 #define NodeUsedAsInt 0x1000 // The result of this computation is known to be used in a context that prefers, but does not require, integer values. 62 #define NodeUsedAsIntLocally 0x2000 // Same as NodeUsedAsInt, but within the same basic block. 63 63 64 #define NodeDoesNotExit 0x8000 // This flag is negated to make it natural for the default to be that a node does exit. 64 #define NodeDoesNotExit 0x4000 // This flag is negated to make it natural for the default to be that a node does exit. 65 66 #define NodeRelevantToOSR 0x8000 65 67 66 68 typedef uint16_t NodeFlags;
Note:
See TracChangeset
for help on using the changeset viewer.